[cfe-commits] PATCH: test/CodeGenObjC/2008-10-3-EhValue.m

John McCall rjmccall at apple.com
Mon Aug 27 10:30:14 PDT 2012


On Aug 27, 2012, at 8:03 AM, William J. Schmidt wrote:
> This test fails as written on powerpc64-unknown-linux-gnu, as follows:
> 
>   Block containing LandingPadInst must be jumped to only by the unwind edge of an invoke.
>   %5 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gnu_objc_personality_v0 to i8*)
> 
>       catch i8* getelementptr inbounds ([5 x i8]* @.class_name, i64 0, i64 0)
>       catch i8* null
> 
>   Broken module found, compilation aborted!
> 
> However, if I change the test case to use Objective-C exceptions instead
> of -fexceptions, the test passes.  I'm new here, but it seems to me to
> be a mis-specified test case.  Proposing the attached change.  Is this
> ok, or am I missing something?

It looks like it should be passing -fexceptions -fobjc-exceptions.  Does that work for you?

John.



More information about the cfe-commits mailing list