aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2024-04-30 22:55:29 -0930
committerLang Hames <lhames@gmail.com>2024-04-30 23:10:06 -0930
commit7565b20b50b254a72efa9d505e92be65c664b1b2 (patch)
tree72d8b54cad11f02e0851b34056c4fb3ca2b596a9 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent9a9cff15a15b103ae1dc1efa98b53901cdda78f1 (diff)
downloadllvm-7565b20b50b254a72efa9d505e92be65c664b1b2.zip
llvm-7565b20b50b254a72efa9d505e92be65c664b1b2.tar.gz
llvm-7565b20b50b254a72efa9d505e92be65c664b1b2.tar.bz2
[ORC] Switch ObjectLinkingLayer::Plugins to shared ownership, copy pipeline.
Previously ObjectLinkingLayer held unique ownership of Plugins, and links always used the Layer's plugin list at each step. This can cause problems if plugins are added while links are in progress however, as the newly added plugin may receive only some of the callbacks for links that are already running. In this patch each link gets its own copy of the pipeline that remains consistent throughout the link's lifetime, and it is guaranteed that Plugin objects (now with shared ownership) will remain valid until the link completes. Coding my way home: 9.80469S, 139.03167W
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions