OSDN Git Service
(root)
/
android-x86
/
external-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
c872840
..
86a3688
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);