Make DynamicLibrary use ManagedStatic. This is pretty simple and should just work as
authorFilip Pizlo <fpizlo@apple.com>
Wed, 18 Sep 2013 06:03:27 +0000 (06:03 +0000)
committerFilip Pizlo <fpizlo@apple.com>
Wed, 18 Sep 2013 06:03:27 +0000 (06:03 +0000)
commite77ea6b07e23c38706476fb41d210e4102ffa7eb
tree3f3ba21f18aceb4d8e935f8545055b7d5986bb3e
parent42848553918540e90f77de3c70b5f1ff1dc2be9f
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@190921 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/DynamicLibrary.cpp