We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbca20f commit df542e1Copy full SHA for df542e1
clang/unittests/Interpreter/IncrementalProcessingTest.cpp
@@ -56,6 +56,14 @@ const Function *getGlobalInit(llvm::Module *M) {
56
return nullptr;
57
}
58
59
+static bool HostSupportsJit() {
60
+ auto J = llvm::orc::LLJITBuilder().create();
61
+ if (J)
62
+ return true;
63
+ LLVMConsumeError(llvm::wrap(J.takeError()));
64
+ return false;
65
+}
66
+
67
#ifdef CLANG_INTERPRETER_PLATFORM_CANNOT_CREATE_LLJIT
68
TEST(IncrementalProcessing, DISABLED_EmitCXXGlobalInitFunc) {
69
#else
0 commit comments