summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorRussell Gallop <russell.gallop@sony.com>2019-12-02 13:10:44 +0000
committerRussell Gallop <russell.gallop@sony.com>2019-12-03 13:04:27 +0000
commitaedeab7f85caaa0946152e5d73e37455267019bb (patch)
tree44d0d31aa30284d7a4d869f6c553b06828dfb783 /clang/test
parent7caa17caf8e290fb865ac81470da737056ab0ace (diff)
downloadbcm5719-llvm-aedeab7f85caaa0946152e5d73e37455267019bb.tar.gz
bcm5719-llvm-aedeab7f85caaa0946152e5d73e37455267019bb.zip
[Support] Add ProcName to TimeTraceProfiler
This was hard-coded to "clang". This change allows it to to be used on processes other than clang (such as lld). This gets reported as clang-10 on Linux and clang.exe on Windows so adapted test to accommodate this. Differential Revision: https://reviews.llvm.org/D70950
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Driver/check-time-trace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/check-time-trace.cpp b/clang/test/Driver/check-time-trace.cpp
index 3c6a002ae8a..bff2c1984da 100644
--- a/clang/test/Driver/check-time-trace.cpp
+++ b/clang/test/Driver/check-time-trace.cpp
@@ -12,7 +12,7 @@
// CHECK-NEXT: "pid":
// CHECK-NEXT: "tid":
// CHECK-NEXT: "ts":
-// CHECK: "name": "clang"
+// CHECK: "name": "clang{{.*}}"
// CHECK: "name": "process_name"
template <typename T>
OpenPOWER on IntegriCloud