From nobody Thu Sep 17 19:37:09 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 4hm5cV45vhz6tRnY for ; Thu, 17 Sep 2026 19:37:14 +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 4hm5cV29Vmz4SJn for ; Thu, 17 Sep 2026 19:37:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789673834; 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=8x2szMQ3V1i8pQ8hD00Qppy3w7+Z2AsLRZFXjOl0zmw=; b=tymMh7iB5+/vCB+S7dZrLZH+aczxUkb/YCFcexK+Z8trJ6gn6kdUGkT9e/jKQhcQXDUJRv hBXvia/FbYnGN5CUBzDYgJswHiq1S8+jBSSAr6jMtYW5Oe8wp5CrtHIo02wEuIWyiV5OpI ikI3lEj2wE+DicjGxfJzgUZTLBhj6YkOhivx59UWhQnrxDO3u8BmSYIUr0wW5HXuHtp4M2 T8+Oo4URectS18RPTs0O7t1TgTkYGAWr/2dpYVFIilHBDq5VlZPOkmkkyuKZFn/xi91q34 PPhy3CA2xeJ71VY1XUNrHNUnEubUoK1YJ9aeLDZvRvvandbMaABpThbPZhtj8Q== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789673834; b=DoUNtzIQlaYZA3SZvtieAk0lTi0BhJNTg17QsrjtwcgEqoXefbCtBv30SHeRKA6Hil50GH 9zDrHsxaR0XV/A9psIKStQUfhiHF6OKu25EueIc645D5XVGAhNr9CkvIex7BqIvB1H25yC naGibUyEbtfBahgHI9Or0GHb2hmOFc3VH7eehMThkxmo9/O3Ov8mWqg28OBfQ+NJF0YT6j ntOv7ldG7nMlgxFI+8Q4Ztby0FnxgEEZQvTW2/SgkMQfXHnPdRCC95bbc3+f6+BxMNsVtN qiGCib80FAJzM8Wxid5odh2F/CeWreY0y8jxtSVAgNoXAUOxBN59gl/kA9ofXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789673834; 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=8x2szMQ3V1i8pQ8hD00Qppy3w7+Z2AsLRZFXjOl0zmw=; b=Nm2AObEsZq/IzVMKJgl1iTwDSzjgxRV/t4OpsVMJZkcSmi7W1yfZ2VU79A/V36ACZCGrfJ /Vdh8dJDqqSxw9gyN/mGmAQvALAC3GUmtYrZQqe4Xbgc03AFKc5giUNyjhj/JRZvVrq7/S 5Cvtprektl3yMajYQfJsBeYlf9ncGeosp7xo+4w30DTfCS4f0MlSGiywdfw8EMtCt3oIK4 VdbMA0vr0W9PWzZ1Aryc4g9VPky7lM07DilpunZFJ4xaIoaOJ38KhZfzHXVlQh+X15NkoD AtVj+HeRLrvhGMAuh6+w8AK0lAHzzwDbig1T+YogutDpNEotTG7q9VIF5DlyCg== 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 4hm5cV0y7KznHG for ; Thu, 17 Sep 2026 19:37:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3b134 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 17 Sep 2026 19:37:09 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: 8a8c14464dd3 - main - Merge commit 1f332ae4f1b3 from llvm-project (by Alexander Kornienko): 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/main X-Git-Reftype: branch X-Git-Commit: 8a8c14464dd372495c9bf4b87c9b88d73f78d587 Auto-Submitted: auto-generated Date: Thu, 17 Sep 2026 19:37:09 +0000 Message-Id: <6aac4165.3b134.34528883@gitrepo.freebsd.org> The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=8a8c14464dd372495c9bf4b87c9b88d73f78d587 commit 8a8c14464dd372495c9bf4b87c9b88d73f78d587 Author: Dimitry Andric AuthorDate: 2026-09-17 19:32:45 +0000 Commit: Dimitry Andric CommitDate: 2026-09-17 19:36:46 +0000 Merge commit 1f332ae4f1b3 from llvm-project (by Alexander Kornienko): Fix -Wformat diagnostic after #190965 (#193704) Fixes libunwind compiler diagnostic when building with clang after 034d4dcad6396d1241e8262e69871b8d61da7e4f: ``` In file included from libunwind/src/libunwind.cpp:31: In file included from libunwind/src/UnwindCursor.hpp:52: libunwind/src/CompactUnwinder.hpp:339:46: error: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat] 338 | "function starting at 0x%llX", | ~~~~ | %lX 339 | compactEncoding, functionStart); | ^~~~~~~~~~~~~ libunwind/src/config.h:215:63: note: expanded from macro '_LIBUNWIND_DEBUG_LOG' 215 | #define _LIBUNWIND_DEBUG_LOG(msg, ...) _LIBUNWIND_LOG(msg, __VA_ARGS__) | ~~~ ^~~~~~~~~~~ libunwind/src/config.h:181:45: note: expanded from macro '_LIBUNWIND_LOG' 181 | fprintf(stderr, "libunwind: " msg "\n", __VA_ARGS__); \ | ~~~ ^~~~~~~~~~~ In file included from libunwind/src/libunwind.cpp:31: In file included from libunwind/src/UnwindCursor.hpp:52: libunwind/src/CompactUnwinder.hpp:458:39: error: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat] 457 | "function starting at 0x%llX", | ~~~~ | %lX 458 | encoding, functionStart); | ^~~~~~~~~~~~~ libunwind/src/config.h:215:63: note: expanded from macro '_LIBUNWIND_DEBUG_LOG' 215 | #define _LIBUNWIND_DEBUG_LOG(msg, ...) _LIBUNWIND_LOG(msg, __VA_ARGS__) | ~~~ ^~~~~~~~~~~ libunwind/src/config.h:181:45: note: expanded from macro '_LIBUNWIND_LOG' 181 | fprintf(stderr, "libunwind: " msg "\n", __VA_ARGS__); \ | ~~~ ^~~~~~~~~~~ ``` This avoids a -Werror failure with clang >= 23. MFC after: 3 days --- contrib/llvm-project/libunwind/src/CompactUnwinder.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/contrib/llvm-project/libunwind/src/CompactUnwinder.hpp b/contrib/llvm-project/libunwind/src/CompactUnwinder.hpp index a7a8a153d86a..490f61496998 100644 --- a/contrib/llvm-project/libunwind/src/CompactUnwinder.hpp +++ b/contrib/llvm-project/libunwind/src/CompactUnwinder.hpp @@ -12,6 +12,7 @@ #ifndef __COMPACT_UNWINDER_HPP__ #define __COMPACT_UNWINDER_HPP__ +#include #include #include @@ -335,8 +336,8 @@ int CompactUnwinder_x86_64::stepWithCompactEncodingRBPFrame( default: (void)functionStart; _LIBUNWIND_DEBUG_LOG("bad register for RBP frame, encoding=%08X for " - "function starting at 0x%llX", - compactEncoding, functionStart); + "function starting at 0x%" PRIu64 "X", + compactEncoding, functionStart); _LIBUNWIND_ABORT("invalid compact unwind encoding"); } savedRegisters += 8; @@ -454,8 +455,8 @@ int CompactUnwinder_x86_64::stepWithCompactEncodingFrameless( break; default: _LIBUNWIND_DEBUG_LOG("bad register for frameless, encoding=%08X for " - "function starting at 0x%llX", - encoding, functionStart); + "function starting at 0x%" PRIu64 "X", + encoding, functionStart); _LIBUNWIND_ABORT("invalid compact unwind encoding"); } savedRegisters += 8;