[PATCH] D40109: [MS] Apply adjustments after storing 'this'

2017-11-16 Thread Reid Kleckner via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL318440: [MS] Apply adjustments after storing 'this' (authored by rnk). Changed prior to commit: https://reviews.llvm.org/D40109?vs=123104=123218#toc Repository: rL LLVM

[PATCH] D40109: [MS] Apply adjustments after storing 'this'

2017-11-16 Thread Reid Kleckner via Phabricator via cfe-commits
rnk added a comment. In https://reviews.llvm.org/D40109#926975, @rnk wrote: > This seems to cause a crash on startup in some gtest binaries when I > self-host, so I guess I should debug that tomorrow before committing. The > rest of clang's tests pass. I guess we don't use virtual inheritance.

[PATCH] D40109: [MS] Apply adjustments after storing 'this'

2017-11-15 Thread Reid Kleckner via Phabricator via cfe-commits
rnk added a comment. This seems to cause a crash on startup in some gtest binaries when I self-host, so I guess I should debug that tomorrow before committing. The rest of clang's tests pass. I guess we don't use virtual inheritance. =S https://reviews.llvm.org/D40109

[PATCH] D40109: [MS] Apply adjustments after storing 'this'

2017-11-15 Thread Hans Wennborg via Phabricator via cfe-commits
hans accepted this revision. hans added a comment. This revision is now accepted and ready to land. lgtm https://reviews.llvm.org/D40109 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D40109: [MS] Apply adjustments after storing 'this'

2017-11-15 Thread Reid Kleckner via Phabricator via cfe-commits
rnk created this revision. Herald added a subscriber: aprantl. The MS ABI convention is that the 'this' pointer on entry is the address of the vfptr that was used to make the virtual method call. In other words, the pointer on entry always points to the base subobject that introduced the virtual