From 61b0f12d6b9cdcb6bb3dd679e3a3c36fa94daeae Mon Sep 17 00:00:00 2001 From: Lang Hames Date: Wed, 27 Sep 2023 13:05:04 -0700 Subject: Re-apply "[ORC][LLJIT] Move enable-debugger-support utility out of..." This re-applies e1a5bb59b91, which was reverted in e5f169f91a8 due to LSan failures on some bots (see https://github.com/llvm/llvm-project/issues/67586). The LSan failures were not caused by this patch (just exposed by it), so LSan was disabled for the failing test in 47625fea5e3. This should be safe to re-land now. --- .../unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp') diff --git a/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp b/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp index 4709a94..2f1c4ef 100644 --- a/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp +++ b/clang/unittests/Interpreter/ExceptionTests/InterpreterExceptionTest.cpp @@ -60,9 +60,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 -- cgit v1.1