aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2025-10-12 12:03:11 +1100
committerGitHub <noreply@github.com>2025-10-12 12:03:11 +1100
commitd4a413797681426a921124d0c9b462fa7886fb76 (patch)
treedba726888db28a0661b2f86f0903c703d6a48473 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent765060be88443950b71edf15f0125e95a8e89f1e (diff)
downloadllvm-d4a413797681426a921124d0c9b462fa7886fb76.zip
llvm-d4a413797681426a921124d0c9b462fa7886fb76.tar.gz
llvm-d4a413797681426a921124d0c9b462fa7886fb76.tar.bz2
[orc-rt] Add multi-addr dealloc/release to SimpleNativeMemoryMap. (#163025)
In an ORC JIT it's common for multiple memory regions to be deallocated at once, e.g. when a ResourceTracker covering multiple object files is removed. This commit adds SimpleNativeMemoryMap::deallocateMultiple and SimpleNativeMemoryMap::releaseMultiple APIs that can be used to reduce the number of calls (and consequently IPC messages in cross-process setups) in these cases. Adding these operations will make it easier to write an llvm::orc::MemoryMapper class that can use SimpleNativeMemoryMap as a backend.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions