[llvm] [BOLT] Fix DWARF4/5 file index handling in debug info functions (PR #151401)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 25 11:01:36 PDT 2025


================
@@ -0,0 +1,20 @@
+// Check that BOLT correctly handles two CUs with DWARF-5 debug info (does not crash).
+
+// REQUIRES: system-linux
+
+// RUN: %clang -g -gdwarf-5 -O1 -xc++ %s -o %t-main.o -c
----------------
ayermolo wrote:

See if Inputs/dwarf5_main.s and Inputs/dwarf5_helper.s
can be re-used.

https://github.com/llvm/llvm-project/pull/151401


More information about the llvm-commits mailing list