[llvm] [llvm-debuginfo-analyzer] Remove superfluous link components. (PR #118052)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 28 22:21:16 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-debuginfo
Author: Carlos Alberto Enciso (CarlosAlbertoEnciso)
<details>
<summary>Changes</summary>
As 'LLVM_TARGETS_TO_BUILD' control which targets are enabled, the lines:
AllTargetsDescs
AllTargetsDisassemblers
AllTargetsInfos
are redundant.
---
Full diff: https://github.com/llvm/llvm-project/pull/118052.diff
1 Files Affected:
- (modified) llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt (-3)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/118052
More information about the llvm-commits
mailing list