[llvm] 51db236 - [DWP] Fix for Refactoring llvm-dwp in to a library

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 20 18:17:39 PDT 2021


Author: Alexander Yermolovich
Date: 2021-07-20T18:17:24-07:00
New Revision: 51db2363243c7fccee9d9c4f74399e8dd9d85b82

URL: https://github.com/llvm/llvm-project/commit/51db2363243c7fccee9d9c4f74399e8dd9d85b82
DIFF: https://github.com/llvm/llvm-project/commit/51db2363243c7fccee9d9c4f74399e8dd9d85b82.diff

LOG: [DWP] Fix for Refactoring llvm-dwp in to a library

Fix build for https://reviews.llvm.org/D106198 when -DBUILD_SHARED_LIBS=ON. Test Plan:

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D106414

Added: 
    

Modified: 
    llvm/tools/llvm-dwp/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-dwp/CMakeLists.txt b/llvm/tools/llvm-dwp/CMakeLists.txt
index 3edc4fe4f8d10..3bd1a5f082459 100644
--- a/llvm/tools/llvm-dwp/CMakeLists.txt
+++ b/llvm/tools/llvm-dwp/CMakeLists.txt
@@ -1,6 +1,14 @@
 set(LLVM_LINK_COMPONENTS
   AllTargetsAsmParsers
   AllTargetsCodeGens
+  AllTargetsDescs
+  AllTargetsInfos
+  AsmPrinter
+  DebugInfoDWARF
+  MC
+  Object
+  Support
+  Target
   )
 
 add_llvm_tool(llvm-dwp


        


More information about the llvm-commits mailing list