summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprComplex.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2013-11-15 17:24:45 +0000
committerHans Wennborg <hans@hanshq.net>2013-11-15 17:24:45 +0000
commit93b717ac956f5c82f7895ed8874cbd514c6d0a4e (patch)
tree80c2e524edbe556e59532a4d293e408482f3ce9f /lib/CodeGen/CGExprComplex.cpp
parent16205cd0bd60bf38c9647a8bb787b6af7e0b7fa4 (diff)
downloadclang-93b717ac956f5c82f7895ed8874cbd514c6d0a4e.tar.gz
clang-93b717ac956f5c82f7895ed8874cbd514c6d0a4e.tar.bz2
clang-93b717ac956f5c82f7895ed8874cbd514c6d0a4e.tar.xz
[-cxx-abi microsoft] Emit thunks for pointers to virtual member functions
Instead of storing the vtable offset directly in the function pointer and doing a branch to check for virtualness at each call site, the MS ABI generates a thunk for calling the function at a specific vtable offset, and puts that in the function pointer. This patch adds support for emitting such thunks. However, it doesn't support pointers to virtual member functions that are variadic, have an incomplete aggregate return type or parameter, or are overriding a function in a virtual base class. Differential Revision: http://llvm-reviews.chandlerc.com/D2104 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions