aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-12-20 04:11:02 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-12-20 04:11:02 +0000
commit488fdce9821a06732631aececa351ad75a224b19 (patch)
tree2a7ad95ccec74bcbeb2c4ca6573a314df6aa0417 /lib/CodeGen/MachineFunction.cpp
parentc4889013553a4e407e110d1f76d9b6cf1396e702 (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