diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-11-11 01:01:31 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2016-11-11 01:01:31 +0000 |
commit | a271686ce2a73ac00ea0da600320827d8f717887 (patch) | |
tree | 1fcaac84092e185bfbf538675cc008a92f0ac589 /clang/lib/CodeGen/CGCXXABI.cpp | |
parent | b07c0d7085fc35c2891a21dd4170c26eb6f6d1bd (diff) | |
download | bcm5719-llvm-a271686ce2a73ac00ea0da600320827d8f717887.tar.gz bcm5719-llvm-a271686ce2a73ac00ea0da600320827d8f717887.zip |
PR30937: don't devirtualize if we find that the callee is a pure virtual
function. In that case, there is no requirement that the callee is actually
defined, and the code may in fact be valid and have defined behavior if the
virtual call is unreachable.
llvm-svn: 286534
Diffstat (limited to 'clang/lib/CodeGen/CGCXXABI.cpp')
0 files changed, 0 insertions, 0 deletions