[llvm] 0d40f34 - Add a missing dependency to DebugInfoDWARF unit tests

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 06:39:45 PDT 2020


Author: Pavel Labath
Date: 2020-04-09T15:39:32+02:00
New Revision: 0d40f342cb80d05cb41389ca4d2ac400d201b635

URL: https://github.com/llvm/llvm-project/commit/0d40f342cb80d05cb41389ca4d2ac400d201b635
DIFF: https://github.com/llvm/llvm-project/commit/0d40f342cb80d05cb41389ca4d2ac400d201b635.diff

LOG: Add a missing dependency to DebugInfoDWARF unit tests

BinaryFormat was already being used for various constants, but as of
b761a648 it is alse used for code.

This should fix the shared library build.

Added: 
    

Modified: 
    llvm/unittests/DebugInfo/DWARF/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt b/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
index d7e7ed204d38..6b55f976994f 100644
--- a/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
+++ b/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt
@@ -1,6 +1,7 @@
 set(LLVM_LINK_COMPONENTS
   ${LLVM_TARGETS_TO_BUILD}
   AsmPrinter
+  BinaryFormat
   DebugInfoDWARF
   MC
   Object


        


More information about the llvm-commits mailing list