mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Type check user-defined macros plugins with user-provided type signatures. Also, load plugin libraries with `RTLD_LOCAL` instead of `RTLD_GLOBAL` to prevent symbol collision between plugins. `llvm::sys::DynamicLibrary` only supports `RTLD_GLOBAL` so we use the plain `dlopen` instead. This does not work on Windows and needs to be fixed. Friend PR: apple/swift-syntax#1042
2.6 KiB
2.6 KiB