diff options
Diffstat (limited to 'llvm/tools/llvm-xray')
| -rw-r--r-- | llvm/tools/llvm-xray/xray-graph.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/llvm-xray/xray-graph.h b/llvm/tools/llvm-xray/xray-graph.h index dbd92a7893d..b09d2d0e70a 100644 --- a/llvm/tools/llvm-xray/xray-graph.h +++ b/llvm/tools/llvm-xray/xray-graph.h @@ -21,6 +21,7 @@ #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/SmallVector.h" #include "llvm/Support/raw_ostream.h" +#include "llvm/Support/Program.h" #include "llvm/XRay/Trace.h" #include "llvm/XRay/XRayRecord.h" @@ -78,7 +79,8 @@ private: /// graph. /// /// FIXME: Perhaps we can Build this into LatencyAccountant? or vise versa? - DenseMap<pid_t, SmallVector<FunctionAttr, 4>> PerThreadFunctionStack; + DenseMap<llvm::sys::ProcessInfo::ProcessId, SmallVector<FunctionAttr, 4>> + PerThreadFunctionStack; /// Usefull object for getting human readable Symbol Names. FuncIdConversionHelper &FuncIdHelper; |

