[lld] [LLD] Tombstone LocalTU entry in .debug_names (PR #70701)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 14:40:42 PST 2023


================
@@ -0,0 +1,97 @@
+# REQUIRES: x86
+
+# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux --defsym DWARF32=1 %s -o %t.o
+# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux --defsym DWARF32=1 %s -o %t1.o
----------------
MaskRay wrote:

You can do `ld.lld %t.o %t.o`.

`-triple=x86_64` since there is no Linux specific stuff. We omit the OS to essentially say the test is generic to all ELF OSes.

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


More information about the llvm-commits mailing list