From c52f4a4684577633d29ae713ddd1efe8bc8d0376 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 17 Jan 2017 09:39:31 +0000 Subject: [PATCH] Remove pid_t usage from llvm-xray This type is not available on windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292206 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-xray/xray-graph.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/llvm-xray/xray-graph.h b/tools/llvm-xray/xray-graph.h index dbd92a7893d..b09d2d0e70a 100644 --- a/tools/llvm-xray/xray-graph.h +++ b/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> PerThreadFunctionStack; + DenseMap> + PerThreadFunctionStack; /// Usefull object for getting human readable Symbol Names. FuncIdConversionHelper &FuncIdHelper; -- 2.40.0