mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
The section is .debug_line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168666 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b709f9fe5a
commit
eb6363adf0
@ -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
Block a user