From nobody Tue May 31 15:42:07 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1CE331B6427D; Tue, 31 May 2022 15:42:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LCGjr0LJfz4dTS; Tue, 31 May 2022 15:42:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654011728; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MIvM5lB/cet1QOV5NgX63l3BL7BGD6yGVpWq1agf57w=; b=HiCZ7JwrVIOfCuRJvb/0kXUbp6xT3wkPFXgGZKkhbz7WoDtdvjdGzCqcTxr9KFqukGdVto oWgZkHAzXhAAa1CL6sZob5aBoFo53op9tptlCF4I2IqmdUKbEzu/UjFi0xQSGFSaGnzDXv ajqI6JKZYLJMPbOE+enps8qdtnH48IoCGnTr8UxXN0i9D/u9ttXKwYCHj1E49JfnoOxmAb xtmCM8LKmHhfHSECTd+/fjNpeKQGBKw9i2ZcFlSPfPX2diwAAJAvbH1Z7JEt3kYyhBy9Qx SXz3Y1k4MbGJQueStnrlol+HGlzJvwWZcOw7vA/qUWuguoYMOJ83NXnMapNwcA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DFA0166B0; Tue, 31 May 2022 15:42:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24VFg7Eb099261; Tue, 31 May 2022 15:42:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24VFg7dZ099260; Tue, 31 May 2022 15:42:07 GMT (envelope-from git) Date: Tue, 31 May 2022 15:42:07 GMT Message-Id: <202205311542.24VFg7dZ099260@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: 4b1174e27a30 - main - llvm MIPS target: add missed source file List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4b1174e27a30f9a627586c5d45e10ba7e801d3bd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654011728; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MIvM5lB/cet1QOV5NgX63l3BL7BGD6yGVpWq1agf57w=; b=QgcpIZNmQOhClFN2n8ZtrdM2s/69WO6XbWSp1d0bXYrC2BIasOtZknn85zO0bDULvYvUsr pHWQR8oPIzIrYp2fv++Ocyx5vSqxKeAuoCJSzZNprwtIypwNNg8HWOWE0+BOtAEaQhvcW1 loFaixHae+ft7jSHzGdmOlkpGpOUY8QoNtOnqAxcxvsEuBevd2sqwZOks+62+Phbya4Rli qYP5f16wK5mSszBsMUgx66zuqcVxM0b6fDQxK1PQHOu0pCX5qhjABkGWIEqhVIzlHjFP4F x+hUv4hhiBLWXc9GKDVZK4r+fGBmom0oMEAQUv1UiSzpmMwgIFPChZ0SRCV1vQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654011728; a=rsa-sha256; cv=none; b=DaBVJP+RfJv3O7kVyi2kB/zfMyW05+bZ0ifWM08X+fECXzQw65fV1BsLJXfoHrUzUBJeyr n/TtSot7b1eQBMVEujclVLcAPGmeZ4v4H4+dsrvtTuCqPZGIA4FhXtwBcudgJgjw2ij4XB +ZBxv7DEoNEYaro0pB4YVCcNv1LpYCJXbW8yP8yq8FWp19hG80yNjm/VBAd4cMkOGNuATE /1V9uRfDmp3kzO35Bxrh5l6AW3BMPlZiden100yVh3vfzdLaUR1J8rQ+m+gSvgor6DzKOH yQuxCoiawclDaU3bmRX1dtu9Ok1iFcmCuEYqUjO1v7453qOMsNs+xfI6sl/HKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=4b1174e27a30f9a627586c5d45e10ba7e801d3bd commit 4b1174e27a30f9a627586c5d45e10ba7e801d3bd Author: Dimitry Andric AuthorDate: 2022-05-31 13:19:55 +0000 Commit: Dimitry Andric CommitDate: 2022-05-31 15:41:51 +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 --- 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