projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ef186
)
[Windows] Follow-up r254363, remove return.
author
Davide Italiano
<davide@freebsd.org>
Tue, 1 Dec 2015 02:38:42 +0000
(
02:38
+0000)
committer
Davide Italiano
<davide@freebsd.org>
Tue, 1 Dec 2015 02:38:42 +0000
(
02:38
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254364
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Windows/DynamicLibrary.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Windows/DynamicLibrary.inc
b/lib/Support/Windows/DynamicLibrary.inc
index 77146d47cf29538f2b3643244051b5e71a2ac7d2..e612283e630fc62bbb384b4a01775809a8424485 100644
(file)
--- a/
lib/Support/Windows/DynamicLibrary.inc
+++ b/
lib/Support/Windows/DynamicLibrary.inc
@@
-60,10
+60,8
@@
DynamicLibrary DynamicLibrary::getPermanentLibrary(const char *filename,
if (OpenedHandles == 0)
OpenedHandles = new DenseSet<HMODULE>();
- if (!fEnumerateLoadedModules)
{
+ if (!fEnumerateLoadedModules)
assert(loadDebugHelp() && "These APIs should always be available");
- return DynamicLibrary();
- }
fEnumerateLoadedModules(GetCurrentProcess(), ELM_Callback, 0);
// Dummy library that represents "search all handles".