diff options
author | David Majnemer <david.majnemer@gmail.com> | 2015-06-23 20:34:18 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2015-06-23 20:34:18 +0000 |
commit | 08ef2ba113d225db7348b7541a15f29c740b823c (patch) | |
tree | a67d71a4dba89186e496fa37492bb936d7e784b1 /clang/lib/Driver/Tools.cpp | |
parent | e44dd6dbd06814e0d8d6b1497fb681c00fe8f2dc (diff) | |
download | bcm5719-llvm-08ef2ba113d225db7348b7541a15f29c740b823c.tar.gz bcm5719-llvm-08ef2ba113d225db7348b7541a15f29c740b823c.zip |
[MS ABI] Account for the virtual inheritance quirk when mangling
Virtual inheritance member pointers are always relative to the vbindex,
even when the member pointer doesn't point into a virtual base. This is
corrected by adjusting the non-virtual offset backwards from the vbptr
back to the top of the most derived class. While we performed this
adjustment when manifesting member pointers as constants or when
performing conversions, we didn't perform the adjustment when mangling
them.
llvm-svn: 240453
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions