[PATCH] D71959: [PassManagerBuilder] Remove global extension when a plugin is unloaded
Elia Geretto via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 26 01:41:42 PST 2020
EliaGeretto updated this revision to Diff 240423.
EliaGeretto added a comment.
`removeGlobalExtension` now early-exits when `GlobalExtensions` is not constructed and uses `llvm::find_if` to iterate over the collection.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71959/new/
https://reviews.llvm.org/D71959
Files:
llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h
llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71959.240423.patch
Type: text/x-patch
Size: 5601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200126/3d29e3cd/attachment-0001.bin>
More information about the llvm-commits
mailing list