mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-05 11:57:07 +00:00
Reference the personalities. Don't copy them into a new vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109966 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6945ef380c
commit
57dba1cf53
@ -894,7 +894,7 @@ void DwarfException::EndModule() {
|
||||
if (!shouldEmitMovesModule && !shouldEmitTableModule)
|
||||
return;
|
||||
|
||||
const std::vector<const Function *> Personalities = MMI->getPersonalities();
|
||||
const std::vector<const Function*> &Personalities = MMI->getPersonalities();
|
||||
|
||||
for (unsigned I = 0, E = Personalities.size(); I < E; ++I)
|
||||
EmitCIE(Personalities[I], I);
|
||||
|
Loading…
x
Reference in New Issue
Block a user