summaryrefslogtreecommitdiff
path: root/lib/Basic/FileManager.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
commit04446d4f786b12a4b7cdb6dedb84af0c298d83de (patch)
tree4d2092ffc48da4923db03da1cf0b795d86ee38c3 /lib/Basic/FileManager.cpp
parente62fd7d3d76c9075bf2d5b8d8bf961e7ae52dc8f (diff)
downloadclang-04446d4f786b12a4b7cdb6dedb84af0c298d83de.tar.gz
clang-04446d4f786b12a4b7cdb6dedb84af0c298d83de.tar.bz2
clang-04446d4f786b12a4b7cdb6dedb84af0c298d83de.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/FileManager.cpp')
0 files changed, 0 insertions, 0 deletions