[Lldb-commits] [PATCH] D140051: [lldb] Add LTO dependency to lldb test suite

Augusto Noronha via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Dec 14 13:24:17 PST 2022


augusto2112 created this revision.
augusto2112 added a reviewer: aprantl.
Herald added a subscriber: inglorion.
Herald added a project: All.
augusto2112 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Make the lldb test target depend on LTO, since TestFullLtoStepping
needs it.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140051

Files:
  lldb/test/CMakeLists.txt


Index: lldb/test/CMakeLists.txt
===================================================================
--- lldb/test/CMakeLists.txt
+++ lldb/test/CMakeLists.txt
@@ -95,6 +95,9 @@
 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)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140051.482977.patch
Type: text/x-patch
Size: 501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221214/192bba9f/attachment.bin>


More information about the lldb-commits mailing list