[lld] [lld][ELF] Implement merged .debug_names section. (PR #86508)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 26 22:17:37 PDT 2024


================
@@ -0,0 +1,153 @@
+# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64 %s -o %t1.o
+#
+# RUN: not ld.lld --debug-names %t1.o -o /dev/null 2>&1 | FileCheck %s
+#
+# CHECK: error: {{.*}}:(.debug_names): encountered unexpected end of section while reading entry
----------------
MaskRay wrote:

You can probably spend some time on existing tests. https://llvm.org/docs/TestingGuide.html#extra-files `#--- ` serves as a separtor.

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


More information about the llvm-commits mailing list