[LLVMbugs] [Bug 9197] derived virtual destructor not called

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 12 16:49:24 PST 2011


John McCall <rjmccall at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |rjmccall at apple.com
         Resolution|                            |FIXED

--- Comment #4 from John McCall <rjmccall at apple.com> 2011-02-12 18:49:23 CST ---
Taking the class out of the anonymous namespace gives the implicit destructor
weak linkage, which suppresses -mconstructor-aliases.

The bug is that the code which decides whether a base destructor variant can be
emitted as an alias for the destructor of a base class was not looking through
array types when inspecting the type of a field.  Fixed in r125447.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list