projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
56bc0ab
)
Added DEBUG message for ObjCARC when an inline asm marker is inserted for architectur...
author
Michael Gottesman
<mgottesman@apple.com>
Thu, 3 Jan 2013 07:32:41 +0000
(07:32 +0000)
committer
Michael Gottesman
<mgottesman@apple.com>
Thu, 3 Jan 2013 07:32:41 +0000
(07:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171462
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 ab2dc402d2d030c2fb5de834e773d6f00dea90d5..13d2060a75284e84c36c56f1b336d30769046e82 100644
(file)
--- a/
lib/Transforms/Scalar/ObjCARC.cpp
+++ b/
lib/Transforms/Scalar/ObjCARC.cpp
@@
-4147,6
+4147,8
@@
bool ObjCARCContract::runOnFunction(Function &F) {
} while (isNoopInstruction(BBI));
if (&*BBI == GetObjCArg(Inst)) {
+ DEBUG(dbgs() << "ObjCARCContract: Adding inline asm marker for "
+ "retainAutoreleasedReturnValue optimization.\n");
Changed = true;
InlineAsm *IA =
InlineAsm::get(FunctionType::get(Type::getVoidTy(Inst->getContext()),