Make DynamicLibrary use ManagedStatic. This is pretty simple and should just work as
authorFilip Pizlo <fpizlo@apple.com>
Wed, 18 Sep 2013 16:40:14 +0000 (16:40 +0000)
committerFilip Pizlo <fpizlo@apple.com>
Wed, 18 Sep 2013 16:40:14 +0000 (16:40 +0000)
commitb4b9b3b24c03f414c54f55e1b34b4d9124c55883
tree52a8d39236094cd7c8dc7dd94772c76ddde530fa
parent69f99bf3a391c3fa1b6e49d963dbb914790b428c
Make DynamicLibrary use ManagedStatic. This is pretty simple and should just work as
advertised - but it does have the caveat that calls to DynamicLibrary::AddSymbol will
"reset" if you shutdown llvm and try to come back for seconds.  This is a subtle
behavior change, but I'm assuming that nobody is affected by it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190946 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/DynamicLibrary.cpp
lib/Support/Windows/DynamicLibrary.inc