[PATCH] D133324: [llvm-dwarfutil][DWARFv5] fix reading of DW_FORM_addrx attribute.
Alexey Lapshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 5 09:30:34 PDT 2022
avl created this revision.
avl added reviewers: aprantl, JDevlieghere, clayborg.
Herald added a subscriber: emaste.
Herald added a project: All.
avl requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.
llvm::dwarfutil::ObjFileAddressMap::relocateIndexedAddr() does not
read address value. The relocateIndexedAddr() should not relocate
the address as the linked binary has already resolved relocations.
But it should read the value. This patch adds the reading value
of the address.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D133324
Files:
llvm/test/tools/llvm-dwarfutil/ELF/X86/Inputs/dwarf5-addrx.out
llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf5-addrx.test
llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133324.458031.patch
Type: text/x-patch
Size: 5758 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220905/0279b709/attachment.bin>
More information about the llvm-commits
mailing list