[llvm-commits] [llvm] r137844 - /llvm/trunk/lib/Support/DynamicLibrary.cpp

Jordy Rose jediknil at belkadan.com
Wed Aug 17 11:38:42 PDT 2011


Author: jrose
Date: Wed Aug 17 13:38:42 2011
New Revision: 137844

URL: http://llvm.org/viewvc/llvm-project?rev=137844&view=rev
Log:
Static fields require an out-of-line definition. Fix DynamicLibrary for real.

Modified:
    llvm/trunk/lib/Support/DynamicLibrary.cpp

Modified: llvm/trunk/lib/Support/DynamicLibrary.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/DynamicLibrary.cpp?rev=137844&r1=137843&r2=137844&view=diff
==============================================================================
--- llvm/trunk/lib/Support/DynamicLibrary.cpp (original)
+++ llvm/trunk/lib/Support/DynamicLibrary.cpp Wed Aug 17 13:38:42 2011
@@ -50,6 +50,8 @@
   (*ExplicitSymbols)[symbolName] = symbolValue;
 }
 
+char llvm::sys::DynamicLibrary::Invalid = 0;
+
 #ifdef LLVM_ON_WIN32
 
 #include "Windows/DynamicLibrary.inc"





More information about the llvm-commits mailing list