projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6945ef3
)
Reference the personalities. Don't copy them into a new vector.
author
Bill Wendling
<isanbard@gmail.com>
Sun, 1 Aug 2010 01:34:21 +0000
(
01:34
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Sun, 1 Aug 2010 01:34:21 +0000
(
01:34
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109966
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfException.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfException.cpp
b/lib/CodeGen/AsmPrinter/DwarfException.cpp
index c87284083cdedff8e8a09724fc1c17c2bebad0e6..86a368831e0e2762fd11ac8a9abf008b45b94b5a 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfException.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfException.cpp
@@
-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);