summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Section.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2017-08-25 13:56:14 +0000
committerTamas Berghammer <tberghammer@google.com>2017-08-25 13:56:14 +0000
commit963ce483b8b36572272ec37bdc6ec523290bf842 (patch)
treec753a91eef30f0f0cca1ca1c5e797d432c79d060 /lldb/source/Core/Section.cpp
parentc0a6aab6b655587e2d1c564a17fadfb55fd47f75 (diff)
downloadbcm5719-llvm-963ce483b8b36572272ec37bdc6ec523290bf842.tar.gz
bcm5719-llvm-963ce483b8b36572272ec37bdc6ec523290bf842.zip
Add support for the DWP debug info format
Summary: The DWP (DWARF package) format is used to pack multiple dwo files generated by split-dwarf into a single ELF file to make distributing them easier. It is part of the DWARFv5 spec and can be generated by dwp or llvm-dwp from a set of dwo files. Caviats: * Only the new version of the dwp format is supported (v2 in GNU numbering schema and v5 in the DWARF spec). The old version (v1) is already deprecated but binutils 2.24 still generates that one. * Combining DWP files with module debugging is not yet supported. Subscribers: emaste, mgorny, aprantl Differential Revision: https://reviews.llvm.org/D36062 llvm-svn: 311775
Diffstat (limited to 'lldb/source/Core/Section.cpp')
-rw-r--r--lldb/source/Core/Section.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/source/Core/Section.cpp b/lldb/source/Core/Section.cpp
index 3b76dd361ff..2ea497eba56 100644
--- a/lldb/source/Core/Section.cpp
+++ b/lldb/source/Core/Section.cpp
@@ -65,6 +65,8 @@ static const char *GetSectionTypeAsCString(lldb::SectionType sect_type) {
return "dwarf-addr";
case eSectionTypeDWARFDebugAranges:
return "dwarf-aranges";
+ case eSectionTypeDWARFDebugCuIndex:
+ return "dwarf-cu-index";
case eSectionTypeDWARFDebugFrame:
return "dwarf-frame";
case eSectionTypeDWARFDebugInfo:
OpenPOWER on IntegriCloud