Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

CarlosAlbertoEnciso
Copy link
Member

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

AllTargetsDescs
AllTargetsDisassemblers
AllTargetsInfos

are redundant.

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

  AllTargetsDescs
  AllTargetsDisassemblers
  AllTargetsInfos

are redundant.
@llvmbot
Copy link
Member

llvmbot commented Nov 29, 2024

@llvm/pr-subscribers-debuginfo

Author: Carlos Alberto Enciso (CarlosAlbertoEnciso)

Changes

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 --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

@llvmbot
Copy link
Member

llvmbot commented Nov 29, 2024

@llvm/pr-subscribers-llvm-binary-utilities

Author: Carlos Alberto Enciso (CarlosAlbertoEnciso)

Changes

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 --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

@CarlosAlbertoEnciso CarlosAlbertoEnciso added the skip-precommit-approval PR for CI feedback, not intended for review label Nov 29, 2024
@CarlosAlbertoEnciso CarlosAlbertoEnciso merged commit d7791f5 into llvm:main Nov 29, 2024
13 checks passed
@CarlosAlbertoEnciso CarlosAlbertoEnciso deleted the remove-redundant-libraries branch November 29, 2024 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants