[lld] [llvm] [Symbolizer] Support for Missing Line Numbers. (PR #82240)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri May 17 00:49:14 PDT 2024


================
@@ -0,0 +1,261 @@
+# REQUIRES: x86-registered-target
+
+# RUN: clang -O3 -gline-tables-only -T%S/linker-script.ld --target=x86_64-pc-linux %s -o %t.o
----------------
jh7370 wrote:

I've not really had the time to review this, as I have too much else on my plate, but have you considered whether yaml2obj would achieve your goal for hand crafting a .debug_line section? There are some examples under llvm/test/yaml2obj/ELF/DWARF/debug-line.yaml of how the format works.

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


More information about the llvm-commits mailing list