From 7e48a92829a1c607c193758d55e7058599e7416f Mon Sep 17 00:00:00 2001 From: Michael Gottesman Date: Sat, 20 Apr 2013 23:36:57 +0000 Subject: [PATCH] [objc-arc] Added debug statement saying when we are resetting a sequence's progress. This will make it clearer when we are actually resetting a sequence's progress vs just changing state. This is an important distinction because the former case clears any pointers that we are tracking while the later does not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179963 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/ObjCARC/ObjCARCOpts.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp index 9c52a55b351..1516d854451 100644 --- a/lib/Transforms/ObjCARC/ObjCARCOpts.cpp +++ b/lib/Transforms/ObjCARC/ObjCARCOpts.cpp @@ -472,6 +472,7 @@ namespace { } void ResetSequenceProgress(Sequence NewSeq) { + DEBUG(dbgs() << "Resetting sequence progress.\n"); SetSeq(NewSeq); Partial = false; RRI.clear(); -- 2.34.1