git: 9bc98563bf75 - stable/13 - llvm MIPS target: add missed source file
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Jun 2022 12:01:27 UTC
The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=9bc98563bf75d0ba515b480498761194d508b208 commit 9bc98563bf75d0ba515b480498761194d508b208 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2022-05-31 13:19:55 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2022-06-04 12:00:23 +0000 llvm MIPS target: add missed source file Otherwise, linking llvm binaries with this target enabled (which is not the default) will fail with a number of undefined symbol errors: ld: error: undefined symbol: llvm::initializeMipsMulMulBugFixPass(llvm::PassRegistry&) ld: error: undefined symbol: llvm::createMipsMulMulBugPass() MFC after: 3 days (cherry picked from commit 4b1174e27a30f9a627586c5d45e10ba7e801d3bd) --- lib/clang/libllvm/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile index 52216847685a..868f9aa48964 100644 --- a/lib/clang/libllvm/Makefile +++ b/lib/clang/libllvm/Makefile @@ -1301,6 +1301,7 @@ SRCS_MIN+= Target/Mips/MipsLegalizerInfo.cpp SRCS_MIN+= Target/Mips/MipsMCInstLower.cpp SRCS_MIN+= Target/Mips/MipsMachineFunction.cpp SRCS_MIN+= Target/Mips/MipsModuleISelDAGToDAG.cpp +SRCS_MIN+= Target/Mips/MipsMulMulBugPass.cpp SRCS_MIN+= Target/Mips/MipsOptimizePICCall.cpp SRCS_MIN+= Target/Mips/MipsOs16.cpp SRCS_MIN+= Target/Mips/MipsPreLegalizerCombiner.cpp