projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc895a3
)
[ORC] Fix an assertion condition from r329934.
author
Lang Hames
<lhames@gmail.com>
Thu, 19 Apr 2018 19:30:35 +0000
(19:30 +0000)
committer
Lang Hames
<lhames@gmail.com>
Thu, 19 Apr 2018 19:30:35 +0000
(19:30 +0000)
Thanks to Alexander Ivchenko for finding the issue!
llvm-svn: 330359
llvm/lib/ExecutionEngine/Orc/Core.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/ExecutionEngine/Orc/Core.cpp
b/llvm/lib/ExecutionEngine/Orc/Core.cpp
index
983d3b2
..
bc30275
100644
(file)
--- a/
llvm/lib/ExecutionEngine/Orc/Core.cpp
+++ b/
llvm/lib/ExecutionEngine/Orc/Core.cpp
@@
-410,8
+410,8
@@
Error VSO::defineLazy(std::unique_ptr<MaterializationUnit> MU) {
for (auto &KV : UMII->Symbols) {
auto I = Symbols.find(KV.first);
- assert(I == Symbols.end() ||
-
!I->second.Flags.isMaterializing(
) &&
+ assert(
(
I == Symbols.end() ||
+
!I->second.Flags.isMaterializing()
) &&
"Attempt to replace materializing symbol definition");
auto LinkageResult = compareLinkage(