[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:52:44 PDT 2021


MaskRay added a comment.

Please place this in one of the `x86-64-tls-ld*.s` files. For ppc64 we use `ppc64-dtprel.s`



================
Comment at: lld/test/ELF/relocation-dyn-tls-debug-info.s:31
+.section .debug_info,"", at progbits
+.quad t2 at DTPOFF
+.quad t0 at DTPOFF
----------------
Two values should be sufficient.

You can use `.quad 0` or `.space` to add a gap if you think 0 as a value is too special.


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

https://reviews.llvm.org/D111436



More information about the llvm-commits mailing list