@@ -1746,11 +1746,11 @@ createBitcodeSymbol(Symbol *&sym, const std::vector<bool> &keptComdats,
1746
1746
1747
1747
if (!sym) {
1748
1748
// Symbols can be duplicated in bitcode files because of '#include' and
1749
- // linkonce_odr. Use unique_saver to save symbol names for de-duplication.
1749
+ // linkonce_odr. Use uniqueSaver to save symbol names for de-duplication.
1750
1750
// Update objSym.Name to reference (via StringRef) the string saver's copy;
1751
1751
// this way LTO can reference the same string saver's copy rather than
1752
1752
// keeping copies of its own.
1753
- objSym.Name = unique_saver ().save (objSym.getName ());
1753
+ objSym.Name = uniqueSaver ().save (objSym.getName ());
1754
1754
sym = symtab.insert (objSym.getName ());
1755
1755
}
1756
1756
@@ -1804,11 +1804,11 @@ void BitcodeFile::parseLazy() {
1804
1804
symbols = std::make_unique<Symbol *[]>(numSymbols);
1805
1805
for (auto [i, irSym] : llvm::enumerate (obj->symbols ())) {
1806
1806
// Symbols can be duplicated in bitcode files because of '#include' and
1807
- // linkonce_odr. Use unique_saver to save symbol names for de-duplication.
1807
+ // linkonce_odr. Use uniqueSaver to save symbol names for de-duplication.
1808
1808
// Update objSym.Name to reference (via StringRef) the string saver's copy;
1809
1809
// this way LTO can reference the same string saver's copy rather than
1810
1810
// keeping copies of its own.
1811
- irSym.Name = unique_saver ().save (irSym.getName ());
1811
+ irSym.Name = uniqueSaver ().save (irSym.getName ());
1812
1812
if (!irSym.isUndefined ()) {
1813
1813
auto *sym = symtab.insert (irSym.getName ());
1814
1814
sym->resolve (LazySymbol{*this });
0 commit comments