diff options
author | Xinliang David Li <davidxl@google.com> | 2016-07-21 23:19:18 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-07-21 23:19:18 +0000 |
commit | e953933a9fa551260145e3a4d6f3c5af9e2570f0 (patch) | |
tree | 01830cf6acf9d266d609b6e38c37a93a6d0bb01b /compiler-rt/test/profile/instrprof-override-filename-then-reset-default.c | |
parent | 6f8c504f10e738f5cf73cb4575c81598598dc002 (diff) | |
download | bcm5719-llvm-e953933a9fa551260145e3a4d6f3c5af9e2570f0.tar.gz bcm5719-llvm-e953933a9fa551260145e3a4d6f3c5af9e2570f0.zip |
[Profile] deprecate __llvm_profile_override_default_filename (part2)
This eliminates unncessary calls and init functions.
Differential Revision: http://reviews.llvm.org/D22614
llvm-svn: 276355
Diffstat (limited to 'compiler-rt/test/profile/instrprof-override-filename-then-reset-default.c')
-rw-r--r-- | compiler-rt/test/profile/instrprof-override-filename-then-reset-default.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/profile/instrprof-override-filename-then-reset-default.c b/compiler-rt/test/profile/instrprof-override-filename-then-reset-default.c index 137a3b2f229..3438227213e 100644 --- a/compiler-rt/test/profile/instrprof-override-filename-then-reset-default.c +++ b/compiler-rt/test/profile/instrprof-override-filename-then-reset-default.c @@ -7,13 +7,13 @@ // RUN: %clang_profuse=%t.d/default.profdata -o - -S -emit-llvm %s | FileCheck %s -void __llvm_profile_override_default_filename(const char *); +void __llvm_profile_set_filename(const char *); int main(int argc, const char *argv[]) { // CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[PD1:[0-9]+]] if (argc < 2) return 1; - __llvm_profile_override_default_filename(argv[1]); - __llvm_profile_override_default_filename(0); + __llvm_profile_set_filename(argv[1]); + __llvm_profile_set_filename(0); return 0; } // CHECK: ![[PD1]] = !{!"branch_weights", i32 1, i32 2} |