[compiler-rt] 38e16e1 - Use -gdwarf-4 in compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 24 10:03:26 PST 2022
Author: Hans Wennborg
Date: 2022-01-24T19:03:08+01:00
New Revision: 38e16e1cebb891ad47b85727bf46f7dac6d7da94
URL: https://github.com/llvm/llvm-project/commit/38e16e1cebb891ad47b85727bf46f7dac6d7da94
DIFF: https://github.com/llvm/llvm-project/commit/38e16e1cebb891ad47b85727bf46f7dac6d7da94.diff
LOG: 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 https://github.com/llvm/llvm-project/issues/53387
Added:
Modified:
compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
Removed:
################################################################################
diff --git a/compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c b/compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
index c78614f28b11e..9aa24d72376ca 100644
--- a/compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
+++ b/compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c
@@ -1,7 +1,7 @@
// REQUIRES: zlib
// Value profiling is currently not supported in lightweight mode.
-// 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
+// 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
// RUN: env LLVM_PROFILE_FILE=%t.proflite %run %t
// RUN: llvm-profdata merge -o %t.profdata --debug-info=%t %t.proflite
More information about the llvm-commits
mailing list