diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-20 04:11:02 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-12-20 04:11:02 +0000 |
commit | 488fdce9821a06732631aececa351ad75a224b19 (patch) | |
tree | 2a7ad95ccec74bcbeb2c4ca6573a314df6aa0417 /lib/CodeGen/MachineFunction.cpp | |
parent | c4889013553a4e407e110d1f76d9b6cf1396e702 (diff) |
Don't use isa<CallInst>(this) in the constructor for CallInst's base class.
This has undefined behavior, because the classof implementation attempts to
access parts of the not-yet-constructed derived class. Found by clang
-fsanitize=vptr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170658 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions