diff options
author | Lang Hames <lhames@gmail.com> | 2022-11-13 22:12:09 -0800 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2022-12-19 14:56:08 -0800 |
commit | bf6d7ca9870beb66766e2c087f5109eeb538f530 (patch) | |
tree | ddfab9a7ae193431e93f5bc9b34aad1576c09a8c /clang/lib/Serialization/ModuleManager.cpp | |
parent | 1a22f1b64679f6b6d83ba8d4e395908eee65773d (diff) | |
download | llvm-bf6d7ca9870beb66766e2c087f5109eeb538f530.zip llvm-bf6d7ca9870beb66766e2c087f5109eeb538f530.tar.gz llvm-bf6d7ca9870beb66766e2c087f5109eeb538f530.tar.bz2 |
[ORC] Add JITDylib argument to ResourceManager notify-removing/transferring ops.
In some cases it's helpful to group trackers by JITDylib. E.g. Platform classes
may want to track initializer symbols with a `JITDylib -> Tracker -> [ Symbol ]`
map. This makes it easy to collect all symbols for the JITDylib, while still
allowing efficient removal of a single tracker. Passing the JITDylib as an
argument to ResourceManager::notifyRemovingResources and
ResourceManager::notifyTransferringResources supports such use-cases.
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions