[llvm] 1f9ef39 - [llvm-debuginfo-analyzer] (08/09) - ELF Reader

Carlos Alberto Enciso via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 05:06:10 PDT 2022


Author: Carlos Alberto Enciso
Date: 2022-10-27T13:05:18+01:00
New Revision: 1f9ef399681416b737b2c9f17d44abb4760c6a06

URL: https://github.com/llvm/llvm-project/commit/1f9ef399681416b737b2c9f17d44abb4760c6a06
DIFF: https://github.com/llvm/llvm-project/commit/1f9ef399681416b737b2c9f17d44abb4760c6a06.diff

LOG: [llvm-debuginfo-analyzer] (08/09) - ELF Reader

The fix for the unitest case introduced a dependency on the
MC library causing a failure in:

  https://lab.llvm.org/buildbot/#/builders/121/builds/24567
  clang-ppc64le-multistage/stage1
  undefined reference to symbol 'llvm::TargetRegistry::lookupTarget'

Added:
- MC to the LLVM_LINK_COMPONENTS list.

Reviewed By: jryans

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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt b/llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
index d17ea757e586f..94d4e411d5894 100644
--- a/llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
+++ b/llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt
@@ -3,6 +3,7 @@ set(LLVM_LINK_COMPONENTS
   AllTargetsInfos
   AllTargetsDisassemblers
   DebugInfoLogicalView
+  MC
   MCDisassembler
   )
 


        


More information about the llvm-commits mailing list