forked from OSchip/llvm-project
Add support for dumping DW_LNE_set_discriminator line table extended entries.
llvm-svn: 204369
This commit is contained in:
parent
c3ea5654f9
commit
f587f8ec9a
|
@ -257,6 +257,12 @@ DWARFDebugLine::DumpStatementOpcodes(Log *log, const DWARFDataExtractor& debug_l
|
|||
}
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue