diff options
Diffstat (limited to 'clang/unittests/Interpreter')
-rw-r--r-- | clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp | 4 | ||||
-rw-r--r-- | clang/unittests/Interpreter/InterpreterTest.cpp | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp b/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp index 8700f50..70e10b1 100644 --- a/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp +++ b/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp @@ -52,9 +52,7 @@ TEST(InterpreterTest, CatchException) { llvm::InitializeNativeTargetAsmPrinter(); { - auto J = llvm::orc::LLJITBuilder() - .setEnableDebuggerSupport(true) - .create(); + auto J = llvm::orc::LLJITBuilder().create(); if (!J) { // The platform does not support JITs. // Using llvm::consumeError will require typeinfo for ErrorInfoBase, we diff --git a/clang/unittests/Interpreter/InterpreterTest.cpp b/clang/unittests/Interpreter/InterpreterTest.cpp index 62e5bac..5f2911e 100644 --- a/clang/unittests/Interpreter/InterpreterTest.cpp +++ b/clang/unittests/Interpreter/InterpreterTest.cpp @@ -191,9 +191,7 @@ static std::string MangleName(NamedDecl *ND) { } static bool HostSupportsJit() { - auto J = llvm::orc::LLJITBuilder() - .setEnableDebuggerSupport(true) - .create(); + auto J = llvm::orc::LLJITBuilder().create(); if (J) return true; LLVMConsumeError(llvm::wrap(J.takeError())); |