[llvm-commits] [llvm] r63325 - /llvm/trunk/lib/System/Win32/DynamicLibrary.inc
Chris Lattner
sabre at nondot.org
Thu Jan 29 10:53:28 PST 2009
Author: lattner
Date: Thu Jan 29 12:53:28 2009
New Revision: 63325
URL: http://llvm.org/viewvc/llvm-project?rev=63325&view=rev
Log:
Fix windows build, patch by Marius Wachtler!
Modified:
llvm/trunk/lib/System/Win32/DynamicLibrary.inc
Modified: llvm/trunk/lib/System/Win32/DynamicLibrary.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Win32/DynamicLibrary.inc?rev=63325&r1=63324&r2=63325&view=diff
==============================================================================
--- llvm/trunk/lib/System/Win32/DynamicLibrary.inc (original)
+++ llvm/trunk/lib/System/Win32/DynamicLibrary.inc Thu Jan 29 12:53:28 2009
@@ -156,8 +156,8 @@
void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) {
// First check symbols added via AddSymbol().
- std::map<std::string, void *>::iterator I = g_symbols.find(symbolName);
- if (I != g_symbols.end())
+ std::map<std::string, void *>::iterator I = g_symbols().find(symbolName);
+ if (I != g_symbols().end())
return I->second;
// Now search the libraries.
More information about the llvm-commits
mailing list