mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Follow-up to patch r41999. Make the conditional that emits the personality stub
match the conditional that turns on exception handling emittion in the asm printer. llvm-svn: 42008
This commit is contained in:
parent
78628a9108
commit
f1335f46d4
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user