diff options
author | Lang Hames <lhames@gmail.com> | 2023-09-22 14:39:45 -0700 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2023-09-22 16:18:20 -0700 |
commit | e1a5bb59b91d60c0d87feb78f0e0614589a4c927 (patch) | |
tree | 4e1682914782777dee11d535b54cddf4173a1afa /clang/unittests/Interpreter/InterpreterTest.cpp | |
parent | ab7896231e176e52801702b7221bcac2f4ffbd59 (diff) | |
download | llvm-e1a5bb59b91d60c0d87feb78f0e0614589a4c927.zip llvm-e1a5bb59b91d60c0d87feb78f0e0614589a4c927.tar.gz llvm-e1a5bb59b91d60c0d87feb78f0e0614589a4c927.tar.bz2 |
[ORC][LLJIT] Move enable-debugger-support utility out of LLJITBuilder.
This change means that debugger support only needs to be linked in if it's
used. The code size of debugger support is expected to increase as we improve
it (e.g. pulling in DWARF parsing), so making it an optional extra is useful
for controlling final binary sizes.
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
-rw-r--r-- | clang/unittests/Interpreter/InterpreterTest.cpp | 4 |
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())); |