diff options
author | Lang Hames <lhames@gmail.com> | 2022-01-05 17:00:06 +1100 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2022-01-06 13:48:12 +1100 |
commit | 133f86e95492b2a00b944e070878424cfa73f87c (patch) | |
tree | 0a4c362d62f68957247c1a7f4d2a78aa039168c9 /llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp | |
parent | 9e2cfb061a8821236944b3c8f40641846ab6bc94 (diff) | |
download | llvm-133f86e95492b2a00b944e070878424cfa73f87c.zip llvm-133f86e95492b2a00b944e070878424cfa73f87c.tar.gz llvm-133f86e95492b2a00b944e070878424cfa73f87c.tar.bz2 |
[JITLink] Update JITLink to use ExecutorAddr rather than JITTargetAddress.
ExecutorAddr is the preferred representation for executor process addresses now.
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp')
-rw-r--r-- | llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp b/llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp index 9b712cb..247be79 100644 --- a/llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp +++ b/llvm/lib/ExecutionEngine/Orc/EPCGenericJITLinkMemoryManager.cpp @@ -80,7 +80,7 @@ public: } else if (FinalizeErr) OnFinalize(std::move(FinalizeErr)); else - OnFinalize(FinalizedAlloc(AllocAddr.getValue())); + OnFinalize(FinalizedAlloc(AllocAddr)); }, Parent.SAs.Allocator, std::move(FR)); } @@ -161,7 +161,7 @@ void EPCGenericJITLinkMemoryManager::completeAllocation( const auto &AG = KV.first; auto &Seg = KV.second; - Seg.Addr = NextSegAddr.getValue(); + Seg.Addr = NextSegAddr; KV.second.WorkingMem = BL.getGraph().allocateBuffer(Seg.ContentSize).data(); NextSegAddr += ExecutorAddrDiff( alignTo(Seg.ContentSize + Seg.ZeroFillSize, EPC.getPageSize())); |