From nobody Tue Oct 06 16:38:46 2026 X-Original-To: dev-commits-src-all@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 4hzhlp5x64z4n9c6 for ; Tue, 06 Oct 2026 16:38:46 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hzhlp3VfDz4n70 for ; Tue, 06 Oct 2026 16:38:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791304726; 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=uPp4Y1ZlbwzPV8VGrrNlSkLCJIdDuhvsi+NFLqXCWDo=; b=CMSfUK4tBVrS2+GzhyJ0PTq8BodufMBjvTQHVRJKt4IajN1pYiS002NeqIqM5c1GAGAD8m y4tCM5Q9UbESOtrTbYUSFSo290FHg5k3EVCXsg7PTqBiIUXrnLzNQkOO9MQOyf/8Wuzlf5 OxkHS3IwyDKE7bZJQhFnT7SIVlmO9NQVRlqXfhJgjV6Rvttarw+vNpb+30E7wPXezu/Dpm tAzcb6itashjUaN/RHOqCZhQTREdx45bCqwFkaFMjVGqK/G9Z+bobLHxIru4BmolBjmFKy l2ZkioOmxFY3BwKUrGSSzm9PuNvJmBDLEuUx5FS9khVnFBH9eXjAMBXPU2TBjQ== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1791304726; b=bXx2OBOBS8UWmbq7ay+ArH5ULcQpG9L73VUtgYCS/gvLsHwvVyQ+TobLKW3qmLHYfcEqUt DLSiN6qJMowyG+2IKzWvwIXOwuoJoy9Q7xnspLjOfgqQ3RCAONbKQGmvsGEItd4B0A5uBH jUO6WSQ8rbQEIfKwQbLsG/uU9KPfdOlCW+h6CSo+PNkRrTpT2AJa6t68cfxbXhsvWG75r+ 4jKztMp7aTSNwgF3aDN/+x6cvVhqx7vg7GON0OPud2CfwzV+4AgKcLs2UsXF/0tjrxxg2A XM6dHPmU+cKBq1hTkwgLa7PTgH/9MHyl/vkNKlRP1Ksyx4CPC4R+0e8RBwIsuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791304726; 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=uPp4Y1ZlbwzPV8VGrrNlSkLCJIdDuhvsi+NFLqXCWDo=; b=ZJyzU1eBKw5bYKBE996OfJQ+wGYmUj9lvP3+va3rhRaZ5uD3GomlvS0+20Y4HnImKoubYg puvhuRxykvdIPw7T2aewcOhiz6waAOg0pzkK1GuQqmLHfUUvEsP3ocLSd7CEbxUY8c2kmI GfrkzMcD/JfUUUnb+bOdn24QmOgOxQD+sO/q9v6xc8xoD5mA6pYlp6tpcxiS5FWyiCrtzX erzH5UnfV8QPwOq6Up8S/XI5kXz7qkS/ojCk2cZH/UtcLeW1e0Uy68xo2zFsrdcfxQnJTy v2/x7C/h3PQ0WmD0uejYO/6o18Ti1Dp2YDMpIE8qw2CYXcOGEyKaXIt0/N370Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hzhlp1XNmzDn5 for ; Tue, 06 Oct 2026 16:38:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 30fae by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 06 Oct 2026 16:38:46 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: 3108ab674752 - stable/14 - Merge commit 80e8c0a59189 from llvm-project (by ShengYi Hung): List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 3108ab6747524117953d0f9fba511ab4d2bcc1e2 Auto-Submitted: auto-generated Date: Tue, 06 Oct 2026 16:38:46 +0000 Message-Id: <6ac52416.30fae.43292c92@gitrepo.freebsd.org> The branch stable/14 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=3108ab6747524117953d0f9fba511ab4d2bcc1e2 commit 3108ab6747524117953d0f9fba511ab4d2bcc1e2 Author: Dimitry Andric AuthorDate: 2026-10-01 12:31:42 +0000 Commit: Dimitry Andric CommitDate: 2026-10-06 16:34:23 +0000 Merge commit 80e8c0a59189 from llvm-project (by ShengYi Hung): [DebugInfo] Fill Column 0 if Line is not found (#227559) It is possible that user specified line 0 as the start of the line in C language (using `# 0`). However, it is rejected by the Lexer as we have no line but still carries column information. As a result, we fill column to 0 if we cannot find line. Assisted-by: Claude # Test Fixes: #56186 This fixes a fatal error when building the textproc/peg port. PR: 264853 MFC after: 3 days (cherry picked from commit 37c9eba1644b0f9e1b5d130ccff381122f48aebe) --- contrib/llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/contrib/llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp b/contrib/llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp index ec28bd259e8e..42e38bfc2872 100644 --- a/contrib/llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/contrib/llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp @@ -4868,9 +4868,12 @@ void CGDebugInfo::CreateLexicalBlock(SourceLocation Loc) { llvm::MDNode *Back = nullptr; if (!LexicalBlockStack.empty()) Back = LexicalBlockStack.back().get(); + // A #line 0 macro carried no line information but still take column + // information. This will finally be rejected by the lexer but is legal. + unsigned Line = getLineNumber(CurLoc); + unsigned Column = Line ? getColumnNumber(CurLoc) : 0; LexicalBlockStack.emplace_back(DBuilder.createLexicalBlock( - cast(Back), getOrCreateFile(CurLoc), getLineNumber(CurLoc), - getColumnNumber(CurLoc))); + cast(Back), getOrCreateFile(CurLoc), Line, Column)); } void CGDebugInfo::AppendAddressSpaceXDeref(