]> granicus.if.org Git - clang/commit
ubsan: Check for null pointers given to certain builtins, such
authorNuno Lopes <nunoplopes@sapo.pt>
Sat, 30 May 2015 16:11:40 +0000 (16:11 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Sat, 30 May 2015 16:11:40 +0000 (16:11 +0000)
commit9c667dae4d2a24f5bc5fa61aacaf7ce9788c512e
tree3fa005f58a31c4f642c797709851f32ca4d938c5
parent97b6875b657e10e3f43e3901a1b160ff4ab5a433
ubsan: Check for null pointers given to certain builtins, such
as memcpy, memset, memmove, and bzero.

Reviewed by: Richard Smith

Differential Revision: http://reviews.llvm.org/D9673

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@238657 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CGCall.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGen/catch-undef-behavior.c