diff options
author | Mike Stump <mrs@apple.com> | 2009-12-15 00:35:12 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-12-15 00:35:12 +0000 |
commit | e8c3b3eca48f600a3f1a6b6a4d8eb58ef87205d7 (patch) | |
tree | 28579464a4578f6425a60456028b09b848323b65 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 1668046db1a08a2ea3db6b7b0156cf39c6883b26 (diff) | |
download | bcm5719-llvm-e8c3b3eca48f600a3f1a6b6a4d8eb58ef87205d7.tar.gz bcm5719-llvm-e8c3b3eca48f600a3f1a6b6a4d8eb58ef87205d7.zip |
Switch codegen for -fcatch-undefined-bahavior over to __builtin_trap
instead of abort to improve codesize and codegen.
llvm-svn: 91374
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index c3bae0768c3..28df9e4d786 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -31,7 +31,7 @@ CodeGenFunction::CodeGenFunction(CodeGenModule &cgm) DebugInfo(0), IndirectBranch(0), SwitchInsn(0), CaseRangeBlock(0), InvokeDest(0), CXXThisDecl(0), CXXVTTDecl(0), - ConditionalBranchLevel(0), TerminateHandler(0), AbortBB(0), + ConditionalBranchLevel(0), TerminateHandler(0), TrapBB(0), UniqueAggrDestructorCount(0) { LLVMIntTy = ConvertType(getContext().IntTy); LLVMPointerWidth = Target.getPointerWidth(0); |