From 4b1174e27a30f9a627586c5d45e10ba7e801d3bd Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 31 May 2022 15:19:55 +0200 Subject: [PATCH] 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 --- 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