llvm/lib/DebugInfo
Frederic Riss d2681e8812 [dwarfdump] Do not apply relocations in mach-o files if there is no LoadedObjectInfo.
Not only do we not need to do anything to read correct values from the
object files, but the current logic actually wrongly applies twice the
section base address when there is no LoadedObjectInfo passed to the
DWARFContext creation (as the added test shows).

Simply do not apply any relocations on the mach-o debug info if there is
no load offset to apply.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245807 91177308-0d34-0410-b5e6-96231b3b80d8
2015-08-23 04:44:21 +00:00
..
DWARF [dwarfdump] Do not apply relocations in mach-o files if there is no LoadedObjectInfo. 2015-08-23 04:44:21 +00:00
PDB Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC) 2015-06-23 09:49:53 +00:00
CMakeLists.txt Resubmit unittests for DebugInfoPDB. 2015-02-07 01:47:14 +00:00
LLVMBuild.txt Resubmit "Create lib/DebugInfo/PDB" (r228428) 2015-02-06 20:30:52 +00:00
Makefile Try to fix Makefile build for LLVMDebugInfoPDB. 2015-02-06 20:42:03 +00:00