summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-02-21 02:27:32 +0000
committerReid Kleckner <reid@kleckner.net>2014-02-21 02:27:32 +0000
commite4a5220d7c463d5f891f23e520f54e7734c24960 (patch)
tree86f025518c82abbafa53943a0a903d88c7358e2f /clang/lib/Frontend/CompilerInvocation.cpp
parentf1939029183cb011f7a174dc12b5a2f5c40b0664 (diff)
downloadbcm5719-llvm-e4a5220d7c463d5f891f23e520f54e7734c24960.tar.gz
bcm5719-llvm-e4a5220d7c463d5f891f23e520f54e7734c24960.zip
MS ABI: Include the vfptr offset in memptrs to virtual methods
Virtual methods expect 'this' to point to the vfptr containing the virtual method, and this extends to virtual member pointer thunks. The relevant vfptr is always at offset zero on entry to the thunk, and no this adjustment is needed. Previously we would not include the vfptr adjustment in the member pointer, and we'd look at the vfptr offset when loading from the vftable in the thunk. Fixes PR18917. llvm-svn: 201835
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud