summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/test/Profile/Inputs/c-general.profdata.v3bin0 -> 2192 bytes
-rw-r--r--clang/test/Profile/c-general.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Profile/Inputs/c-general.profdata.v3 b/clang/test/Profile/Inputs/c-general.profdata.v3
new file mode 100644
index 00000000000..06545f9dba2
--- /dev/null
+++ b/clang/test/Profile/Inputs/c-general.profdata.v3
Binary files differ
diff --git a/clang/test/Profile/c-general.c b/clang/test/Profile/c-general.c
index 4e123ae4ef9..1829b0a7b09 100644
--- a/clang/test/Profile/c-general.c
+++ b/clang/test/Profile/c-general.c
@@ -4,7 +4,7 @@
// RUN: llvm-profdata merge %S/Inputs/c-general.proftext -o %t.profdata
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name c-general.c %s -o - -emit-llvm -fprofile-instr-use=%t.profdata | FileCheck -check-prefix=PGOUSE %s
-
+// RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name c-general.c %s -o - -emit-llvm -fprofile-instr-use=%S/Inputs/c-general.profdata.v3 | FileCheck -check-prefix=PGOUSE %s
// Also check compatibility with older profiles.
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name c-general.c %s -o - -emit-llvm -fprofile-instr-use=%S/Inputs/c-general.profdata.v1 | FileCheck -check-prefix=PGOUSE %s
OpenPOWER on IntegriCloud