diff options
Diffstat (limited to 'test/Profile/cxx-lambda.cpp')
-rw-r--r-- | test/Profile/cxx-lambda.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Profile/cxx-lambda.cpp b/test/Profile/cxx-lambda.cpp index 6c37a86..ebf7f4c 100644 --- a/test/Profile/cxx-lambda.cpp +++ b/test/Profile/cxx-lambda.cpp @@ -11,7 +11,7 @@ // PGOGEN: @[[LWC:__llvm_profile_counters__Z7lambdasv]] = hidden global [4 x i64] zeroinitializer // PGOGEN: @[[MAC:__llvm_profile_counters_main]] = hidden global [1 x i64] zeroinitializer -// LMBGEN: @[[LFC:"__llvm_profile_counters__ZZ7lambdasvENK3\$_0clEi"]] = internal global [3 x i64] zeroinitializer +// LMBGEN: @[[LFC:"__llvm_profile_counters_cxx-lambda.cpp:_ZZ7lambdasvENK3\$_0clEi"]] = internal global [3 x i64] zeroinitializer // PGOGEN-LABEL: define void @_Z7lambdasv() // PGOUSE-LABEL: define void @_Z7lambdasv() @@ -45,12 +45,12 @@ void lambdas() { if (i) {} } -// PGOUSE-DAG: ![[LW1]] = metadata !{metadata !"branch_weights", i32 2, i32 1} -// PGOUSE-DAG: ![[LW2]] = metadata !{metadata !"branch_weights", i32 11, i32 2} -// PGOUSE-DAG: ![[LW3]] = metadata !{metadata !"branch_weights", i32 2, i32 1} +// PGOUSE-DAG: ![[LW1]] = !{!"branch_weights", i32 2, i32 1} +// PGOUSE-DAG: ![[LW2]] = !{!"branch_weights", i32 11, i32 2} +// PGOUSE-DAG: ![[LW3]] = !{!"branch_weights", i32 2, i32 1} -// LMBUSE-DAG: ![[LF1]] = metadata !{metadata !"branch_weights", i32 10, i32 2} -// LMBUSE-DAG: ![[LF2]] = metadata !{metadata !"branch_weights", i32 10, i32 2} +// LMBUSE-DAG: ![[LF1]] = !{!"branch_weights", i32 10, i32 2} +// LMBUSE-DAG: ![[LF2]] = !{!"branch_weights", i32 10, i32 2} int main(int argc, const char *argv[]) { lambdas(); |