diff options
author | Greg Clayton <gclayton@apple.com> | 2014-03-20 18:31:11 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2014-03-20 18:31:11 +0000 |
commit | f587f8ec9a4938b8c584ad9f66efe185ff94b151 (patch) | |
tree | b7851cbde80ce19b7eaf1e8211e04739f1fb823e /lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp | |
parent | c3ea5654f91f9bc2b627029cc8e53c3a39d4b2ff (diff) | |
download | bcm5719-llvm-f587f8ec9a4938b8c584ad9f66efe185ff94b151.tar.gz bcm5719-llvm-f587f8ec9a4938b8c584ad9f66efe185ff94b151.zip |
Add support for dumping DW_LNE_set_discriminator line table extended entries.
llvm-svn: 204369
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp')
-rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp index 0a2f1f74940..b0375d1ceb3 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp @@ -256,7 +256,13 @@ DWARFDebugLine::DumpStatementOpcodes(Log *log, const DWARFDataExtractor& debug_l prologue.file_names.push_back(fileEntry); } break; - + + case DW_LNE_set_discriminator: + { + uint64_t discriminator = debug_line_data.GetULEB128(&offset); + log->Printf( "0x%8.8x: DW_LNE_set_discriminator (0x%" PRIx64 ")", op_offset, discriminator); + } + break; default: log->Printf( "0x%8.8x: DW_LNE_??? (%2.2x) - Skipping unknown upcode", op_offset, opcode); // Length doesn't include the zero opcode byte or the length itself, but |