  extern "C" {
  
    static BOOL CALLBACK ELM_Callback(WIN32_ELMCB_PCSTR ModuleName,
-@@ -48,6 +42,8 @@ extern "C" {
+@@ -48,6 +43,8 @@ extern "C" {
                                      ULONG ModuleSize,
                                      PVOID UserContext)
    {

 //
 //                     The LLVM Compiler Infrastructure
 //
@@ -32,15 +32,9 @@
 #endif
 
 namespace llvm {

+      DynamicLibrary::SearchForAddressOfSymbol(symbolName);
+    }
+  }
+  return (void *)(intptr_t) GetProcAddress((HMODULE)dlHandle, symbolName);
 }
 
-// Stack probing routines are in the support library (e.g. libgcc), but we don't
