[PATCH] D98465: Clean up unnecessary dependencies

Dangyi Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 11 16:03:41 PST 2021


dangyi created this revision.
Herald added subscribers: hiraditya, mgorny.
dangyi requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The LINK_COMPONENTS dependencies between MC and DebugInfoCodeView and between DebugInfoCodeView and DebugInfoMSF are unnecessary. Breaking them would allow a more fine-controlled distribution.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98465

Files:
  llvm/lib/DebugInfo/CodeView/CMakeLists.txt
  llvm/lib/MC/CMakeLists.txt


Index: llvm/lib/MC/CMakeLists.txt
===================================================================
--- llvm/lib/MC/CMakeLists.txt
+++ llvm/lib/MC/CMakeLists.txt
@@ -69,7 +69,6 @@
   LINK_COMPONENTS
   Support
   BinaryFormat
-  DebugInfoCodeView
   )

 add_subdirectory(MCParser)
Index: llvm/lib/DebugInfo/CodeView/CMakeLists.txt
===================================================================
--- llvm/lib/DebugInfo/CodeView/CMakeLists.txt
+++ llvm/lib/DebugInfo/CodeView/CMakeLists.txt
@@ -45,5 +45,4 @@

   LINK_COMPONENTS
   Support
-  DebugInfoMSF
   )


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98465.330089.patch
Type: text/x-patch
Size: 565 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210312/23eea8b4/attachment.bin>


More information about the llvm-commits mailing list