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:
118cd9d
)
Follow-up to patch r41999. Make the conditional that emits the personality stub
author
Bill Wendling
<isanbard@gmail.com>
Sun, 16 Sep 2007 19:21:08 +0000
(19:21 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Sun, 16 Sep 2007 19:21:08 +0000
(19:21 +0000)
match the conditional that turns on exception handling emittion in the asm
printer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42008
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86AsmPrinter.cpp
b/lib/Target/X86/X86AsmPrinter.cpp
index 7049cf190ba1252a5830378d1d024b189ef27471..85840495beda41cd7668873bd0f4430bed1a83a6 100644
(file)
--- a/
lib/Target/X86/X86AsmPrinter.cpp
+++ b/
lib/Target/X86/X86AsmPrinter.cpp
@@
-352,7
+352,7
@@
bool X86SharedAsmPrinter::doFinalization(Module &M) {
O << "\n";
- if (TAI->doesSupportExceptionHandling() && MMI) {
+ if (
ExceptionHandling &&
TAI->doesSupportExceptionHandling() && MMI) {
// Add the (possibly multiple) personalities to the set of global values.
const std::vector<Function *>& Personalities = MMI->getPersonalities();