summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-11-02 20:34:40 +0000
committerFangrui Song <maskray@google.com>2018-11-02 20:34:40 +0000
commit999570a2f4b34da831d18dac648d8135d9ceb22a (patch)
treee555f149725e6688df445c80ed77ab983ff7e2bf /llvm
parent8deda5fbd870facdc010fa6b0d6d51759d0f443b (diff)
downloadbcm5719-llvm-999570a2f4b34da831d18dac648d8135d9ceb22a.tar.gz
bcm5719-llvm-999570a2f4b34da831d18dac648d8135d9ceb22a.zip
[DWARF] Fix typo, .gnu_index -> .gdb_index
llvm-svn: 346039
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFContext.cpp2
-rw-r--r--llvm/test/DebugInfo/dwarfdump-dump-gdbindex.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
index a29c9c2f160..00e37d7b7c5 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
@@ -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);
}
diff --git a/llvm/test/DebugInfo/dwarfdump-dump-gdbindex.test b/llvm/test/DebugInfo/dwarfdump-dump-gdbindex.test
index cd5cd132d5d..2ff13eb4cf0 100644
--- a/llvm/test/DebugInfo/dwarfdump-dump-gdbindex.test
+++ b/llvm/test/DebugInfo/dwarfdump-dump-gdbindex.test
@@ -10,7 +10,7 @@ RUN: llvm-dwarfdump -gdb-index %p/Inputs/dwarfdump-gdbindex-v7.elf-x86-64 | File
; 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:
OpenPOWER on IntegriCloud