projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
817d4e9
)
[ObjCARC Debug Message] - Added debug message when we add a nounwind keyword to a...
author
Michael Gottesman
<mgottesman@apple.com>
Sun, 6 Jan 2013 23:39:13 +0000
(23:39 +0000)
committer
Michael Gottesman
<mgottesman@apple.com>
Sun, 6 Jan 2013 23:39:13 +0000
(23:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171676
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/ObjCARC.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/ObjCARC.cpp
b/lib/Transforms/Scalar/ObjCARC.cpp
index c840e6e4c8c481016e4f20912b72830c7bbd968d..1ba5a503848917106899d4a5f4238b2ec13fa769 100644
(file)
--- a/
lib/Transforms/Scalar/ObjCARC.cpp
+++ b/
lib/Transforms/Scalar/ObjCARC.cpp
@@
-2452,6
+2452,8
@@
void ObjCARCOpt::OptimizeIndividualCalls(Function &F) {
// Set nounwind as needed.
if (IsNoThrow(Class)) {
Changed = true;
+ DEBUG(dbgs() << "ObjCARCOpt::OptimizeIndividualCalls: Found no throw"
+ " class. Setting nounwind on: " << *Inst << "\n");
cast<CallInst>(Inst)->setDoesNotThrow();
}