[DWARFLinker][Reland] Handle DW_OP_GNU_push_tls_address while check for variable...
authorAlexey Lapshin <a.v.lapshin@mail.ru>
Thu, 15 Jun 2023 08:23:41 +0000 (10:23 +0200)
committerAlexey Lapshin <a.v.lapshin@mail.ru>
Fri, 16 Jun 2023 10:02:52 +0000 (12:02 +0200)
commitf9f92f13f62a95aa425f393c6abb36f90dd5e0f6
tree0bb2cfe09610495879e7e913f759d245c7a2ae2c
parent65305aeab99ad8ea09dd85e28a41c657152a08fb
[DWARFLinker][Reland] Handle DW_OP_GNU_push_tls_address while check for variable location.

The D147066 changed the way how DWARF location expressions are handled.
Now expressions are parsed and their operands are analysed. New handling
misses the DW_OP_GNU_push_tls_address extention. This patch adds handling
DW_OP_GNU_push_tls_address while checking for addresses.

Differential Revision: https://reviews.llvm.org/D153010
llvm/lib/DWARFLinker/DWARFLinker.cpp
llvm/test/tools/dsymutil/X86/tls-variable.test [new file with mode: 0644]