[PATCH] D56935: [NewPM] Add support for new-PM plugins to clang
Marco Elver via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 22 16:35:36 PST 2019
melver added a comment.
>> This generally looks sane. What will happen on windows though? Will it silently fa
>
> AFAIK PassPlugin::Load uses sys::DynamicLibrary::getPermanentLibrary, which uses DynamicLibrary::HandleSet::AddLibrary which works for Windows as well. (The story is similar to legacy -fplugin=).
s/AddLibrary/DLOpen/ -- DLOpen and others in DynamicLibrary:: are wrappers around platform-specific code. On Windows the implementation is in: llvm/lib/Support/Windows/DynamicLibrary.inc
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D56935/new/
https://reviews.llvm.org/D56935
More information about the cfe-commits
mailing list