https://github.com/allight updated https://github.com/llvm/llvm-project/pull/73717
>From a1064c7c866741bba6489279cd27b499e5bd0a62 Mon Sep 17 00:00:00 2001 From: Alex Light <alli...@google.com> Date: Tue, 28 Nov 2023 15:30:54 -0800 Subject: [PATCH] Ensure --force-interpreter disables the ORCjit too Unless the ORCJit was explicitly disabled it would be used by lli even if the --force-interpreter flag was passed. --- llvm/tools/lli/lli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp index 9d95cbcb29c25cd..36fca4c40ed064d 100644 --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -453,7 +453,7 @@ int main(int argc, char **argv, char * const *envp) { exit(1); } - if (UseJITKind == JITKind::MCJIT) + if (UseJITKind == JITKind::MCJIT || ForceInterpreter) disallowOrcOptions(); else return runOrcJIT(argv[0]); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits