[PATCH] D33515: Fix the ManagedStatic list ordering when using DynamicLibrary::addPermanentLibrary.
Frederich Munch via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 25 12:57:27 PDT 2017
marsupial added a comment.
> polly has historically worked as a plugin. In this context, polly isn't technically a "plugin" in the sense that it's not dynamically loaded, but it works like a plugin in every other sense (using the same extension points a plugin would use to integrate with LLVM).
I get that but as per the comment above how does it handle the use case (regardless of this bug):
{
llvm_shutdown_obj Shutdown;
// Do some stuff (Polly passes available via RegisterStandardPasses)
}
// All passes added via RegisterStandardPasses have now been removed
{
llvm_shutdown_obj Shutdown;
// Do some other stuff (Polly passes no longer available)
}
https://reviews.llvm.org/D33515
More information about the llvm-commits
mailing list