diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-07-18 18:15:39 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-07-18 18:15:39 +0000 |
commit | 32f59d8e1eaf89774efa65fa03c75e9f5bcd7f13 (patch) | |
tree | 1a0e229ada46580d3cc89406196ed14a74826d87 /clang/lib/CodeGen/CGCleanup.cpp | |
parent | 6c12414358031407667b75657b9d768080f16409 (diff) | |
download | bcm5719-llvm-32f59d8e1eaf89774efa65fa03c75e9f5bcd7f13.tar.gz bcm5719-llvm-32f59d8e1eaf89774efa65fa03c75e9f5bcd7f13.zip |
[UBsan] Skip -fsanitize=vptr instrumentations when the pointer value is null.
Otherwise -fsanitize=vptr causes the program to crash when it downcasts
a null pointer.
Reviewed in http://reviews.llvm.org/D4412.
Patch by Byoungyoung Lee!
llvm-svn: 213393
Diffstat (limited to 'clang/lib/CodeGen/CGCleanup.cpp')
0 files changed, 0 insertions, 0 deletions