aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2023-09-22 21:43:41 -0700
committerLang Hames <lhames@gmail.com>2023-09-22 21:43:41 -0700
commite5f169f91a86af3490d9251387b3f5455941bb83 (patch)
treec7a7f07570050c3ec604082f151451a24517ce3e /clang/unittests/Interpreter/InterpreterTest.cpp
parentbcc5b48b0f24bfa73ce1bb14e6031f1dd63f0043 (diff)
downloadllvm-e5f169f91a86af3490d9251387b3f5455941bb83.zip
llvm-e5f169f91a86af3490d9251387b3f5455941bb83.tar.gz
llvm-e5f169f91a86af3490d9251387b3f5455941bb83.tar.bz2
Revert "[ORC][LLJIT] Move enable-debugger-support utility out of LLJITBuilder."
This reverts commit e1a5bb59b91d60c0d87feb78f0e0614589a4c927 while I investigate the bot failure at https://lab.llvm.org/buildbot/#/builders/168/builds/15831
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
-rw-r--r--clang/unittests/Interpreter/InterpreterTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/unittests/Interpreter/InterpreterTest.cpp b/clang/unittests/Interpreter/InterpreterTest.cpp
index 5f2911e..62e5bac 100644
--- a/clang/unittests/Interpreter/InterpreterTest.cpp
+++ b/clang/unittests/Interpreter/InterpreterTest.cpp
@@ -191,7 +191,9 @@ static std::string MangleName(NamedDecl *ND) {
}
static bool HostSupportsJit() {
- auto J = llvm::orc::LLJITBuilder().create();
+ auto J = llvm::orc::LLJITBuilder()
+ .setEnableDebuggerSupport(true)
+ .create();
if (J)
return true;
LLVMConsumeError(llvm::wrap(J.takeError()));