[Lldb-commits] [lldb] r204369 - Add support for dumping DW_LNE_set_discriminator line table extended entries.
Greg Clayton
gclayton at apple.com
Thu Mar 20 11:31:11 PDT 2014
Author: gclayton
Date: Thu Mar 20 13:31:11 2014
New Revision: 204369
URL: http://llvm.org/viewvc/llvm-project?rev=204369&view=rev
Log:
Add support for dumping DW_LNE_set_discriminator line table extended entries.
Modified:
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
Modified: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp?rev=204369&r1=204368&r2=204369&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp (original)
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp Thu Mar 20 13:31:11 2014
@@ -256,7 +256,13 @@ DWARFDebugLine::DumpStatementOpcodes(Log
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
More information about the lldb-commits
mailing list