Skip to content
  • John McCall's avatar
    When emitting complete destructors for classes with virtual bases, compute · 6ce74722
    John McCall authored
    the offset to the virtual bases statically inside of relying on the virtual
    base offsets in the object's vtable(s).  This is both more efficient and
    sound against the destructor's manipulation of the vtables.
    
    Also extract a few helper routines.
    
    Oh and we seem to pass all tests with an optimized clang now.
    
    llvm-svn: 96327
    6ce74722
Loading