[llvm] r346039 - [DWARF] Fix typo, .gnu_index -> .gdb_index
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 2 13:34:40 PDT 2018
Author: maskray
Date: Fri Nov 2 13:34:40 2018
New Revision: 346039
URL: http://llvm.org/viewvc/llvm-project?rev=346039&view=rev
Log:
[DWARF] Fix typo, .gnu_index -> .gdb_index
Modified:
llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp
llvm/trunk/test/DebugInfo/dwarfdump-dump-gdbindex.test
Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp?rev=346039&r1=346038&r2=346039&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFContext.cpp Fri Nov 2 13:34:40 2018
@@ -581,7 +581,7 @@ void DWARFContext::dump(
DObj->getStringDWOSection(), dwo_units(),
isLittleEndian(), getMaxDWOVersion());
- if (shouldDump(Explicit, ".gnu_index", DIDT_ID_GdbIndex,
+ if (shouldDump(Explicit, ".gdb_index", DIDT_ID_GdbIndex,
DObj->getGdbIndexSection())) {
getGdbIndex().dump(OS);
}
Modified: llvm/trunk/test/DebugInfo/dwarfdump-dump-gdbindex.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/dwarfdump-dump-gdbindex.test?rev=346039&r1=346038&r2=346039&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/dwarfdump-dump-gdbindex.test (original)
+++ llvm/trunk/test/DebugInfo/dwarfdump-dump-gdbindex.test Fri Nov 2 13:34:40 2018
@@ -10,7 +10,7 @@ RUN: llvm-dwarfdump -gdb-index %p/Inputs
; gcc version 5.3.1 20160413, GNU gold (GNU Binutils for Ubuntu 2.26) 1.11
; Info about gdb-index: https://sourceware.org/gdb/onlinedocs/gdb/Index-Section-Format.html
-; CHECK-LABEL: .gnu_index contents:
+; CHECK-LABEL: .gdb_index contents:
; CHECK: Version = 7
; CHECK: CU list offset = 0x18, has 2 entries:
More information about the llvm-commits
mailing list