diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-10-27 17:11:51 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-10-27 17:11:51 +0000 |
commit | 07c915e1d59f981b6fc2e7f7529ca6d4f57018cb (patch) | |
tree | 8e00e15fe68ab087f2e9d3c4016b4d8ba687d570 /clang/lib/CodeGen/CGBuiltin.cpp | |
parent | 28c4f18bfecd596645c67eb818634f55653e0300 (diff) | |
download | bcm5719-llvm-07c915e1d59f981b6fc2e7f7529ca6d4f57018cb.tar.gz bcm5719-llvm-07c915e1d59f981b6fc2e7f7529ca6d4f57018cb.zip |
[MS ABI] Reuse getVFPtrOffsets instead of using getClassAtVTableLocation
getClassAtVTableLocation hunts through virtual bases without using the
MDC layout which is indicative of a bug.
Instead, reuse the getVFPtrOffsets machinery to calculate which
subobject within the MDC is responsible for the vfptr.
Differential Revision: https://reviews.llvm.org/D25895
llvm-svn: 285315
Diffstat (limited to 'clang/lib/CodeGen/CGBuiltin.cpp')
0 files changed, 0 insertions, 0 deletions