[llvm-commits] [llvm] r49006 - in /llvm/trunk/lib: CodeGen/DwarfWriter.cpp CodeGen/LLVMTargetMachine.cpp CodeGen/SelectionDAG/SelectionDAGISel.cpp Target/PowerPC/PPCAsmPrinter.cpp Target/PowerPC/PPCRegisterInfo.cpp Target/X86/X86AsmPrinter.cpp Target/X86/X86RegisterInfo.cpp Transforms/Utils/LowerInvoke.cpp
Dale Johannesen
dalej at apple.com
Tue Apr 1 10:49:27 PDT 2008
On Apr 1, 2008, at 10:40 AM, Chris Lattner wrote:
>>
>> Hmm. llvm-gcc does not, in fact, mark foo() as nounwind.
>
> In this case, that is because baz() could throw. Try:
>
> int foo() {
> try {
> bar();
> } catch(...) {
> return 17
> }
> return 42;
> }
llvm-gcc still does not mark foo as nounwind.
More information about the llvm-commits
mailing list