[llvm] r238709 - Try to fix the build of IntelJITEventListener.
Rafael Espindola
rafael.espindola at gmail.com
Sun May 31 19:18:15 PDT 2015
Author: rafael
Date: Sun May 31 21:18:14 2015
New Revision: 238709
URL: http://llvm.org/viewvc/llvm-project?rev=238709&view=rev
Log:
Try to fix the build of IntelJITEventListener.
Modified:
llvm/trunk/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
Modified: llvm/trunk/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp?rev=238709&r1=238708&r2=238709&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp Sun May 31 21:18:14 2015
@@ -119,10 +119,9 @@ void IntelJITEventListener::NotifyObject
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);
More information about the llvm-commits
mailing list