[PATCH] [-cxx-abi microsoft] Emit thunks for pointers to virtual member functions

Hans Wennborg hans at chromium.org
Tue Nov 5 16:06:16 PST 2013


Hi rnk, timurrrr,

This patch adds support for emitting thunks for pointers to virtual member functions.

Unfortunately it doesn't work for variadic functions or functions where the return type or one of the paramters is incomplete, but I figure we should support this broad case first and then figure out what to do for the others.

This is my first step into ABI land, so comments very welcome :)

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

Files:
  include/clang/AST/Mangle.h
  lib/AST/ItaniumMangle.cpp
  lib/AST/MicrosoftMangle.cpp
  lib/CodeGen/CGVTables.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/CodeGen/MicrosoftCXXABI.cpp
  test/CodeGenCXX/microsoft-abi-virtual-member-pointers.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2104.1.patch
Type: text/x-patch
Size: 13245 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131105/2a4f6c07/attachment.bin>


More information about the cfe-commits mailing list