aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2012-11-27 01:40:36 +0000
committerEric Christopher <echristo@gmail.com>2012-11-27 01:40:36 +0000
commiteb6363adf05b65b0ec079ad7cbcb871acdb60a8c (patch)
tree7811b63062f19b524d511d76fb82ed3ec6b26c16
parentb709f9fe5a578e05c371ff58771b9d1582ff259f (diff)
downloadexternal_llvm-eb6363adf05b65b0ec079ad7cbcb871acdb60a8c.zip
external_llvm-eb6363adf05b65b0ec079ad7cbcb871acdb60a8c.tar.gz
external_llvm-eb6363adf05b65b0ec079ad7cbcb871acdb60a8c.tar.bz2
The section is .debug_line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168666 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/DebugInfo/DWARFContext.cpp2
-rw-r--r--test/MC/MachO/gen-dwarf.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/DebugInfo/DWARFContext.cpp b/lib/DebugInfo/DWARFContext.cpp
index 5fa6534..91ed2d2 100644
--- a/lib/DebugInfo/DWARFContext.cpp
+++ b/lib/DebugInfo/DWARFContext.cpp
@@ -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();
diff --git a/test/MC/MachO/gen-dwarf.s b/test/MC/MachO/gen-dwarf.s
index 4fbc32d..cf2d1db 100644
--- a/test/MC/MachO/gen-dwarf.s
+++ b/test/MC/MachO/gen-dwarf.s
@@ -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