diff options
author | Dan Gohman <gohman@apple.com> | 2012-02-16 00:57:37 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2012-02-16 00:57:37 +0000 |
commit | 515a60daff46d2a227f42d01da299b54aa232e84 (patch) | |
tree | 76fea1317d1f483520967a341dc1e9b4cf40b744 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 90e7c129611ec9e9c9df970f8a68d37e3330c0c8 (diff) | |
download | bcm5719-llvm-515a60daff46d2a227f42d01da299b54aa232e84.tar.gz bcm5719-llvm-515a60daff46d2a227f42d01da299b54aa232e84.zip |
Teach clang to add metadata tags to calls and invokes in ObjC with
-fno-objc-arc-exceptions. This will allow the optimizer to perform
optimizations which are only safe under that flag.
This is a part of rdar://10803830.
llvm-svn: 150644
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 2ebea592641..dd613b4014f 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -69,7 +69,8 @@ CodeGenModule::CodeGenModule(ASTContext &C, const CodeGenOptions &CGO, Types(C, M, TD, getTargetCodeGenInfo().getABIInfo(), ABI, CGO), TBAA(0), VTables(*this), ObjCRuntime(0), OpenCLRuntime(0), CUDARuntime(0), - DebugInfo(0), ARCData(0), RRData(0), CFConstantStringClassRef(0), + DebugInfo(0), ARCData(0), NoObjCARCExceptionsMetadata(0), + RRData(0), CFConstantStringClassRef(0), ConstantStringClassRef(0), NSConstantStringType(0), VMContext(M.getContext()), NSConcreteGlobalBlock(0), NSConcreteStackBlock(0), |