Hi Tanya, This is a follow-up to my previous patch r41999. It makes the conditional the same as that in AsmPrinter.cpp. Sorry about two patches. Late-night coding and all. ;-) Please apply also to the 2.1 branch pending approval.
Thanks! -bw On Sep 16, 2007, at 12:21 PM, Bill Wendling wrote: > Author: void > Date: Sun Sep 16 14:21:08 2007 > New Revision: 42008 > > URL: http://llvm.org/viewvc/llvm-project?rev=42008&view=rev > Log: > 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. > > > Modified: > llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp > > Modified: llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp > URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/ > X86AsmPrinter.cpp?rev=42008&r1=42007&r2=42008&view=diff > > ====================================================================== > ======== > --- llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp (original) > +++ llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp Sun Sep 16 14:21:08 > 2007 > @@ -352,7 +352,7 @@ > > 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(); > > > > _______________________________________________ > llvm-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits _______________________________________________ llvm-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
