From nobody Sat Apr 20 10:34:25 2024 X-Original-To: ports-bugs@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 4VM7DL6Pjpz5HWWp for ; Sat, 20 Apr 2024 10:34:26 +0000 (UTC) (envelope-from bugzilla-noreply@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 4VM7DL4442z4SbC for ; Sat, 20 Apr 2024 10:34:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713609266; a=rsa-sha256; cv=none; b=tIKvDpQ2/UruuBI2tpxtOo1wdKrGZ9YfqYD32RnlDe9coqwNN4HE12fw0NZxvrfdv6E4M0 huiwdK7eXNoU4i5xb6WbLCFQCiOjfANKyN2ZR4pcAI3AFKTRebXyKCf2PHHb17MlWaFiBx wXdbrjFB+ROanoOXik1dS0XfTFD1ObquEGybZ2RsC9gsItJo3MVuGkx6hPu/44Ieu0kD2u 4Q7OugXVveuwVFj5cLr/0DiJqyzrKoQQzDjGf2582Kt0l1i1DlIqkJdItUcHWQWd++49Rk fKtwSDSbSCI635QZ4zpVa0FMgCbBCuKnr/USmFm1nnla46Tj6PjJo/FO+b+ylw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713609266; 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: in-reply-to:in-reply-to:references:references; bh=u+N0Ljg1fwokEJroJVwInh/OusBPFhvkrRff4nw0z90=; b=mORW1UD10AZBuOIiROXzhxpHjS8YnZdKDsI8o/DFss1dYH8FsSk8fNpiWXy7GJ1X3Kl/Lr JcvWDAHKctCJ0gSHbpLnlQ7xyktsYto7lQ0JmAKUZeeX6uYLLx6UUgMvsTvKXelrO2EJOM WXEygxabFzwS7tcrVxtrug/lJyS7dkXpa2KMiTBUajtC8pqoTRPEyIuxBhZMlRtS1AzdR+ 3vHtws0+ekUf1rN94VOJrAyraqAssdyh3LbAlw/PFq7CEywlZ7ExeIuO2L3cIpBLQwqNTl Y6lDa+E++TWqwyjWwbIC5c6qbPtrHbsPB4eOJ6X/BW6u3eZ9T2nhd6e31DNwBw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4VM7DL3hRNzZJL for ; Sat, 20 Apr 2024 10:34:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43KAYQe0056000 for ; Sat, 20 Apr 2024 10:34:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43KAYQ34055999 for ports-bugs@FreeBSD.org; Sat, 20 Apr 2024 10:34:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 276104] [exp-run] Against llvm-18-update branch on GitHub Date: Sat, 20 Apr 2024 10:34:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276104 --- Comment #97 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dbf13152d9e61246e5a5f494e5cd02bd55= cccea80 commit bf13152d9e61246e5a5f494e5cd02bd55cccea80 Author: Dimitry Andric AuthorDate: 2024-02-05 09:16:17 +0000 Commit: Dimitry Andric CommitDate: 2024-04-19 21:14:15 +0000 Merge commit 5f4ee5a2dfa9 from llvm-project (by Shanzhi): [Clang][AST] Fix a crash on attaching doc comments (#78716) This crash is basically caused by calling `ASTContext::getRawCommentForDeclNoCacheImp` with its input arguments `RepresentativeLocForDecl` and `CommentsInTheFile` refering to differ= ent files. A reduced reproducer is provided in this patch. After the source locations for instantiations of funtion template are corrected in the commit 256a0b298c68b89688b80350b034daf2f7785b67, the variable `CommitsInThisFile` in the function `ASTContext::attachCommentsToJustParsedDecls` would refer to the sour= ce file rather than the header file for implicit function template instantiation. Therefore, in the first loop in `ASTContext::attachCommentsToJustParsedDecls`, `D` should also be adjusted for relevant scenarios like the second loop. Fixes #67979 Fixes #68524 Fixes #70550 This should fix a segfault when compiling graphics/gdal. PR: 276104 MFC after: 1 month (cherry picked from commit dc36515b628331e03ac8c23a6749f7f3eb1ebec8) contrib/llvm-project/clang/lib/AST/ASTContext.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=