diff options
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp')
| -rw-r--r-- | llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp b/llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp index b836c795187..875f5e9989a 100644 --- a/llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp @@ -622,16 +622,6 @@ DWARFDebugNames::NameIndex::getEntry(uint64_t *Offset) const { return std::move(E); } -// A temporarily method to preserve compatibility with existing code. -// Will be removed when the migration to 64-bit offsets is finished. -Expected<DWARFDebugNames::Entry> -DWARFDebugNames::NameIndex::getEntry(uint32_t *Offset) const { - uint64_t Offset64 = *Offset; - auto Result = getEntry(&Offset64); - *Offset = Offset64; - return Result; -} - DWARFDebugNames::NameTableEntry DWARFDebugNames::NameIndex::getNameTableEntry(uint32_t Index) const { assert(0 < Index && Index <= Hdr.NameCount); |

