summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-10-20 06:02:15 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-10-20 06:02:15 +0000
commit161dd3c186e480a4fd4ef8af395f5b0845ec9d5f (patch)
treea0a65f4cebe797cd411357e2c16995cc5f53db0d /llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
parent32e0a584f8ee86bca6714693dfdbb007d667119f (diff)
downloadbcm5719-llvm-161dd3c186e480a4fd4ef8af395f5b0845ec9d5f.tar.gz
bcm5719-llvm-161dd3c186e480a4fd4ef8af395f5b0845ec9d5f.zip
DebugInfo: Use debug_addr for non-dwo addresses in DWARF 5
Putting addresses in the address pool, even with non-fission, can reduce relocations - reusing the addresses from debug_info and debug_rnglists (the latter coming soon) llvm-svn: 344834
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
index 84e3c634f54..dfb913000a4 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp
@@ -69,7 +69,7 @@ void DWARFDebugRangeList::dump(raw_ostream &OS) const {
}
DWARFAddressRangesVector DWARFDebugRangeList::getAbsoluteRanges(
- llvm::Optional<BaseAddress> BaseAddr) const {
+ llvm::Optional<SectionedAddress> BaseAddr) const {
DWARFAddressRangesVector Res;
for (const RangeListEntry &RLE : Entries) {
if (RLE.isBaseAddressSelectionEntry(AddressSize)) {
OpenPOWER on IntegriCloud