summaryrefslogtreecommitdiffstats
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
commit710c374dfe7b37efa57848916c3e57c5e2007631 (patch)
treeb56fa6218fe3b5212db0a765f2097051a620f558
parentc5feb5109e671caa5e7eeac4e0ffd04bd5979359 (diff)
downloadbcm5719-llvm-710c374dfe7b37efa57848916c3e57c5e2007631.tar.gz
bcm5719-llvm-710c374dfe7b37efa57848916c3e57c5e2007631.zip
The section is .debug_line.
llvm-svn: 168666
-rw-r--r--llvm/lib/DebugInfo/DWARFContext.cpp2
-rw-r--r--llvm/test/MC/MachO/gen-dwarf.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARFContext.cpp
index 5fa65340671..91ed2d22abf 100644
--- a/llvm/lib/DebugInfo/DWARFContext.cpp
+++ b/llvm/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/llvm/test/MC/MachO/gen-dwarf.s b/llvm/test/MC/MachO/gen-dwarf.s
index 4fbc32d295b..cf2d1db133d 100644
--- a/llvm/test/MC/MachO/gen-dwarf.s
+++ b/llvm/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
OpenPOWER on IntegriCloud