summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/APValue.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
commit88497d61573c35719119abf62fedffb181882445 (patch)
treebc35c1ffe63868c5bce0dbda0974de3717c1fb18 /clang/lib/AST/APValue.cpp
parent6747c640689b3f1cb44e29c386ba7fa9ab6adfb6 (diff)
downloadbcm5719-llvm-88497d61573c35719119abf62fedffb181882445.tar.gz
bcm5719-llvm-88497d61573c35719119abf62fedffb181882445.zip
[-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 llvm-svn: 194827
Diffstat (limited to 'clang/lib/AST/APValue.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud