On Windows, the DLL containing the registry will get its own global head
and tail variables, so the entries registered in the DLL will be
invisible to the consumer.
In order to solve this, we need to export a getter function from the
plugin DLL per registry and copy over the data inside it. This patch
adds support for this. This will be used to support clang plugins on
Windows.
Turn on LLVM_ENABLE_PLUGINS by default on Windows
This should have a comment. Basically, it's copying the entire registry linked list from another DLL into the current one.