summaryrefslogtreecommitdiffstats
path: root/clang/test/Profile/c-generate.c
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-02-18 01:50:14 +0000
committerVedant Kumar <vsk@apple.com>2017-02-18 01:50:14 +0000
commita32c08d304c1bda06c7e503e5db98ac3ec6a07cb (patch)
tree1c0907cf4a394ad185869374d4c4da08249ccb65 /clang/test/Profile/c-generate.c
parentcab432d97d05816dd5820f902ebaa43cd07f94d3 (diff)
downloadbcm5719-llvm-a32c08d304c1bda06c7e503e5db98ac3ec6a07cb.tar.gz
bcm5719-llvm-a32c08d304c1bda06c7e503e5db98ac3ec6a07cb.zip
[profiling] Tighten test cases which refer to "profn" vars. NFC.
The frontend can't see "__profn" profile name variables after IRGen because llvm throws these away now. Tighten up some test cases which checked for the non-existence of those variables. llvm-svn: 295528
Diffstat (limited to 'clang/test/Profile/c-generate.c')
-rw-r--r--clang/test/Profile/c-generate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Profile/c-generate.c b/clang/test/Profile/c-generate.c
index 5e5b22e8c30..1e7a739e04e 100644
--- a/clang/test/Profile/c-generate.c
+++ b/clang/test/Profile/c-generate.c
@@ -5,7 +5,8 @@
//
// PROF-INSTR-PATH: constant [24 x i8] c"c-generate-test.profraw\00"
//
-// PROF-INSTR-NONE-NOT: @__profn_main
+// PROF-INSTR-NONE-NOT: __llvm_prf
+//
// PROF-INSTR-GARBAGE: invalid PGO instrumentor in argument '-fprofile-instrument=garbage'
int main(void) {
OpenPOWER on IntegriCloud