[DWARFLinker] Handle DW_OP_GNU_push_tls_address while check for variable location.
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 08:57:57 +0000 (10:57 +0200)
commite89738451a3830d80fcf23554fd0b297bca60266
treeda15345ed672b6c4a93c07ad6c7372130301363f
parent3bd85cf7c208810c3370f2ea2a34ff7f32649577
[DWARFLinker] 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]