[all-commits] [llvm/llvm-project] c965ff: [llvm-dwarfutil][DWARFv5] fix reading of DW_FORM_a...
avl-llvm via All-commits
all-commits at lists.llvm.org
Fri Sep 23 00:20:44 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c965ffa1ed9346f058280f8444b1d2792491bd30
https://github.com/llvm/llvm-project/commit/c965ffa1ed9346f058280f8444b1d2792491bd30
Author: Alexey Lapshin <a.v.lapshin at mail.ru>
Date: 2022-09-23 (Fri, 23 Sep 2022)
Changed paths:
A llvm/test/tools/llvm-dwarfutil/ELF/X86/dwarf5-addrx.test
M llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp
Log Message:
-----------
[llvm-dwarfutil][DWARFv5] fix reading of DW_FORM_addrx attribute.
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.
Differential Revision: https://reviews.llvm.org/D133324
More information about the All-commits
mailing list