https://github.com/zebullax updated
https://github.com/llvm/llvm-project/pull/148090
>From 11909560ed6cb4e56192fbbfe4d8b1cdf58e1cb1 Mon Sep 17 00:00:00 2001
From: zebullax
Date: Fri, 11 Jul 2025 09:12:44 +0900
Subject: [PATCH 1/2] Build argument string for clang::warn_unused_result
Preserve th
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Timm Baeder (tbaederr)
Changes
So we can know what blocks we're currently running constructors or destructors
for.
---
Full diff: https://github.com/llvm/llvm-project/pull/148120.diff
2 Files Affected:
- (modified) clang/lib/AST/ByteCo
https://github.com/tbaederr created
https://github.com/llvm/llvm-project/pull/148120
So we can know what blocks we're currently running constructors or destructors
for.
>From 047fa0e0bc313548227c724b5b32ce862199f301 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?=
Date: Thu, 10 Ju
https://github.com/woruyu updated
https://github.com/llvm/llvm-project/pull/147959
>From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001
From: woruyu <1214539...@qq.com>
Date: Thu, 10 Jul 2025 21:08:24 +0800
Subject: [PATCH 1/3] fix: replace report_fatal_error with Diags and ex
@@ -2252,7 +2252,7 @@ void Parser::ParseBaseClause(Decl *ClassDecl) {
while (true) {
// Parse a base-specifier.
BaseResult Result = ParseBaseSpecifier(ClassDecl);
-if (Result.isInvalid()) {
+if (!Result.isUsable()) {
cor3ntin wrote:
Result ca
https://github.com/cor3ntin approved this pull request.
Can you add a release note?
LGTM otherwise
https://github.com/llvm/llvm-project/pull/148030
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/
@@ -453,7 +450,7 @@ void ClassifyRefs::VisitCallExpr(CallExpr *CE) {
const auto *UO = dyn_cast(Ex);
if (UO && UO->getOpcode() == UO_AddrOf)
Ex = UO->getSubExpr();
- classify(Ex, Ignore);
+ classify(Ex, Use);
igorkudrin wrote:
@zyg
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/148088
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
/
This change needs a release note.
Please add an entry to `clang/docs/ReleaseNotes.rst` in the section the most
adapted to the change, and referencing any Github issue this change fixes.
Thanks!
https://github.com/llvm/llvm-project/pull/148088
_
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/148088
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin edited
https://github.com/llvm/llvm-project/pull/148088
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/147221
>From f1e26fed6c5023ba59990112ec4a77b024247e4b Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 4 Jul 2025 23:55:41 -0700
Subject: [PATCH 1/3] [clang] Fix -Wuninitialized for values passed by const
poin
cor3ntin wrote:
Thanks for working on this. Can you add some tests?
https://github.com/llvm/llvm-project/pull/148090
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin closed
https://github.com/llvm/llvm-project/pull/132285
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: offsetof
Date: 2025-07-11T08:11:40+02:00
New Revision: e0eb8f0ef3ef908770900a082441588a43cc460f
URL:
https://github.com/llvm/llvm-project/commit/e0eb8f0ef3ef908770900a082441588a43cc460f
DIFF:
https://github.com/llvm/llvm-project/commit/e0eb8f0ef3ef908770900a082441588a43cc460f.diff
LOG:
https://github.com/tclin914 closed
https://github.com/llvm/llvm-project/pull/148097
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -51,4 +39,71 @@ template module module_var_template;
// This is a variable named 'import' that shadows the type 'import' above.
struct X {} import;
-#endif
+
+//--- ImportError1.cppm
+module;
+
+struct import { struct inner {}; };
+struct module { struct inner {}; };
+
+con
https://github.com/tonykuttai closed
https://github.com/llvm/llvm-project/pull/147246
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Himadhith
Date: 2025-07-11T11:10:22+05:30
New Revision: f9292c25cf29e789d58ccd91fb29428abfc7d8fa
URL:
https://github.com/llvm/llvm-project/commit/f9292c25cf29e789d58ccd91fb29428abfc7d8fa
DIFF:
https://github.com/llvm/llvm-project/commit/f9292c25cf29e789d58ccd91fb29428abfc7d8fa.diff
LOG
https://github.com/tonykuttai updated
https://github.com/llvm/llvm-project/pull/147246
>From 118389439ac39b9d097b26450e5934a38be8f740 Mon Sep 17 00:00:00 2001
From: himadhith
Date: Mon, 7 Jul 2025 07:31:59 +
Subject: [PATCH 1/2] NFC test cases lockdown for vector compare equal
---
.../tes
https://github.com/topperc closed
https://github.com/llvm/llvm-project/pull/148023
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/tonykuttai approved this pull request.
LGTM !
https://github.com/llvm/llvm-project/pull/147246
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
dyung wrote:
57194ac5053628955277e87dc51c74ad982bd543 should fix the test failure in builds
without assertions.
https://github.com/llvm/llvm-project/pull/142313
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
Author: Douglas Yung
Date: 2025-07-11T05:35:35Z
New Revision: 57194ac5053628955277e87dc51c74ad982bd543
URL:
https://github.com/llvm/llvm-project/commit/57194ac5053628955277e87dc51c74ad982bd543
DIFF:
https://github.com/llvm/llvm-project/commit/57194ac5053628955277e87dc51c74ad982bd543.diff
LOG:
dyung wrote:
> I am part of a toolchain team at Google and we are seeing clang test failures
> in our toolchain builders from this PR.
>
> ```
> Exit Code: 1
>
> Command Output (stderr):
> --
> /b/s/w/ir/x/w/llvm_build/bin/clang -cc1 -internal-isystem
> /b/s/w/ir/x/w/llvm_build/lib/clang/21/i
vbvictor wrote:
> One last thing I'm missing: can you update the clang-tidy contributors guide,
> to explain that we expect people to run clang-tidy as well (and what command
> to run)? Since it's not currently enforced in CI.
I will add it in a separate PR. Don't feel right to make kind-of un
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/147899
>From 0d38b0d9b153bfb55c199d3bb4b6cdca2f708af9 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Wed, 9 Jul 2025 17:30:48 -0700
Subject: [PATCH 1/4] [clang][ObjC][PAC] Add ptrauth protections to objective-c
This
https://github.com/4vtomat approved this pull request.
LGTM~ thanks!!
https://github.com/llvm/llvm-project/pull/148023
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/4vtomat approved this pull request.
LGTM~ thanks!
https://github.com/llvm/llvm-project/pull/148097
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,254 @@
+//===--- AvoidPlatformSpecificFundamentalTypesCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,254 @@
+//===--- AvoidPlatformSpecificFundamentalTypesCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,50 @@
+//==-- AvoidPlatformSpecificFundamentalTypesCheck.h - clang-tidy -*- C++
-*-==//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apa
@@ -0,0 +1,69 @@
+// RUN: %check_clang_tidy -std=c++11-or-later %s
portability-avoid-platform-specific-fundamental-types %t --
-config="{CheckOptions: [{key:
portability-avoid-platform-specific-fundamental-types.WarnOnInts, value:
false}, {key:
portability-avoid-platform-spec
@@ -0,0 +1,69 @@
+// RUN: %check_clang_tidy -std=c++11-or-later %s
portability-avoid-platform-specific-fundamental-types %t --
-config="{CheckOptions: [{key:
portability-avoid-platform-specific-fundamental-types.WarnOnInts, value:
false}, {key:
portability-avoid-platform-spec
@@ -0,0 +1,254 @@
+//===--- AvoidPlatformSpecificFundamentalTypesCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,254 @@
+//===--- AvoidPlatformSpecificFundamentalTypesCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,254 @@
+//===--- AvoidPlatformSpecificFundamentalTypesCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,254 @@
+//===--- AvoidPlatformSpecificFundamentalTypesCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -0,0 +1,254 @@
+//===--- AvoidPlatformSpecificFundamentalTypesCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
https://github.com/cyndyishida updated
https://github.com/llvm/llvm-project/pull/147969
>From 87900ca81b552c9d7718c8a38a21f53260534c6e Mon Sep 17 00:00:00 2001
From: Cyndy Ishida
Date: Wed, 9 Jul 2025 21:50:44 -0700
Subject: [PATCH] [clang][scan-deps] Report a scanned TU's visible modules
---
@@ -0,0 +1,260 @@
+//===--- AvoidPlatformSpecificFundamentalTypesCheck.cpp - clang-tidy
--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
https://github.com/woruyu updated
https://github.com/llvm/llvm-project/pull/147959
>From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001
From: woruyu <1214539...@qq.com>
Date: Thu, 10 Jul 2025 21:08:24 +0800
Subject: [PATCH 1/3] fix: replace report_fatal_error with Diags and ex
https://github.com/woruyu updated
https://github.com/llvm/llvm-project/pull/147959
>From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001
From: woruyu <1214539...@qq.com>
Date: Thu, 10 Jul 2025 21:08:24 +0800
Subject: [PATCH 1/3] fix: replace report_fatal_error with Diags and ex
https://github.com/MaskRay closed
https://github.com/llvm/llvm-project/pull/147997
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MaskRay wrote:
The current -fsanitize-trap behavior is intentional. See
https://discourse.llvm.org/t/clang-gsoc-2025-usability-improvements-for-trapping-undefined-behavior-sanitizer/84568/11
I believe Google actually depended on -fsanitize-trap=undefined not leading to
warnings/errors when -fs
Author: Chuanqi Xu
Date: 2025-07-11T11:18:21+08:00
New Revision: aa9902691db5cbb9db77270902f615f3c0877deb
URL:
https://github.com/llvm/llvm-project/commit/aa9902691db5cbb9db77270902f615f3c0877deb
DIFF:
https://github.com/llvm/llvm-project/commit/aa9902691db5cbb9db77270902f615f3c0877deb.diff
LO
https://github.com/wenju-he edited
https://github.com/llvm/llvm-project/pull/146814
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,24 @@
+//===--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apac
@@ -0,0 +1,24 @@
+//===--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apac
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/147899
>From 0d38b0d9b153bfb55c199d3bb4b6cdca2f708af9 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Wed, 9 Jul 2025 17:30:48 -0700
Subject: [PATCH 1/3] [clang][ObjC][PAC] Add ptrauth protections to objective-c
This
woruyu wrote:
> Need a test case at least.
Done!
https://github.com/llvm/llvm-project/pull/147959
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/woruyu updated
https://github.com/llvm/llvm-project/pull/147959
>From e18ed1ac787a0571318b8cfe1d4eee023ba11fc2 Mon Sep 17 00:00:00 2001
From: woruyu <1214539...@qq.com>
Date: Thu, 10 Jul 2025 21:08:24 +0800
Subject: [PATCH 1/2] fix: replace report_fatal_error with Diags and ex
https://github.com/cyndyishida updated
https://github.com/llvm/llvm-project/pull/147969
>From b72bf3e6bf1319594aa0243ed8f32a61f2436d58 Mon Sep 17 00:00:00 2001
From: Cyndy Ishida
Date: Wed, 9 Jul 2025 21:50:44 -0700
Subject: [PATCH] [clang][scan-deps] Report a scanned TU's visible modules
---
zyn0217 wrote:
Given the scale of the patch, it's not surprising if it undergoes some
revert-reapplies cycles after the initial commit.
To reduce the churn, would it be possible to ask google to test it internally
before we merge? @AaronBallman
https://github.com/llvm/llvm-project/pull/14783
@@ -2252,7 +2252,7 @@ void Parser::ParseBaseClause(Decl *ClassDecl) {
while (true) {
// Parse a base-specifier.
BaseResult Result = ParseBaseSpecifier(ClassDecl);
-if (Result.isInvalid()) {
+if (!Result.isUsable()) {
shafik wrote:
I am a bit
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jim Lin (tclin914)
Changes
https://github.com/riscv-non-isa/rvv-intrinsic-doc/commit/d6d33a0e60fd234f26b79e4fcb00e6ace0b64b4c
adds missing indexed load/store which with other index size.
---
Patch is 2.67 MiB, truncated to 20.00 KiB belo
https://github.com/igorkudrin closed
https://github.com/llvm/llvm-project/pull/147898
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Igor Kudrin
Date: 2025-07-10T18:24:19-07:00
New Revision: f0befb0dcda4e908f6cd0b771753a36cc5fb980f
URL:
https://github.com/llvm/llvm-project/commit/f0befb0dcda4e908f6cd0b771753a36cc5fb980f
DIFF:
https://github.com/llvm/llvm-project/commit/f0befb0dcda4e908f6cd0b771753a36cc5fb980f.diff
L
Author: Igor Kudrin
Date: 2025-07-10T18:22:53-07:00
New Revision: aa4c8564c5df217bf589fed21dc009e21c3e9ca5
URL:
https://github.com/llvm/llvm-project/commit/aa4c8564c5df217bf589fed21dc009e21c3e9ca5
DIFF:
https://github.com/llvm/llvm-project/commit/aa4c8564c5df217bf589fed21dc009e21c3e9ca5.diff
L
https://github.com/igorkudrin closed
https://github.com/llvm/llvm-project/pull/147897
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vogelsgesang wrote:
I was able to verify that this was indeed the issue by compiling a C++ program
using `-gmlt`.
Fix is in #148095
https://github.com/llvm/llvm-project/pull/141937
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists
@@ -0,0 +1,227 @@
+.. title:: clang-tidy - portability-avoid-platform-specific-fundamental-types
+
+portability-avoid-platform-specific-fundamental-types
+=
+
+Finds fundamental types (e.g. `int`, `float`) and recommends using ty
@@ -0,0 +1,227 @@
+.. title:: clang-tidy - portability-avoid-platform-specific-fundamental-types
+
+portability-avoid-platform-specific-fundamental-types
+=
+
+Finds fundamental types (e.g. `int`, `float`) and recommends using ty
@@ -0,0 +1,227 @@
+.. title:: clang-tidy - portability-avoid-platform-specific-fundamental-types
+
+portability-avoid-platform-specific-fundamental-types
+=
+
+Finds fundamental types (e.g. `int`, `float`) and recommends using ty
@@ -0,0 +1,227 @@
+.. title:: clang-tidy - portability-avoid-platform-specific-fundamental-types
+
+portability-avoid-platform-specific-fundamental-types
+=
+
+Finds fundamental types (e.g. `int`, `float`) and recommends using ty
@@ -0,0 +1,227 @@
+.. title:: clang-tidy - portability-avoid-platform-specific-fundamental-types
+
+portability-avoid-platform-specific-fundamental-types
+=
+
+Finds fundamental types (e.g. `int`, `float`) and recommends using ty
@@ -0,0 +1,227 @@
+.. title:: clang-tidy - portability-avoid-platform-specific-fundamental-types
+
+portability-avoid-platform-specific-fundamental-types
+=
+
+Finds fundamental types (e.g. `int`, `float`) and recommends using ty
@@ -0,0 +1,227 @@
+.. title:: clang-tidy - portability-avoid-platform-specific-fundamental-types
+
+portability-avoid-platform-specific-fundamental-types
+=
+
+Finds fundamental types (e.g. `int`, `float`) and recommends using ty
@@ -148,6 +148,13 @@ New checks
Finds uses of ``std::lock_guard`` and suggests replacing them with C++17's
alternative ``std::scoped_lock``.
+- New :doc:`portability-avoid-platform-specific-fundamental-types
+ `
+ check.
+
+ Finds fundamental types (e.g. `int`, `float`
Author: Owen Pan
Date: 2025-07-10T18:14:45-07:00
New Revision: cb52efb8936c0da0a03958daa95d45eaaf8806fb
URL:
https://github.com/llvm/llvm-project/commit/cb52efb8936c0da0a03958daa95d45eaaf8806fb
DIFF:
https://github.com/llvm/llvm-project/commit/cb52efb8936c0da0a03958daa95d45eaaf8806fb.diff
LOG:
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/147648
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,43 @@
+// REQUIRES: lld
+
+/// Check DTLTO options are forwarded to the linker.
+
+// RUN: echo "--target=x86_64-linux-gnu \
+// RUN: -Xthinlto-distributor=distarg1 \
+// RUN: -Xthinlto-distributor=distarg2,distarg3 \
+// RUN: -fuse-ld=lld" > %t.rsp
+
+/// Check t
@@ -513,9 +513,9 @@ struct FormatStyle {
ENAS_LeftWithLastLine,
/// Align escaped newlines in the right-most column.
/// \code
-/// #define A
\
-/// int ;
@@ -0,0 +1,57 @@
+// REQUIRES: lld
+
+/// Check DTLTO options are forwarded to the linker.
+
+/// Create a response file for all FileCheck invocations to share. These
implicit
+/// checks ensure that all lines which mention DTLTO options are checked,
+/// and that no unexpected w
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/146245
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2025-07-10T18:07:17-07:00
New Revision: 7704f817d0a60596c4c8883c8a8ece67f0a8255a
URL:
https://github.com/llvm/llvm-project/commit/7704f817d0a60596c4c8883c8a8ece67f0a8255a
DIFF:
https://github.com/llvm/llvm-project/commit/7704f817d0a60596c4c8883c8a8ece67f0a8255a.diff
LOG:
Prabhuk wrote:
I am part of a toolchain team at Google and we are seeing clang test failures
in our toolchain builders from this PR.
```
Exit Code: 1
Command Output (stderr):
--
/b/s/w/ir/x/w/llvm_build/bin/clang -cc1 -internal-isystem
/b/s/w/ir/x/w/llvm_build/lib/clang/21/include -nostdsyste
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/147899
>From 0d38b0d9b153bfb55c199d3bb4b6cdca2f708af9 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Wed, 9 Jul 2025 17:30:48 -0700
Subject: [PATCH 1/2] [clang][ObjC][PAC] Add ptrauth protections to objective-c
This
https://github.com/bd1976bris updated
https://github.com/llvm/llvm-project/pull/147265
>From 737bb8c03620d668299a9b85d34eb659a30eebfb Mon Sep 17 00:00:00 2001
From: Dunbobbin
Date: Thu, 5 Jun 2025 17:10:31 +0100
Subject: [PATCH 01/13] [DTLTO][Clang] Add support for Integrated Distributed
ThinL
@@ -0,0 +1,43 @@
+// REQUIRES: lld
+
+/// Check DTLTO options are forwarded to the linker.
+
+// RUN: echo "--target=x86_64-linux-gnu \
+// RUN: -Xthinlto-distributor=distarg1 \
+// RUN: -Xthinlto-distributor=distarg2,distarg3 \
+// RUN: -fuse-ld=lld" > %t.rsp
--
@@ -0,0 +1,43 @@
+// REQUIRES: lld
+
+/// Check DTLTO options are forwarded to the linker.
+
+// RUN: echo "--target=x86_64-linux-gnu \
+// RUN: -Xthinlto-distributor=distarg1 \
+// RUN: -Xthinlto-distributor=distarg2,distarg3 \
+// RUN: -fuse-ld=lld" > %t.rsp
+
+/// Check t
jeremyd2019 wrote:
By simply removing `AND NOT CYGWIN` from
https://github.com/llvm/llvm-project/blob/6fc3b40b2cfc33550dd489072c01ffab16535840/llvm/cmake/modules/AddLLVM.cmake#L753
```
usr/bin/cygLLVM.dll -> cygLLVM-20.dll
usr/bin/cygLLVM-20.1.8.dll -> cygLLVM-20.dll
usr/bin/cygLLVM-20.dll
```
@@ -455,6 +455,21 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C,
const JobAction &JA,
addLTOOptions(ToolChain, Args, CmdArgs, Output, Inputs,
D.getLTOMode() == LTOK_Thin);
+ // Forward the DTLTO options to the linker. We add these uncondi
ojhunt wrote:
dammit habitually force pushed a squash and rebase. #skilled.
https://github.com/llvm/llvm-project/pull/147899
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/147899
>From 0d38b0d9b153bfb55c199d3bb4b6cdca2f708af9 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Wed, 9 Jul 2025 17:30:48 -0700
Subject: [PATCH] [clang][ObjC][PAC] Add ptrauth protections to objective-c
This PR i
https://github.com/zebullax edited
https://github.com/llvm/llvm-project/pull/148090
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zygoloid approved this pull request.
Thanks!
https://github.com/llvm/llvm-project/pull/147898
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: Utkarsh Saxena (usx95)
Changes
This patch introduces the core dataflow analysis infrastructure for the C++
Lifetime Safety checker. This change implements the logic to propagate "loan"
information across the control-flow graph. T
https://github.com/usx95 ready_for_review
https://github.com/llvm/llvm-project/pull/148065
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -27,7 +27,7 @@ int const_use(const int i);
void f(int a) {
int i;
const_ref_use(i); // expected-warning {{variable 'i' is
uninitialized when passed as a const reference argument here}}
- int j = j + const_ref_use(j); // expected-warning {{variable 'j' is
u
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/147898
>From a813a4c665579b3654b287ff64c8180139879a38 Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Wed, 9 Jul 2025 21:19:40 -0700
Subject: [PATCH 1/2] [clang] Combine ConstRefUse with other warnings for
uniniti
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/148065
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
usx95 wrote:
* **#148065** https://app.graphite.dev/github/pr/llvm/llvm-project/148065?utm_source=stack-comment-icon";
target="_blank">https://static.graphite.dev/graphite-32x32-black.png"; alt="Graphite"
width="10px" height="10px"/> 👈 https://app.graphite.dev/github/pr/llvm/llvm-project/148065
https://github.com/usx95 created
https://github.com/llvm/llvm-project/pull/148065
None
>From f6ca9022b136007bfbd369e71b4361829aeb89e0 Mon Sep 17 00:00:00 2001
From: Utkarsh Saxena
Date: Thu, 10 Jul 2025 22:00:01 +
Subject: [PATCH] [LifetimeSafety] Implement dataflow analysis for loan
prop
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `fuchsia-x86_64-linux`
running on `fuchsia-debian-64-us-central1-b-1` while building `clang` at step 4
"annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/11/builds/19276
Here is the relevant
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
@llvm/pr-subscribers-clang
Author: WhatAmISupposedToPutHere (WhatAmISupposedToPutHere)
Changes
Similar to how clang-cl driver does it, make it possible to build arm64x
binaries with a mingw-style invocation.
---
Full diff: https://github.c
https://github.com/WhatAmISupposedToPutHere created
https://github.com/llvm/llvm-project/pull/148064
Similar to how clang-cl driver does it, make it possible to build arm64x
binaries with a mingw-style invocation.
>From ced43ee83d1c830293146363e60a57c3dfb8a93a Mon Sep 17 00:00:00 2001
From: Sa
https://github.com/jofrn updated
https://github.com/llvm/llvm-project/pull/148062
>From b8c027c278248eeb53d561c2acb2784ce3dcfc34 Mon Sep 17 00:00:00 2001
From: jofrn
Date: Thu, 10 Jul 2025 17:34:38 -0400
Subject: [PATCH] [clang][CodeGen] Preserve addrspace of enqueue_kernel
builtin.
__enqueue
jeremyd2019 wrote:
> > I was planning to refer to that, MinGW.cpp, and the GCC spec for Cygwin,
> > and see if I could come up with a couple of places where virtual functions
> > could be added to the MinGW::Linker class so that Cygwin::Linker could
> > derive from it and override (I think the
https://github.com/efriedma-quic commented:
I'm not really happy with the way the code is organized for "coerced"
load/store involving scalable types.
At the point where we're analyzing the calling convention; we have a bunch of
information: exactly what kind of coercion we're doing, whether t
1 - 100 of 463 matches
Mail list logo