]> granicus.if.org Git - clang/commit
Check in the beginnings of my new vtable layout builder idea.
authorAnders Carlsson <andersca@mac.com>
Thu, 11 Feb 2010 08:02:13 +0000 (08:02 +0000)
committerAnders Carlsson <andersca@mac.com>
Thu, 11 Feb 2010 08:02:13 +0000 (08:02 +0000)
commit824d7ea07a4e9208925daa6ae9289fb2b39bce9f
tree444bccfaa07f36ab4acb18db0aa50de494b0d6a8
parent020a095de30ede5b1e3fc65dae501f225a1c89d3
Check in the beginnings of my new vtable layout builder idea.

Right now, it's off by default but can be tested by passing -fdump-vtable-layouts to clang -cc1. This option will cause all vtables that will normally be emitted as part of codegen to also be dumped using the new layout code.

I've also added a very simple new vtable layout test case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95865 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/LangOptions.h
include/clang/Driver/CC1Options.td
lib/CodeGen/CGVtable.cpp
lib/Frontend/CompilerInvocation.cpp
test/CodeGenCXX/vtable-layout.cpp [new file with mode: 0644]