aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp')
-rw-r--r--lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp b/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp
index b4629d8c9f..cb21604b2e 100644
--- a/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp
+++ b/lib/Transforms/Instrumentation/ProfilePaths/EdgeCode.cpp
@@ -338,6 +338,9 @@ void insertBB(Edge ed,
//then we need to change branch destinations to include new BB
//std::cerr<<"before cast!\n";
+ std::cerr<<"Method no in Edgecode:"<<Methno<<"\n";
+ std::cerr<<"Instruction\n";
+ std::cerr<<*TI;
BranchInst *BI = cast<BranchInst>(TI);
if(BI->isUnconditional()){