From: Christoph Egger Date: Tue, 10 Mar 2015 11:33:37 +0000 (+0100) Subject: Actually call finishFuction() when function is finished X-Git-Tag: v0.1~60 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=b702753fa541d2ee4bb1cb83267a8b76b99330ac;p=frida%2Ffrida.git Actually call finishFuction() when function is finished --- diff --git a/src/disassembler/llvm/LLVMDisassembler.cxx b/src/disassembler/llvm/LLVMDisassembler.cxx index 3d969ef..875a474 100644 --- a/src/disassembler/llvm/LLVMDisassembler.cxx +++ b/src/disassembler/llvm/LLVMDisassembler.cxx @@ -199,7 +199,6 @@ Function* LLVMDisassembler::disassembleFunctionAt(uint64_t address, const function->setName(name); } disassembleFunction(function); - manager->finishFunction(function); } return function; @@ -298,7 +297,7 @@ void LLVMDisassembler::disassembleFunction(Function* function) { } splitBlocks(function); LOG4CXX_DEBUG(logger, "Finished function " << function->getName()); - manager->signal_new_function(function); + manager->finishFunction(function); } template