aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2023-09-27 13:05:04 -0700
committerLang Hames <lhames@gmail.com>2023-09-27 13:24:02 -0700
commit61b0f12d6b9cdcb6bb3dd679e3a3c36fa94daeae (patch)
treec762663b306843f0c39196e3c05435404845b72e /clang/unittests/Interpreter/InterpreterTest.cpp
parent1fd2251bce4aa5bfe4a021c4b5f156e40443373d (diff)
downloadllvm-61b0f12d6b9cdcb6bb3dd679e3a3c36fa94daeae.zip
llvm-61b0f12d6b9cdcb6bb3dd679e3a3c36fa94daeae.tar.gz
llvm-61b0f12d6b9cdcb6bb3dd679e3a3c36fa94daeae.tar.bz2
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.
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
-rw-r--r--clang/unittests/Interpreter/InterpreterTest.cpp4
1 files changed, 1 insertions, 3 deletions
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()));