[LLVMbugs] [Bug 17816] [-cxx-abi] Wrong class layout in the presence of vbtables/vftables

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 27 17:05:41 PST 2014


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Reid Kleckner <rnk at google.com> ---
Fixed in r202457:

*** Dumping AST Record Layout
   0 | struct F
   0 |   struct E (primary base)
   0 |     (E vftable pointer)
   4 |     (E vbtable pointer)
   8 |     int e
  12 |   struct D (base)
  12 |     (D vbtable pointer)
  16 |     int d
  20 |   int f
  24 |   struct C (virtual base)
  24 |     int c
  28 |   struct A (virtual base)
  28 |     int a
  32 |   struct B (virtual base)
  32 |     int b
     | [sizeof=36, align=4
     |  nvsize=24, nvalign=4]

-- 
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/20140228/7eecc8f4/attachment.html>


More information about the llvm-bugs mailing list