The section is .debug_line.
authorEric Christopher <echristo@gmail.com>
Tue, 27 Nov 2012 01:40:36 +0000 (01:40 +0000)
committerEric Christopher <echristo@gmail.com>
Tue, 27 Nov 2012 01:40:36 +0000 (01:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168666 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/DWARFContext.cpp
test/MC/MachO/gen-dwarf.s

index 5fa653406716d315346a17a98615ef1e537e9bb1..91ed2d22abf74cd5a3001de2db53ead8c5686311 100644 (file)
@@ -35,7 +35,7 @@ void DWARFContext::dump(raw_ostream &OS) {
     set.dump(OS);
 
   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) {
     DWARFCompileUnit *cu = getCompileUnitAtIndex(i);
     savedAddressByteSize = cu->getAddressByteSize();
index 4fbc32d295b71d76d585a3c76a2872c62cfeff9f..cf2d1db133d145570f6b358621a84a0d068ab28d 100644 (file)
@@ -86,7 +86,7 @@ _x:   .long 1
 // CHECK: .debug_aranges contents:
 // 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:
 // We don't check the total_length as it includes lengths of temp paths
 // CHECK:         version: 2