[Lldb-commits] [PATCH] D45628: [LLDB] Support compressed debug info sections (.zdebug*)
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Apr 13 14:46:46 PDT 2018
aprantl added a comment.
Thanks for clarifying. You'll also need to add a testcase. If clang supports this then I don't have a problem with supporting this in LLDB and adding a testcase should be easy.
Comment at: source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp:1893
sect_type = eSectionTypeDWARFDebugAbbrev;
- else if (name == g_sect_name_dwarf_debug_addr)
+ else if (name == g_sect_name_dwarf_debug_addr ||
+ name == g_sect_name_dwarf_zdebug_addr)
Could this entire device be replaced by a llvm::StringSwitch or something else more elegant?
More information about the lldb-commits