mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[ThinLTO] Fix bot failures from r333335
Change value in vector from StringRef to std::string to avoid errors when trying to initialize from a std::string. llvm-svn: 333336
This commit is contained in:
parent
44e9da2985
commit
6db4b63df2
@ -2576,7 +2576,7 @@ void AssemblyWriter::printModuleSummaryIndex() {
|
||||
|
||||
// Print module path entries, using the module id as the slot number. To
|
||||
// print in order, add paths to a vector indexed by module id.
|
||||
std::vector<std::pair<StringRef, ModuleHash>> moduleVec;
|
||||
std::vector<std::pair<std::string, ModuleHash>> moduleVec;
|
||||
std::string RegularLTOModuleName = "[Regular LTO]";
|
||||
moduleVec.resize(TheIndex->modulePaths().size());
|
||||
for (auto &ModPath : TheIndex->modulePaths()) {
|
||||
|
Loading…
Reference in New Issue
Block a user