Skip to content

Commit 38e16e1

Browse files
committed
Use -gdwarf-4 in compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
otherwise the test fails after the recent DWARF 4 -> 5 default change, see llvm#53387
1 parent 57eb503 commit 38e16e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// REQUIRES: zlib
22

33
// Value profiling is currently not supported in lightweight mode.
4-
// RUN: %clang_pgogen -o %t -g -mllvm --debug-info-correlate -mllvm --disable-vp=true %S/../Inputs/instrprof-debug-info-correlate-main.cpp %S/../Inputs/instrprof-debug-info-correlate-foo.cpp
4+
// RUN: %clang_pgogen -o %t -g -gdwarf-4 -mllvm --debug-info-correlate -mllvm --disable-vp=true %S/../Inputs/instrprof-debug-info-correlate-main.cpp %S/../Inputs/instrprof-debug-info-correlate-foo.cpp
55
// RUN: env LLVM_PROFILE_FILE=%t.proflite %run %t
66
// RUN: llvm-profdata merge -o %t.profdata --debug-info=%t %t.proflite
77

0 commit comments

Comments
 (0)