@@ -1746,11 +1746,11 @@ createBitcodeSymbol(Symbol *&sym, const std::vector<bool> &keptComdats,
17461746
17471747 if (!sym) {
17481748 // 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.
17501750 // Update objSym.Name to reference (via StringRef) the string saver's copy;
17511751 // this way LTO can reference the same string saver's copy rather than
17521752 // keeping copies of its own.
1753- objSym.Name = unique_saver ().save (objSym.getName ());
1753+ objSym.Name = uniqueSaver ().save (objSym.getName ());
17541754 sym = symtab.insert (objSym.getName ());
17551755 }
17561756
@@ -1804,11 +1804,11 @@ void BitcodeFile::parseLazy() {
18041804 symbols = std::make_unique<Symbol *[]>(numSymbols);
18051805 for (auto [i, irSym] : llvm::enumerate (obj->symbols ())) {
18061806 // 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.
18081808 // Update objSym.Name to reference (via StringRef) the string saver's copy;
18091809 // this way LTO can reference the same string saver's copy rather than
18101810 // keeping copies of its own.
1811- irSym.Name = unique_saver ().save (irSym.getName ());
1811+ irSym.Name = uniqueSaver ().save (irSym.getName ());
18121812 if (!irSym.isUndefined ()) {
18131813 auto *sym = symtab.insert (irSym.getName ());
18141814 sym->resolve (LazySymbol{*this });
0 commit comments