[PATCH] [ms-cxxabi] Move VBTableBuilder from CodeGen over to AST/VTableBuilder.cpp

Reid Kleckner rnk at google.com
Thu Jan 2 14:28:18 PST 2014


Hi majnemer,

No functionality change.

This code should live here long-term because we should be able to use it
to compute correct vftable names.

It turns out that the most natural way to implement the naming algorithm
is to use a caching layer similar to what we already have for virtual
table info in VTableContext.  Subsequent changes will take advantage of
this to fix PR17748, where we have a vbtable name collision.

http://llvm-reviews.chandlerc.com/D2499

Files:
  include/clang/AST/VTableBuilder.h
  lib/AST/VTableBuilder.cpp
  lib/CodeGen/CMakeLists.txt
  lib/CodeGen/MicrosoftCXXABI.cpp
  lib/CodeGen/MicrosoftVBTables.cpp
  lib/CodeGen/MicrosoftVBTables.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2499.1.patch
Type: text/x-patch
Size: 41530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140102/cccb4c1c/attachment.bin>


More information about the cfe-commits mailing list