mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-23 20:44:51 +00:00
6ffaaaaee1
I found this when investigated "Bug 32319 - .gdb_index is broken/incomplete" for LLD. When we have object file with .debug_ranges section it may be filled with zeroes. Relocations are exist in file to relocate this zeroes into real values later, but until that a pair of zeroes is treated as terminator. And DWARF parser thinks there is no ranges at all when I am trying to collect address ranges for building .gdb_index. Solution implemented in this patch is to take relocations in account when parsing ranges. Differential revision: https://reviews.llvm.org/D32228 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301170 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
BinaryHolder.cpp | ||
BinaryHolder.h | ||
CMakeLists.txt | ||
DebugMap.cpp | ||
DebugMap.h | ||
dsymutil.cpp | ||
dsymutil.h | ||
DwarfLinker.cpp | ||
LLVMBuild.txt | ||
MachODebugMapParser.cpp | ||
MachOUtils.cpp | ||
MachOUtils.h | ||
NonRelocatableStringpool.h |