summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRong Xu <xur@google.com>2019-08-02 07:21:50 +0000
committerRong Xu <xur@google.com>2019-08-02 07:21:50 +0000
commit206fe82be410ff8cc7619c89afdff6561275a015 (patch)
tree5e976fc664dfc84e4612ad89e8b29553f9c8db72
parentbcaeed49cb063de9fe504aa29e1cadff8a7be710 (diff)
downloadbcm5719-llvm-206fe82be410ff8cc7619c89afdff6561275a015.tar.gz
bcm5719-llvm-206fe82be410ff8cc7619c89afdff6561275a015.zip
[PGO] Fix bolt failures from r367628
Relaxed the check in a test because the windows bolt generates different profile variables. llvm-svn: 367657
-rw-r--r--clang/test/Profile/gcc-flag-compatibility.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Profile/gcc-flag-compatibility.c b/clang/test/Profile/gcc-flag-compatibility.c
index 58ecfc39197..a378af9d346 100644
--- a/clang/test/Profile/gcc-flag-compatibility.c
+++ b/clang/test/Profile/gcc-flag-compatibility.c
@@ -9,8 +9,8 @@
// RUN: %clang %s -c -S -o - -emit-llvm -fprofile-generate -fno-experimental-new-pass-manager | FileCheck -check-prefix=PROFILE-GEN %s
// RUN: %clang %s -c -S -o - -emit-llvm -fprofile-generate -fexperimental-new-pass-manager | FileCheck -check-prefix=PROFILE-GEN %s
-// PROFILE-GEN: @__profc_main = private global [2 x i64] zeroinitializer, section "__llvm_prf_cnts", align 8
-// PROFILE-GEN: @__profd_main = private global
+// PROFILE-GEN: @__profc_main = {{(private|internal)}} global [2 x i64] zeroinitializer, section
+// PROFILE-GEN: @__profd_main =
// Check that -fprofile-generate=/path/to generates /path/to/default.profraw
// RUN: %clang %s -c -S -o - -emit-llvm -fprofile-generate=/path/to -fno-experimental-new-pass-manager | FileCheck -check-prefixes=PROFILE-GEN,PROFILE-GEN-EQ %s
OpenPOWER on IntegriCloud