Index: src/IceInstrumentation.cpp |
diff --git a/src/IceInstrumentation.cpp b/src/IceInstrumentation.cpp |
index 64a6212c05c05aafeeb903c09e6f59a5d5396652..c911a0b449e08d52a56dfbcea06ea7c18d3e4b52 100644 |
--- a/src/IceInstrumentation.cpp |
+++ b/src/IceInstrumentation.cpp |
@@ -51,6 +51,8 @@ void Instrumentation::instrumentFunc(Cfg *Func) { |
std::string FuncName = Func->getFunctionName().toStringOrEmpty(); |
if (FuncName == "_start") |
instrumentStart(Func); |
+ |
+ finishFunc(Func); |
} |
void Instrumentation::instrumentInst(LoweringContext &Context) { |