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

via llvm-commits llvm-commits at lists.llvm.org
Thu May 16 06:30:46 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
----------------
bd1976bris wrote:

I hope that we don't need compilation or linking. I would try hand-writing some asm to compile to an object file (via llvm-mc) with two sequences, with the second sequence having higher addresses than the first. I think this would allow testing the "sequence crossing disallowed" condition by using one of the higher addresses that wouldn't appear in the first sequence. Perhaps we could combine both test cases with this approach?

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


More information about the llvm-commits mailing list