From: Rafael Espindola Date: Mon, 1 Jun 2015 02:18:14 +0000 (+0000) Subject: Try to fix the build of IntelJITEventListener. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=dd2e39c45320de89f87f075f468bb97ec5f10ac5;p=oota-llvm.git Try to fix the build of IntelJITEventListener. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238709 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp b/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp index ec67019947a..08d9d6b05a0 100644 --- a/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp +++ b/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp @@ -119,10 +119,9 @@ void IntelJITEventListener::NotifyObjectEmitted( if (SymType == SymbolRef::ST_Function) { StringRef Name; uint64_t Addr; - uint64_t Size; if (I->getName(Name)) continue; if (I->getAddress(Addr)) continue; - if (I->getSize(Size)) continue; + uint64_t Size = I->getSize(); // Record this address in a local vector Functions.push_back((void*)Addr);