[llvm] [BOLT][DWARF] Fix handling of debug_str_offsets (PR #75100)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 17:12:44 PST 2023


================
@@ -0,0 +1,66 @@
+# REQUIRES: system-linux
+
+# RUN: llvm-mc -dwarf-version=5 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf5_main.s -o %tmain.o
+# RUN: llvm-mc -dwarf-version=5 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf5_helper.s -o %thelper.o
+# RUN: %clang %cflags -dwarf-5 %tmain.o %thelper.o -o %t.exe -Wl,-q
----------------
MaskRay wrote:

Is it `-gdwarf-5` here ? :)

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


More information about the llvm-commits mailing list