[PATCH] D75083: [ORC] Add SymbolState::Emitted to isInMaterializationPhase()
Stefan Gränitz via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 24 14:47:58 PST 2020
sgraenitz created this revision.
sgraenitz added a reviewer: lhames.
Herald added a project: LLVM.
So far isInMaterializationPhase() covered Materializing, Resolved and Ready. Shouldn't it include Emitted too?
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D75083
Files:
llvm/include/llvm/ExecutionEngine/Orc/Core.h
Index: llvm/include/llvm/ExecutionEngine/Orc/Core.h
===================================================================
--- llvm/include/llvm/ExecutionEngine/Orc/Core.h
+++ llvm/include/llvm/ExecutionEngine/Orc/Core.h
@@ -985,6 +985,7 @@
bool isInMaterializationPhase() const {
return getState() == SymbolState::Materializing ||
getState() == SymbolState::Resolved ||
+ getState() == SymbolState::Emitted ||
getState() == SymbolState::Ready;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75083.246314.patch
Type: text/x-patch
Size: 503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200224/17cc6d9d/attachment.bin>
More information about the llvm-commits
mailing list