Author: Augusto Noronha Date: 2022-12-22T10:15:20-08:00 New Revision: f85cc6009aa790dd9970981408401072702ea886
URL: https://github.com/llvm/llvm-project/commit/f85cc6009aa790dd9970981408401072702ea886 DIFF: https://github.com/llvm/llvm-project/commit/f85cc6009aa790dd9970981408401072702ea886.diff LOG: [lldb] Add LTO dependency to lldb test suite Make the lldb test target depend on LTO, since TestFullLtoStepping needs it (prior to this patch, running "ninja check-lldb" would not build libLTO). Differential Revision: https://reviews.llvm.org/D140051 Added: Modified: lldb/test/CMakeLists.txt Removed: ################################################################################ diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index dc1dff8681c51..0b0a9e9065257 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -95,6 +95,9 @@ endif() if(TARGET clang) add_lldb_test_dependency(clang) + # TestFullLtoStepping depends on LTO, and only runs when the compiler is clang. + add_lldb_test_dependency(LTO) + if (TARGET libcxx OR ("libcxx" IN_LIST LLVM_ENABLE_RUNTIMES)) set(LLDB_HAS_LIBCXX ON) if(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR AND NOT APPLE) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits