OSDN Git Service

[DWARF] NFC: DWARFDataExtractor combines relocs with DataExtractor.
authorPaul Robinson <paul.robinson@sony.com>
Thu, 29 Jun 2017 16:52:08 +0000 (16:52 +0000)
committerPaul Robinson <paul.robinson@sony.com>
Thu, 29 Jun 2017 16:52:08 +0000 (16:52 +0000)
commit502fd5ddfab919c47c38b858f9df81c5c9bee950
tree951e678072699ecfcadf146a033c58a8522cb25d
parenta70a8a0aa7aba9190a6fdc60c1a7ddbbfd54a81f
[DWARF] NFC: DWARFDataExtractor combines relocs with DataExtractor.

Requires callers to directly associate relocations with a DataExtractor
used to read data from a DWARF section, which helps a callee not make
assumptions about which section it is reading.
This is the next step in reducing DWARFFormValue's dependence on DWARFUnit.

Differential Revision: https://reviews.llvm.org/D34704

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306699 91177308-0d34-0410-b5e6-96231b3b80d8
25 files changed:
include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h
include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h
include/llvm/DebugInfo/DWARF/DWARFContext.h
include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h [new file with mode: 0644]
include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
include/llvm/DebugInfo/DWARF/DWARFUnit.h
lib/DebugInfo/DWARF/CMakeLists.txt
lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp
lib/DebugInfo/DWARF/DWARFContext.cpp
lib/DebugInfo/DWARF/DWARFDataExtractor.cpp [new file with mode: 0644]
lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
lib/DebugInfo/DWARF/DWARFDie.cpp
lib/DebugInfo/DWARF/DWARFFormValue.cpp
lib/DebugInfo/DWARF/DWARFUnit.cpp
lib/DebugInfo/DWARF/DWARFVerifier.cpp
tools/dsymutil/DwarfLinker.cpp
unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp