[PATCH] D55762: [llvm-dwarfdump] - Do not error out on R_X86_64_DTPOFF64/R_X86_64_DTPOFF32 relocations.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 17 05:02:11 PST 2018
grimar added a comment.
Note that if addends are involved, i.e. we have:
.quad tdata1 + 0x11 at DTPOFF
...
.long tdata2 + 0x22 at DTPOFF
Then GNU dwarfdump prints them:
LOCAL_SYMBOLS:
< 1><0x00000016> DW_TAG_variable
DW_AT_name X
DW_AT_type <0x00000000>
DW_AT_external yes(1)
DW_AT_location len 0x000a: 0e1100000000000000e0: DW_OP_const8u 17 DW_OP_GNU_push_tls_address
< 1><0x0000002a> DW_TAG_variable
DW_AT_name X
DW_AT_type <0x00000000>
DW_AT_external yes(1)
DW_AT_location len 0x0006: 0c22000000e0: DW_OP_const4u 34 DW_OP_GNU_push_tls_address
But llvm-dwarfdump don't. This might be a separate issue perhaps. I did not include addends into the test case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55762/new/
https://reviews.llvm.org/D55762
More information about the llvm-commits
mailing list