]> granicus.if.org Git - clang/commit
-fcatch-undefined-behavior: Factor emission of the creation of, and branch to,
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 8 Sep 2012 02:08:36 +0000 (02:08 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 8 Sep 2012 02:08:36 +0000 (02:08 +0000)
commit7ac9ef1c82c779a5348ed11b3d10e01c58803b35
tree75bafb315db7d2fb2f554e867ea52fb01cb7ae4f
parent82f2ad456a82da1b9cb7ddfc994c8f5fa44b59e6
-fcatch-undefined-behavior: Factor emission of the creation of, and branch to,
the trap BB out of the individual checks and into a common function, to prepare
for making this code call into a runtime library. Rename the existing EmitCheck
to EmitTypeCheck to clarify it and to move it out of the way of the new
EmitCheck.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163451 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGBuiltin.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGExprAgg.cpp
lib/CodeGen/CGExprCXX.cpp
lib/CodeGen/CGExprScalar.cpp
lib/CodeGen/CodeGenFunction.h
test/CodeGen/trapv.c