mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-13 08:26:02 +00:00
Try to fix the build of IntelJITEventListener.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238709 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -119,10 +119,9 @@ void IntelJITEventListener::NotifyObjectEmitted(
|
|||||||
if (SymType == SymbolRef::ST_Function) {
|
if (SymType == SymbolRef::ST_Function) {
|
||||||
StringRef Name;
|
StringRef Name;
|
||||||
uint64_t Addr;
|
uint64_t Addr;
|
||||||
uint64_t Size;
|
|
||||||
if (I->getName(Name)) continue;
|
if (I->getName(Name)) continue;
|
||||||
if (I->getAddress(Addr)) continue;
|
if (I->getAddress(Addr)) continue;
|
||||||
if (I->getSize(Size)) continue;
|
uint64_t Size = I->getSize();
|
||||||
|
|
||||||
// Record this address in a local vector
|
// Record this address in a local vector
|
||||||
Functions.push_back((void*)Addr);
|
Functions.push_back((void*)Addr);
|
||||||
|
Reference in New Issue
Block a user