Add support for dumping DW_LNE_set_discriminator line table extended entries.

llvm-svn: 204369
This commit is contained in:
Greg Clayton 2014-03-20 18:31:11 +00:00
parent c3ea5654f9
commit f587f8ec9a
1 changed files with 7 additions and 1 deletions

View File

@ -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