diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-11-27 19:33:49 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-11-27 19:33:49 +0000 |
commit | c195c25b224e26d876e1fb5ab644f615af9638df (patch) | |
tree | f64ef4c974d1112211b0d59f7ab82d7be284c2b9 /lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp | |
parent | d37fa56a8ed6d25036e5c52ab64aa8c9ec4c2068 (diff) | |
download | bcm5719-llvm-c195c25b224e26d876e1fb5ab644f615af9638df.tar.gz bcm5719-llvm-c195c25b224e26d876e1fb5ab644f615af9638df.zip |
Don't speculatively emit VTTs for classes unless we are able to correctly emit references to all the functions they will (directly or indirectly) reference.
Summary:
This fixes a miscompile where we'd emit a VTT for a class that ends up
referencing an inline virtual member function that we can't actually
emit a body for (because we never instantiated it in the current TU),
which in a corner case of a corner case can lead to link errors.
Reviewers: rjmccall
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D54768
llvm-svn: 347692
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main2.cpp')
0 files changed, 0 insertions, 0 deletions