Files
clang-p2996/llvm/unittests/Analysis/PluginInlineOrderAnalysisTest.cpp
Michele Scandale ab4253f6df [Analysis] Remove global state from PluginInline{Advisor,Order}Analysis. (#114615)
The plugin analysis for `InlineAdvisor` and `InlineOrder` currently
relies on shared global state to keep track if the analysis is
available.
This causes issues when pipelines using plugins and pipelines not using
plugins are run in the same process.
The shared global state can be easily replaced by checking in the given
instance of `ModuleAnalysisManager` if the plugin analysis has been
registered.
2024-11-18 10:24:09 -08:00

5.8 KiB