diff options
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 2 | ||||
-rw-r--r-- | llvm/test/DebugInfo/dwarfdump-dump-gdbindex.test | 2 |
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: |