From nobody Fri May 29 23:02:00 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 4gRzQ06MTLz6gF8Q for ; Fri, 29 May 2026 23:02:00 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gRzQ00d9Zz3CBH for ; Fri, 29 May 2026 23:02:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780095720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qCxFWWxHGmI7zvOeK7B+c/LXBgz9awU9zqWQKM8xtGA=; b=Wcu9bhBz17liUDXdMsSme3jB3wFFiPmdVm5naQwGnaGf0pYGdtyRhsjYen3yscYvaPK5Kf b/4e6mdG9F1/1BYDn04VYdzJ7bH6uTw6C7DiNiM5X8LDf8YDr6fyi5pKz3inBHfBbRQNYv 3uF+NeGPFgDbP+0mdbpm3TqUPy6o2ya68kf7fDD//L3UzlEyjuJbgV/b9Km4jxu+f9MwPb NmkHfeSi5MmOi8L1aaYM2Tf6SeUfUgEzp1NgQ2JtCMXTjeipLDnYxtPgupX0pd8v2fW24v rfu3dWzKPB9LhbFiMwwd8MUo0wBUcaoaW1oYiFJc3HDSPIPnaKlaA0e7L+iWsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780095720; a=rsa-sha256; cv=none; b=sTkbnxBfFfs32ZhvIFWRkCS5ThClyhZ+rO8Mc6n9rbfAtthG8vtgC1NUxnNNP/gM7IdOsl EWLbHI6NrGJconT+TZPWd3lgoo9YvIE/+1jwRzQxwYcocV7CNYkH/EDr3rF++adU/mMTeU sjzxWQOCybNTdc0h1BLfdgQqubwCJ3O6IQggNvt32i/PcI2lv2HJr7/1xrP/hGf62P3lQK 2Ew0IAofgqI5hw6xotDJ7dhARtzXuSvNiuXCFL3q3cNl4YqPGtp4d8uRgyFdExPjsoT6KN ywe8vwkNHL7m8GMOvL8Dk3c/eyhMwDpUh8B0HyjbN/1jhjKQ9bxbR+QHBi4/TQ== 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=1780095720; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qCxFWWxHGmI7zvOeK7B+c/LXBgz9awU9zqWQKM8xtGA=; b=wgWUlkoyuxdSsA4XcvJHAFskkJOcy/UAOf6VfHlvEWisoNdZQWBADVtkTorMfBU7xk3Oh7 FmCs0Tle+a1csFhAo9i+ifcRUMbY8GhY2UvXgT8fYLMw2y9k4j5836Cl+dmtbWccsKivbB ARW13ZTsD/W+M8vOO3psZz65/MQzzrCYqeJxD4cBXdCgkFeBtDjZbAgyJXHPMV/4kQL+fh eS7WKu5igrVrBY9f6GPSil9e/YYJ76o4kZ8uS6rFoOiL3AHkfWQCEKjR9xsEDrC8GKAf3s 9Vvb2i11CSjpEOuM1qRKLk6wUy0OO/gUF0YKP7zasZ464TXZ+GAz+LhXcogyvQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gRzQ006CBztSB for ; Fri, 29 May 2026 23:02:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 431dd by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 29 May 2026 23:02:00 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Dimitry Andric From: Dimitry Andric Subject: git: 2be99a578ea3 - stable/15 - libcxx-compat: fix llvmorg-21-init-18351-gfcc09b6f0267: 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/15 X-Git-Reftype: branch X-Git-Commit: 2be99a578ea341a95af49320fb46a9f00fff7969 Auto-Submitted: auto-generated Date: Fri, 29 May 2026 23:02:00 +0000 Message-Id: <6a1a1ae8.431dd.5e66fa17@gitrepo.freebsd.org> The branch stable/15 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=2be99a578ea341a95af49320fb46a9f00fff7969 commit 2be99a578ea341a95af49320fb46a9f00fff7969 Author: Dimitry Andric AuthorDate: 2026-01-05 20:31:45 +0000 Commit: Dimitry Andric CommitDate: 2026-05-29 22:57:32 +0000 libcxx-compat: fix llvmorg-21-init-18351-gfcc09b6f0267: [libc++] Fix std::make_exception_ptr interaction with ObjC (#135386) Clang treats throwing/catching ObjC types differently from C++ types, and omitting the `throw` in `std::make_exception_ptr` breaks ObjC invariants about how types are thrown/caught. Fixes #135089 Co-authored-by: Louis Dionne Only use lambdas when in !defined(_LIBCPP_CXX03_LANG), so this will compile with clang 18 and lower, in C++03 mode and earlier. PR: 292067 MFC after: 1 month (cherry picked from commit 987ac31018cba9f1763ad3acfb68b933f58a4c52) --- contrib/llvm-project/libcxx/include/__exception/exception_ptr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/llvm-project/libcxx/include/__exception/exception_ptr.h b/contrib/llvm-project/libcxx/include/__exception/exception_ptr.h index 796fa924be12..130e90621709 100644 --- a/contrib/llvm-project/libcxx/include/__exception/exception_ptr.h +++ b/contrib/llvm-project/libcxx/include/__exception/exception_ptr.h @@ -93,7 +93,7 @@ public: }; # if _LIBCPP_HAS_EXCEPTIONS -# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION +# if _LIBCPP_AVAILABILITY_HAS_INIT_PRIMARY_EXCEPTION && !defined(_LIBCPP_CXX03_LANG) template _LIBCPP_HIDE_FROM_ABI exception_ptr __make_exception_ptr_explicit(_Ep& __e) _NOEXCEPT { using _Ep2 = __decay_t<_Ep>;