[all-commits] [llvm/llvm-project] 906a91: [MCJIT] Check for RuntimeDyld errors in MCJIT::fin...
lhames via All-commits
all-commits at lists.llvm.org
Fri Mar 13 13:58:51 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 906a91aa4d52beb1cd3b8b5ce55f768060996620
https://github.com/llvm/llvm-project/commit/906a91aa4d52beb1cd3b8b5ce55f768060996620
Author: Lang Hames <lhames at gmail.com>
Date: 2020-03-13 (Fri, 13 Mar 2020)
Changed paths:
M llvm/include/llvm-c/ExecutionEngine.h
M llvm/include/llvm/ExecutionEngine/ExecutionEngine.h
M llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp
M llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp
Log Message:
-----------
[MCJIT] Check for RuntimeDyld errors in MCJIT::finalizeLoadedModules.
Patch based on https://reviews.llvm.org/D75912 by Alexander Shishkin. Thanks
Alexander!
To minimize disruption to existing clients, who may be relying on the fact that
unused references to unresolved symbols do not generate an error, this patch
makes error checking opt-in: Clients can call ExecutionEngine::hasError or
LLVMExecutionEngineGetError to check whether and error has occurred.
Differential revision: https://reviews.llvm.org/D75912
More information about the All-commits
mailing list