The section is .debug_line.

llvm-svn: 168666
This commit is contained in:
Eric Christopher 2012-11-27 01:40:36 +00:00
parent c5feb5109e
commit 710c374dfe
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ void DWARFContext::dump(raw_ostream &OS) {
set.dump(OS); set.dump(OS);
uint8_t savedAddressByteSize = 0; uint8_t savedAddressByteSize = 0;
OS << "\n.debug_lines contents:\n"; OS << "\n.debug_line contents:\n";
for (unsigned i = 0, e = getNumCompileUnits(); i != e; ++i) { for (unsigned i = 0, e = getNumCompileUnits(); i != e; ++i) {
DWARFCompileUnit *cu = getCompileUnitAtIndex(i); DWARFCompileUnit *cu = getCompileUnitAtIndex(i);
savedAddressByteSize = cu->getAddressByteSize(); savedAddressByteSize = cu->getAddressByteSize();

View File

@ -86,7 +86,7 @@ _x: .long 1
// CHECK: .debug_aranges contents: // CHECK: .debug_aranges contents:
// CHECK: Address Range Header: length = 0x0000001c, version = 0x0002, cu_offset = 0x00000000, addr_size = 0x04, seg_size = 0x00 // CHECK: Address Range Header: length = 0x0000001c, version = 0x0002, cu_offset = 0x00000000, addr_size = 0x04, seg_size = 0x00
// CHECK: .debug_lines contents: // CHECK: .debug_line contents:
// CHECK: Line table prologue: // CHECK: Line table prologue:
// We don't check the total_length as it includes lengths of temp paths // We don't check the total_length as it includes lengths of temp paths
// CHECK: version: 2 // CHECK: version: 2