[LLVMbugs] [Bug 19057] New: assertion triggered when emitting clean up for objective c++ code without a virtual base class destructor with ARC

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 5 16:41:52 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=19057

            Bug ID: 19057
           Summary: assertion triggered when emitting clean up for
                    objective c++ code without a virtual base class
                    destructor with ARC
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: compnerd at compnerd.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12193
  --> http://llvm.org/bugs/attachment.cgi?id=12193&action=edit
destructor.mm

A clang assertion -- (!dtor->isTrivial()) -- is triggered when emitting the
EHScope cleanup for a derived class where the base class has a implicit trivial
destructor and the derived class has a Objective C type and the file is
compiled with ARC.

The attached test case is a reproduction of it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140306/19a5816f/attachment.html>


More information about the llvm-bugs mailing list