[PATCH] D157859: [ORC] Introduce RedirectionManager interface and implementation using JITLink.
Sunho Kim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 16 05:55:23 PDT 2023
sunho added inline comments.
================
Comment at: llvm/include/llvm/ExecutionEngine/Orc/JITLinkRedirectableSymbolManager.h:100-101
+
+ BumpPtrAllocator BAlloc;
+ StringSaver StringPool{BAlloc};
+ std::mutex Mutex;
----------------
sunho wrote:
> lhames wrote:
> > Why a separate `StringSaver` here, rather than using the `SymbolStringPool`?
> We need to get actual string from SymbolStringPtr. Is there a way to do this?
Oh actually this was needed since JITLink isn't based on SymbolStringPtr yet. We still need to save the string cause JITLink assumes all the StringRefs are properly owned by external object like symbol string table.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157859/new/
https://reviews.llvm.org/D157859
More information about the llvm-commits
mailing list