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

William J. Schmidt wschmidt at linux.vnet.ibm.com
Mon Aug 27 08:03:15 PDT 2012


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?

I haven't yet requested commit authority, so I would appreciate someone
committing this for me if you agree with the change.

Thanks!
Bill

-- 
Bill Schmidt, Ph.D.
IBM Advance Toolchain for PowerLinux
IBM Linux Technology Center
wschmidt at us.ibm.com
wschmidt at linux.vnet.ibm.com





-------------- next part --------------
A non-text attachment was scrubbed...
Name: objc-2012-08-27.patch
Type: text/x-patch
Size: 400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120827/a661f131/attachment.bin>


More information about the cfe-commits mailing list