[PATCH] D111436: [ELF][test] Add testing for dynamic TLS relocations in .debug_info

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 8 09:54:13 PDT 2021


MaskRay added inline comments.


================
Comment at: lld/test/ELF/relocation-dyn-tls-debug-info.s:10
+
+# RUN: ld.lld --gc-sections -shared %t.o -o %t-gc
+# RUN: llvm-objdump -s --section=.debug_info %t-gc | FileCheck --check-prefix=GC %s
----------------
Drop `--gc-sections` from this test. It doesn't do anything special.

The property is tested in `debug-dead-reloc*` files.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111436/new/

https://reviews.llvm.org/D111436



More information about the llvm-commits mailing list