forked from OSchip/llvm-project
parent
c5feb5109e
commit
710c374dfe
|
@ -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();
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue