diff options
author | Pavel Labath <pavel@labath.sk> | 2019-12-23 16:31:36 +0100 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2020-01-14 15:19:29 +0100 |
commit | 4b5bc38802dcc7d2c6d7f5af1eca1755bd0fd9cb (patch) | |
tree | eebb48f4226cdb36d524868ae534c408780b1f78 /lldb/source/Core | |
parent | e1f524ea43f920767259c47e201405091d7e76fd (diff) | |
download | bcm5719-llvm-4b5bc38802dcc7d2c6d7f5af1eca1755bd0fd9cb.tar.gz bcm5719-llvm-4b5bc38802dcc7d2c6d7f5af1eca1755bd0fd9cb.zip |
[lldb/DWARF] Move location list sections into DWARFContext
These are the last sections not managed by the DWARFContext object. I
also introduce separate SectionType enums for dwo section variants, as
this is necessary for proper handling of single-file split dwarf.
Diffstat (limited to 'lldb/source/Core')
-rw-r--r-- | lldb/source/Core/Section.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Core/Section.cpp b/lldb/source/Core/Section.cpp index b1d7eee108b..1697f1f7a5d 100644 --- a/lldb/source/Core/Section.cpp +++ b/lldb/source/Core/Section.cpp @@ -80,8 +80,12 @@ const char *Section::GetTypeAsCString() const { return "dwarf-line-str"; case eSectionTypeDWARFDebugLoc: return "dwarf-loc"; + case eSectionTypeDWARFDebugLocDwo: + return "dwarf-loc-dwo"; case eSectionTypeDWARFDebugLocLists: return "dwarf-loclists"; + case eSectionTypeDWARFDebugLocListsDwo: + return "dwarf-loclists-dwo"; case eSectionTypeDWARFDebugMacInfo: return "dwarf-macinfo"; case eSectionTypeDWARFDebugMacro: |