diff options
| author | Xinliang David Li <davidxl@google.com> | 2015-12-14 23:26:46 +0000 |
|---|---|---|
| committer | Xinliang David Li <davidxl@google.com> | 2015-12-14 23:26:46 +0000 |
| commit | 8608513b6941c7de711693578d015f86a526b7c1 (patch) | |
| tree | c874691876352dd740b4101f0478c819b24bca28 /clang/test/CoverageMapping/unused_names.c | |
| parent | 081274797984da331db1373aecdb63de4ddca7e5 (diff) | |
| download | bcm5719-llvm-8608513b6941c7de711693578d015f86a526b7c1.tar.gz bcm5719-llvm-8608513b6941c7de711693578d015f86a526b7c1.zip | |
[PGO] Shorten profile symbol prefixes
(test case update)
Profile symbols have long prefixes which waste space and creating pressure for linker.
This patch shortens the prefixes to minimal length without losing verbosity.
Differential Revision: http://reviews.llvm.org/D15503
llvm-svn: 255576
Diffstat (limited to 'clang/test/CoverageMapping/unused_names.c')
| -rw-r--r-- | clang/test/CoverageMapping/unused_names.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CoverageMapping/unused_names.c b/clang/test/CoverageMapping/unused_names.c index 569218286d0..bdc44d4edf1 100644 --- a/clang/test/CoverageMapping/unused_names.c +++ b/clang/test/CoverageMapping/unused_names.c @@ -4,11 +4,11 @@ // Since foo is never emitted, there should not be a profile name for it. -// CHECK-DAG: @__llvm_profile_name_bar = {{.*}} [3 x i8] c"bar", section "{{.*}}__llvm_prf_names" -// CHECK-DAG: @__llvm_profile_name_baz = {{.*}} [3 x i8] c"baz", section "{{.*}}__llvm_prf_names" -// CHECK-DAG: @__llvm_profile_name_unused_names.c_qux = {{.*}} [18 x i8] c"unused_names.c:qux", section "{{.*}}__llvm_prf_names" +// CHECK-DAG: @__prf_nm_bar = {{.*}} [3 x i8] c"bar", section "{{.*}}__llvm_prf_names" +// CHECK-DAG: @__prf_nm_baz = {{.*}} [3 x i8] c"baz", section "{{.*}}__llvm_prf_names" +// CHECK-DAG: @__prf_nm_unused_names.c_qux = {{.*}} [18 x i8] c"unused_names.c:qux", section "{{.*}}__llvm_prf_names" -// SYSHEADER-NOT: @__llvm_profile_name_foo = +// SYSHEADER-NOT: @__prf_nm_foo = #ifdef IS_SYSHEADER |

