Fix a bug that a copy of a large vector was created. NFC.
llvm-svn: 331779
This commit is contained in:
parent
c29229a644
commit
2f9fa42892
|
@ -176,7 +176,7 @@ void BitcodeCompiler::add(BitcodeFile &F) {
|
|||
}
|
||||
|
||||
unsigned SymNum = 0;
|
||||
std::vector<Symbol *> Syms = F.getSymbols();
|
||||
ArrayRef<Symbol *> Syms = F.getSymbols();
|
||||
std::vector<lto::SymbolResolution> Resols(Syms.size());
|
||||
|
||||
bool IsExecutable = !Config->Shared && !Config->Relocatable;
|
||||
|
|
Loading…
Reference in New Issue