diff options
author | Jordy Rose <jediknil@belkadan.com> | 2011-08-17 18:38:42 +0000 |
---|---|---|
committer | Jordy Rose <jediknil@belkadan.com> | 2011-08-17 18:38:42 +0000 |
commit | 008a5f515aca0412db4eb9c572c6a9aef956f39e (patch) | |
tree | 75f467a7f3c09104668c47da01df1682153821e8 /lib/Support/DynamicLibrary.cpp | |
parent | c68c8623d01140af0f165888a1bfd3d6d937aee8 (diff) |
Static fields require an out-of-line definition. Fix DynamicLibrary for real.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137844 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/DynamicLibrary.cpp')
-rw-r--r-- | lib/Support/DynamicLibrary.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Support/DynamicLibrary.cpp b/lib/Support/DynamicLibrary.cpp index 63298b99a0..5ee6a82ad7 100644 --- a/lib/Support/DynamicLibrary.cpp +++ b/lib/Support/DynamicLibrary.cpp @@ -50,6 +50,8 @@ void llvm::sys::DynamicLibrary::AddSymbol(StringRef symbolName, (*ExplicitSymbols)[symbolName] = symbolValue; } +char llvm::sys::DynamicLibrary::Invalid = 0; + #ifdef LLVM_ON_WIN32 #include "Windows/DynamicLibrary.inc" |