Don't re-look up the symbol in ResolveSymbolContextForAddress.

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@112679 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Core/Module.cpp b/source/Core/Module.cpp
index 1e9187b..ffa8029 100644
--- a/source/Core/Module.cpp
+++ b/source/Core/Module.cpp
@@ -215,8 +215,8 @@
                 resolved_flags |= symbols->ResolveSymbolContext (so_addr, resolve_scope, sc);
         }
 
-        // Resolve the symbol if requested
-        if (resolve_scope & eSymbolContextSymbol)
+        // Resolve the symbol if requested, but don't re-look it up if we've already found it.
+        if (resolve_scope & eSymbolContextSymbol && !(resolved_flags & eSymbolContextSymbol))
         {
             ObjectFile* ofile = GetObjectFile();
             if (ofile)