[llvm] [llvm-debuginfo-analyzer] Remove superfluous link components. (PR #118052)

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 28 22:20:52 PST 2024


https://github.com/CarlosAlbertoEnciso created https://github.com/llvm/llvm-project/pull/118052

As 'LLVM_TARGETS_TO_BUILD' control which targets are enabled, the lines:

  AllTargetsDescs
  AllTargetsDisassemblers
  AllTargetsInfos

are redundant.

>From 255b8738267409e5910d74409ee359fe06ef0e6d Mon Sep 17 00:00:00 2001
From: Carlos Alberto Enciso <Carlos.Enciso at sony.com>
Date: Fri, 29 Nov 2024 06:08:42 +0000
Subject: [PATCH] [llvm-debuginfo-analyzer] Remove superfluous link components.

As 'LLVM_TARGETS_TO_BUILD' control which targets are enabled,
the lines:

  AllTargetsDescs
  AllTargetsDisassemblers
  AllTargetsInfos

are redundant.
---
 llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt b/llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
index 921453ccef6fd7..42a4b72229483c 100644
--- a/llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
+++ b/llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
@@ -1,8 +1,5 @@
 set(LLVM_LINK_COMPONENTS
   ${LLVM_TARGETS_TO_BUILD}
-  AllTargetsDescs
-  AllTargetsDisassemblers
-  AllTargetsInfos
   AsmPrinter
   DebugInfoDWARF
   DebugInfoLogicalView



More information about the llvm-commits mailing list