[llvm] 7c8072c - [AIX] Fixed a link error.

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 11 15:53:39 PST 2020


Author: diggerlin
Date: 2020-12-11T18:53:10-05:00
New Revision: 7c8072ce2dbcf76a4fcc4269b87dd313c95a526a

URL: https://github.com/llvm/llvm-project/commit/7c8072ce2dbcf76a4fcc4269b87dd313c95a526a
DIFF: https://github.com/llvm/llvm-project/commit/7c8072ce2dbcf76a4fcc4269b87dd313c95a526a.diff

LOG: [AIX] Fixed a link error.

Summary:

 "Speculative fix for link failure on bots" with a mention of "the clang-ppc64le-rhel bot fails on link: http://lab.llvm.org:8011/#/builders/57/builds/2307/steps/6/logs/stdio".

PPCAsmPrinter.cpp:(.text._ZN12_GLOBAL__N_116PPCAIXAsmPrinter19emitFunctionBodyEndEv+0x2f8): undefined reference to `llvm::XCOFF::getNameForTracebackTableLanguageId(llvm::XCOFF::TracebackTable::LanguageID)'
PPCAsmPrinter.cpp:(.text._ZN12_GLOBAL__N_116PPCAIXAsmPrinter19emitFunctionBodyEndEv+0x2170): undefined reference to `llvm::XCOFF::parseParmsType(unsigned int, unsigned int)'

Added: 
    

Modified: 
    llvm/lib/Target/PowerPC/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/PowerPC/CMakeLists.txt b/llvm/lib/Target/PowerPC/CMakeLists.txt
index eb2aa3929fd7..6da1601c169d 100644
--- a/llvm/lib/Target/PowerPC/CMakeLists.txt
+++ b/llvm/lib/Target/PowerPC/CMakeLists.txt
@@ -61,6 +61,7 @@ add_llvm_target(PowerPCCodeGen
   LINK_COMPONENTS
   Analysis
   AsmPrinter
+  BinaryFormat
   CodeGen
   Core
   MC


        


More information about the llvm-commits mailing list