diff options
author | Lang Hames <lhames@gmail.com> | 2022-11-13 16:41:04 -0800 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2022-12-19 14:56:08 -0800 |
commit | 1a22f1b64679f6b6d83ba8d4e395908eee65773d (patch) | |
tree | 525470b0d0dbc78c9cc4a86a4f27727b3d3eec8a /clang/lib/Serialization/ModuleManager.cpp | |
parent | 77197b56512df3cd47ae546c1d2740f26f00d301 (diff) | |
download | llvm-1a22f1b64679f6b6d83ba8d4e395908eee65773d.zip llvm-1a22f1b64679f6b6d83ba8d4e395908eee65773d.tar.gz llvm-1a22f1b64679f6b6d83ba8d4e395908eee65773d.tar.bz2 |
[ORC] Add withResourceKeyDo method to ResourceTracker.
This method behaves the same as MaterializationResponsibility::withResourceKeyDo
(which now forwards to the new method): It locks the session while providing
access to the ResourceKey associated with the tracker.
Adding this method to ResourceTracker allows resources to be allocated and
tracked for a given MaterializationUnit prior to that MaterializationUnit being
materialized. E.g. Platforms can now track and remove initializers and other
symbols.
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions