[PATCH] Fix vbtable indices if a class shares the vbptr with a non-virtual base

Timur Iskhodzhanov timurrrr at google.com
Sun Nov 3 09:32:17 PST 2013


  Move getVBTableIndex into MicrosoftVTableContext.

  Also, rename MicrosoftVFTableContext to MicrosoftVTableContext and make the get[Itanium]VTableContext / get[Microsoft]VFTableContext clearer.

Hi rnk,

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2089?vs=5315&id=5332#toc

Files:
  include/clang/AST/VTableBuilder.h
  lib/AST/VTableBuilder.cpp
  lib/CodeGen/CGCXX.cpp
  lib/CodeGen/CGDebugInfo.cpp
  lib/CodeGen/CGRTTI.cpp
  lib/CodeGen/CGVTT.cpp
  lib/CodeGen/CGVTables.cpp
  lib/CodeGen/CGVTables.h
  lib/CodeGen/CodeGenModule.h
  lib/CodeGen/ItaniumCXXABI.cpp
  lib/CodeGen/MicrosoftCXXABI.cpp
  lib/CodeGen/MicrosoftVBTables.cpp
  test/CodeGenCXX/microsoft-abi-vbtables.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2089.2.patch
Type: text/x-patch
Size: 31437 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131103/3c24995c/attachment.bin>


More information about the cfe-commits mailing list