[llvm-commits] PATCH: exception-free bugpoint

Chris Lattner clattner at apple.com
Sun Apr 11 22:03:48 PDT 2010


Looks fine to me, please apply!  Thanks Nick!

On Apr 10, 2010, at 4:48 PM, Nick Lewycky wrote:

> LLVM is nearly exception-free, but we still have exceptions on in the VMCore because bugpoint uses them internally. Bugpoint uses them for things like stopping a bisection on the pass list when the code generator crashes and switches to debugging the codegen crash instead. (This means that bugpoint has functions taking function pointer parameters which in turn throw exceptions.)
> 
> This patch threads error return values and/or std::string pointers/references all over bugpoint to replicate the existing behaviour.
> 
> There is supposed to be absolutely no functionality change. I've tested this side-by-side with unmodified bugpoint and fixed all the problems I could find, but honestly I still don't trust this patch very much.
> 
> Please review!
> 
> Nick
> 
> <bugpoint-exceptionfree1.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list