diff options
Diffstat (limited to 'lld/ELF/SyntheticSections.cpp')
-rw-r--r-- | lld/ELF/SyntheticSections.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp index cc470338ed7..bab6a8ab89e 100644 --- a/lld/ELF/SyntheticSections.cpp +++ b/lld/ELF/SyntheticSections.cpp @@ -2505,8 +2505,8 @@ template <class ELFT> static std::vector<GdbIndexSection::NameAttrEntry> readPubNamesAndTypes(const LLDDwarfObj<ELFT> &obj, const std::vector<GdbIndexSection::CuEntry> &cUs) { - const DWARFSection &pubNames = obj.getGnuPubNamesSection(); - const DWARFSection &pubTypes = obj.getGnuPubTypesSection(); + const DWARFSection &pubNames = obj.getGnuPubnamesSection(); + const DWARFSection &pubTypes = obj.getGnuPubtypesSection(); std::vector<GdbIndexSection::NameAttrEntry> ret; for (const DWARFSection *pub : {&pubNames, &pubTypes}) { |