https://github.com/melver approved this pull request.
https://github.com/llvm/llvm-project/pull/138323
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/133681
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bjope closed https://github.com/llvm/llvm-project/pull/138244
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/anutosh491 updated
https://github.com/llvm/llvm-project/pull/137458
>From 1d773dea825579e43485b99d57931c6fa19f1768 Mon Sep 17 00:00:00 2001
From: anutosh491
Date: Sat, 26 Apr 2025 18:56:38 +0530
Subject: [PATCH 1/2] Delegate CodeGen related operations for PTU to
IncrementalP
Author: Björn Pettersson
Date: 2025-05-05T09:15:32+02:00
New Revision: 0054ab4dc84b2c8c054fc89df4ca745514ca0da4
URL:
https://github.com/llvm/llvm-project/commit/0054ab4dc84b2c8c054fc89df4ca745514ca0da4
DIFF:
https://github.com/llvm/llvm-project/commit/0054ab4dc84b2c8c054fc89df4ca745514ca0da4.di
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp,h --
clang/lib/Interpreter/IncrementalAction.cpp
clang/
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin`
running on `doug-worker-4` while building `clang` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/190/builds/19477
Here is th
@@ -2361,6 +2361,13 @@ def fsanitize_coverage_ignorelist : Joined<["-"],
"fsanitize-coverage-ignorelist
HelpText<"Disable sanitizer coverage instrumentation for modules and
functions "
"that match the provided special case list, even the allowed
ones">,
https://github.com/melver edited
https://github.com/llvm/llvm-project/pull/138323
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2025-05-05T09:06:34+02:00
New Revision: ecc73a6f1ce61a17250a45ee7cda289cc264f608
URL:
https://github.com/llvm/llvm-project/commit/ecc73a6f1ce61a17250a45ee7cda289cc264f608
DIFF:
https://github.com/llvm/llvm-project/commit/ecc73a6f1ce61a17250a45ee7cda289cc264f608.diff
L
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/138461
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nathan Ridge
Date: 2025-05-05T03:13:25-04:00
New Revision: 1b0a0c7382bff13e272dd547210edfa6bb06d15f
URL:
https://github.com/llvm/llvm-project/commit/1b0a0c7382bff13e272dd547210edfa6bb06d15f
DIFF:
https://github.com/llvm/llvm-project/commit/1b0a0c7382bff13e272dd547210edfa6bb06d15f.diff
https://github.com/melver commented:
Generally LGTM - but let's also wait for others to comment.
Documentation of this feature is lacking (and afaik also wasn't added in
https://reviews.llvm.org/D36839). Given this will be used in the kernel, some
kind of official documentation might be good t
https://github.com/anutosh491 updated
https://github.com/llvm/llvm-project/pull/137458
>From 1d773dea825579e43485b99d57931c6fa19f1768 Mon Sep 17 00:00:00 2001
From: anutosh491
Date: Sat, 26 Apr 2025 18:56:38 +0530
Subject: [PATCH 1/2] Delegate CodeGen related operations for PTU to
IncrementalP
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building
`clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/174/builds/17240
Her
https://github.com/anutosh491 updated
https://github.com/llvm/llvm-project/pull/137458
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,san
@@ -9125,9 +9126,25 @@ bool
LValueExprEvaluator::VisitCompoundLiteralExpr(const CompoundLiteralExpr *E) {
assert((!Info.getLangOpts().CPlusPlus || E->isFileScope()) &&
"lvalue compound literal in c++?");
- // Defer visiting the literal until the lvalue-to-rvalue con
Author: Sven van Haastregt
Date: 2025-05-05T09:52:51+02:00
New Revision: 0f6b671a9b76ccd089f35156d47aae8f21be7e39
URL:
https://github.com/llvm/llvm-project/commit/0f6b671a9b76ccd089f35156d47aae8f21be7e39
DIFF:
https://github.com/llvm/llvm-project/commit/0f6b671a9b76ccd089f35156d47aae8f21be7e39.
https://github.com/svenvh closed
https://github.com/llvm/llvm-project/pull/138287
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Anutosh Bhat
Date: 2025-05-05T11:02:33+03:00
New Revision: 529b6fcb00aabbed17365e5fb3abbc2ae127c967
URL:
https://github.com/llvm/llvm-project/commit/529b6fcb00aabbed17365e5fb3abbc2ae127c967
DIFF:
https://github.com/llvm/llvm-project/commit/529b6fcb00aabbed17365e5fb3abbc2ae127c967.diff
https://github.com/vgvassilev approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/138091
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vgvassilev closed
https://github.com/llvm/llvm-project/pull/138091
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building
`clang` at step 6 "test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/174/builds/17243
Her
https://github.com/vgvassilev milestoned
https://github.com/llvm/llvm-project/pull/138091
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vgvassilev wrote:
Generally we should wait a day or two for the bots to go through these
changes...
https://github.com/llvm/llvm-project/pull/138091
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
cdevadas wrote:
> Apparently the inliner has an arbitrary size threshold even for single uses.
> I don't see the point of that, we should probably remove that
I had a similar concern. For a single use and in this case especially when the
call `Inst` is the only instruction in the Caller, it sh
Author: Jim Lin
Date: 2025-05-05T16:40:49+08:00
New Revision: 56097bce97b4f0a9717268e9ddc1bb72bc49390c
URL:
https://github.com/llvm/llvm-project/commit/56097bce97b4f0a9717268e9ddc1bb72bc49390c
DIFF:
https://github.com/llvm/llvm-project/commit/56097bce97b4f0a9717268e9ddc1bb72bc49390c.diff
LOG:
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/138440
>From 90803c382ecb040e016034d5798d739739ece03a Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Sat, 3 May 2025 23:38:18 -0700
Subject: [PATCH 1/2] [clang-format] Don't annotate enum colon as
InheritanceColon
Fix
https://github.com/MaskRay commented:
clang/test/Driver/Inputs/resource_dir/lib/aix/libclang_rt.asan-powerpc.a is the
old runtime path.
Does $triple/libclang_rt.asan.a work? If yes, the new hierarchy is preferred
https://github.com/llvm/llvm-project/pull/129925
_
@@ -256,6 +256,8 @@ def err_drv_malformed_sanitizer_metadata_ignorelist : Error<
"malformed sanitizer metadata ignorelist: '%0'">;
def err_drv_unsupported_static_sanitizer_darwin : Error<
MaskRay wrote:
Rename this one to `err_drv_unsupported_static_sanitizer
https://github.com/halbi2 updated
https://github.com/llvm/llvm-project/pull/137899
>From 41feb9bdb2d3bcc218f351c54627bb258062a5bc Mon Sep 17 00:00:00 2001
From: halbi2
Date: Mon, 28 Apr 2025 20:07:43 -0400
Subject: [PATCH] [clang] Warn about deprecated volatile-qualified return types
The old c
https://github.com/halbi2 edited
https://github.com/llvm/llvm-project/pull/137899
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin commented:
Can you:add tests? Thanks
https://github.com/llvm/llvm-project/pull/138616
___
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/138616
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
The change looks reasonable but can you add a test? thanks!
https://github.com/llvm/llvm-project/pull/138610
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bader closed https://github.com/llvm/llvm-project/pull/138555
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zwuis updated
https://github.com/llvm/llvm-project/pull/134522
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-ser
@@ -259,6 +260,45 @@ void aix::Linker::ConstructJob(Compilation &C, const
JobAction &JA,
// Specify linker input file(s).
AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA);
+ // Add sanitizer libraries.
+ const SanitizerArgs &Sanitize = ToolChain.getSanitizerArgs(Ar
@@ -259,6 +260,45 @@ void aix::Linker::ConstructJob(Compilation &C, const
JobAction &JA,
// Specify linker input file(s).
AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA);
+ // Add sanitizer libraries.
+ const SanitizerArgs &Sanitize = ToolChain.getSanitizerArgs(Ar
@@ -1364,6 +1364,19 @@ static bool addSanitizerDynamicList(const ToolChain &TC,
const ArgList &Args,
// the option, so don't try to pass it.
if (TC.getTriple().isOSSolaris() && !LinkerIsGnuLd)
return true;
+
+ if (TC.getTriple().isOSAIX()) {
daltenty
@@ -259,6 +260,45 @@ void aix::Linker::ConstructJob(Compilation &C, const
JobAction &JA,
// Specify linker input file(s).
AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA);
+ // Add sanitizer libraries.
+ const SanitizerArgs &Sanitize = ToolChain.getSanitizerArgs(Ar
@@ -259,6 +260,45 @@ void aix::Linker::ConstructJob(Compilation &C, const
JobAction &JA,
// Specify linker input file(s).
AddLinkerInputs(ToolChain, Inputs, Args, CmdArgs, JA);
+ // Add sanitizer libraries.
+ const SanitizerArgs &Sanitize = ToolChain.getSanitizerArgs(Ar
@@ -1364,6 +1364,19 @@ static bool addSanitizerDynamicList(const ToolChain &TC,
const ArgList &Args,
// the option, so don't try to pass it.
if (TC.getTriple().isOSSolaris() && !LinkerIsGnuLd)
return true;
+
+ if (TC.getTriple().isOSAIX()) {
+SmallString<128> SanR
https://github.com/ojhunt updated
https://github.com/llvm/llvm-project/pull/138616
>From b12d78087c521d61f3e078d5a0d79889b17fbde9 Mon Sep 17 00:00:00 2001
From: Oliver Hunt
Date: Mon, 5 May 2025 16:17:15 -0700
Subject: [PATCH 1/2] [clang] Ensure type aware allocators handle transparent
decl co
ojhunt wrote:
> Can you add tests? Thanks
sigh, I thought I had :D please hold
https://github.com/llvm/llvm-project/pull/138616
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/138631
Fix #78666
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,A
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Fix #78666
---
Full diff: https://github.com/llvm/llvm-project/pull/138631.diff
2 Files Affected:
- (modified) clang/lib/Format/TokenAnnotator.cpp (+5-15)
- (modified) clang/unittests/Format/TokenAnnota
ayushpareek2003 wrote:
> Could you elaborate? Why `= {}` is better than `.clear()` ?
according to my understanding, Clang stores some build-specific data in
CodeGenOptions like file paths and debug info. When generating modules or
precompiled headers, this data can make the output different fr
ChuanqiXu9 wrote:
I feel `.clear()` should have a similar semantic with `= {};`. It will be
confusing for people to understand this. It will be helpful if you can provide
a test to show the difference.
https://github.com/llvm/llvm-project/pull/138256
___
@@ -385,6 +385,49 @@ Users need to implement a single function to capture the
CF table at startup:
// the collected control flow.
}
+Tracing Stack Depth
+===
+
+With ``-fsanitize-coverage=stack-depth`` the compiler will track how much
+stack space has be
@@ -385,6 +385,49 @@ Users need to implement a single function to capture the
CF table at startup:
// the collected control flow.
}
+Tracing Stack Depth
+===
+
+With ``-fsanitize-coverage=stack-depth`` the compiler will track how much
+stack space has be
@@ -385,6 +385,49 @@ Users need to implement a single function to capture the
CF table at startup:
// the collected control flow.
}
+Tracing Stack Depth
+===
+
+With ``-fsanitize-coverage=stack-depth`` the compiler will track how much
+stack space has be
@@ -25,6 +26,17 @@ static bool isGeneratedDecl(const Decl *D) {
return false;
}
+IndexingContext::IndexingContext(IndexingOptions IndexOpts,
+ IndexDataConsumer &DataConsumer)
+: IndexOpts(IndexOpts), DataConsumer(DataConsumer) {}
+
+Index
https://github.com/HighCommander4 created
https://github.com/llvm/llvm-project/pull/138640
None
>From eeeb71e72e3d5e9da5227b0f2f1d6e870e393a7c Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Tue, 6 May 2025 02:50:47 -0400
Subject: [PATCH] [clang][Index] Add comment about out-of-line defaulte
HighCommander4 wrote:
Per discussion at
https://github.com/llvm/llvm-project/pull/125153#discussion_r2074478720
https://github.com/llvm/llvm-project/pull/138640
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Nathan Ridge (HighCommander4)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/138640.diff
1 Files Affected:
- (modified) clang/lib/Index/IndexingContext.h (+1)
``diff
diff --git a/clang/lib/Index/IndexingCon
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff HEAD~1 HEAD --extensions h --
clang/lib/Index/IndexingContext.h
``
View
@@ -385,6 +385,49 @@ Users need to implement a single function to capture the
CF table at startup:
// the collected control flow.
}
+Tracing Stack Depth
+===
+
+With ``-fsanitize-coverage=stack-depth`` the compiler will track how much
+stack space has be
kees wrote:
Okay, a couple small clean-ups, and I've also solved the lack of dynamic stack
size tracking.
https://github.com/llvm/llvm-project/pull/138323
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/l
https://github.com/cor3ntin approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/134522
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1078,22 +1091,61 @@ void
ModuleSanitizerCoverage::InjectCoverageAtBlock(Function &F, BasicBlock &BB,
Store->setNoSanitizeMetadata();
}
if (Options.StackDepth && IsEntryBB && !IsLeafFunc) {
-// Check stack depth. If it's the deepest so far, record it.
Modu
ShashwathiNavada wrote:
ping @MaskRay
https://github.com/llvm/llvm-project/pull/125643
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin approved this pull request.
https://github.com/llvm/llvm-project/pull/138616
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1078,22 +1091,61 @@ void
ModuleSanitizerCoverage::InjectCoverageAtBlock(Function &F, BasicBlock &BB,
Store->setNoSanitizeMetadata();
}
if (Options.StackDepth && IsEntryBB && !IsLeafFunc) {
-// Check stack depth. If it's the deepest so far, record it.
Modu
ziqingluo-90 wrote:
> @ziqingluo-90 I had already responded here: [#130778
> (comment)](https://github.com/llvm/llvm-project/issues/130778#issuecomment-2843256610)
>
> I think you moved your post between issues after I had responded.
@mizvekov Oh, I see! Thank you!
https://github.com/llvm/ll
@@ -82,6 +83,17 @@ class OpenACCClauseCIREmitter final
return conversionOp.getResult(0);
}
+ mlir::Value createConstantInt(mlir::Location loc, unsigned width,
+int64_t value) {
+mlir::IntegerType ty = mlir::IntegerType::get(
+
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/138440
>From 90803c382ecb040e016034d5798d739739ece03a Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Sat, 3 May 2025 23:38:18 -0700
Subject: [PATCH 1/3] [clang-format] Don't annotate enum colon as
InheritanceColon
Fix
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/138440
>From 90803c382ecb040e016034d5798d739739ece03a Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Sat, 3 May 2025 23:38:18 -0700
Subject: [PATCH 1/4] [clang-format] Don't annotate enum colon as
InheritanceColon
Fix
https://github.com/zyn0217 approved this pull request.
Thanks! This looks nice
@erichkeane are you happy with the current state?
https://github.com/llvm/llvm-project/pull/134522
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llv
https://github.com/yxsamliu approved this pull request.
https://github.com/llvm/llvm-project/pull/138555
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zwuis edited https://github.com/llvm/llvm-project/pull/138504
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fanju110 updated
https://github.com/llvm/llvm-project/pull/136098
>From 9494c9752400e4708dbc8b6a5ca4993ea9565e95 Mon Sep 17 00:00:00 2001
From: fanyikang
Date: Thu, 17 Apr 2025 15:17:07 +0800
Subject: [PATCH 01/13] Add support for IR PGO
(-fprofile-generate/-fprofile-use=/fi
https://github.com/kees updated https://github.com/llvm/llvm-project/pull/138323
>From a481c0b96417c63786811e5bf118f3eb2e7dabb1 Mon Sep 17 00:00:00 2001
From: Kees Cook
Date: Fri, 2 May 2025 10:51:02 -0700
Subject: [PATCH 1/2] [sancov] Introduce optional callback for stack-depth
tracking
Norma
Author: Alexey Bader
Date: 2025-05-05T20:01:42-07:00
New Revision: 3f1267e1b39c31cea390c7425e88b01d3304d8c7
URL:
https://github.com/llvm/llvm-project/commit/3f1267e1b39c31cea390c7425e88b01d3304d8c7
DIFF:
https://github.com/llvm/llvm-project/commit/3f1267e1b39c31cea390c7425e88b01d3304d8c7.diff
https://github.com/ChuanqiXu9 commented:
Could you elaborate? Why `= {}` is better than `.clear()` ?
https://github.com/llvm/llvm-project/pull/138256
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinf
https://github.com/kees updated https://github.com/llvm/llvm-project/pull/138323
>From a481c0b96417c63786811e5bf118f3eb2e7dabb1 Mon Sep 17 00:00:00 2001
From: Kees Cook
Date: Fri, 2 May 2025 10:51:02 -0700
Subject: [PATCH] [sancov] Introduce optional callback for stack-depth tracking
Normally -
mshockwave wrote:
> LLVM Buildbot has detected a new failure on builder `arc-builder` running on
> `arc-worker` while building `clang,llvm` at step 6
> "test-build-unified-tree-check-all".
>
> Full details are available at:
> https://lab.llvm.org/buildbot/#/builders/3/builds/15497
>
> Here i
https://github.com/zwuis edited https://github.com/llvm/llvm-project/pull/138504
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kees updated https://github.com/llvm/llvm-project/pull/138323
>From 549d71572f086a3ecab9d8cd4e546a55b078bf11 Mon Sep 17 00:00:00 2001
From: Kees Cook
Date: Fri, 2 May 2025 10:51:02 -0700
Subject: [PATCH 1/3] [sancov] Introduce optional callback for stack-depth
tracking
Norma
@@ -2361,6 +2361,13 @@ def fsanitize_coverage_ignorelist : Joined<["-"],
"fsanitize-coverage-ignorelist
HelpText<"Disable sanitizer coverage instrumentation for modules and
functions "
"that match the provided special case list, even the allowed
ones">,
@@ -391,6 +391,7 @@ Improvements to Clang's diagnostics
- An error is now emitted when a ``musttail`` call is made to a function
marked with the ``not_tail_called`` attribute. (#GH133509).
+- The ``-mcmodel=tiny`` option will now be diagnosed on all targets other than
ARM o
Author: Oliver Hunt
Date: 2025-05-05T22:39:17-07:00
New Revision: f1985d583d283fc662c94ef39feeb58bed19ac2c
URL:
https://github.com/llvm/llvm-project/commit/f1985d583d283fc662c94ef39feeb58bed19ac2c
DIFF:
https://github.com/llvm/llvm-project/commit/f1985d583d283fc662c94ef39feeb58bed19ac2c.diff
L
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
Fix #138485
---
Full diff: https://github.com/llvm/llvm-project/pull/138633.diff
2 Files Affected:
- (modified) clang/lib/Format/TokenAnnotator.cpp (+5-3)
- (modified) clang/unittests/Format/TokenAnnota
https://github.com/ojhunt closed
https://github.com/llvm/llvm-project/pull/138616
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin updated
https://github.com/llvm/llvm-project/pull/127636
Rate limit · GitHub
body {
background-color: #f6f8fa;
color: #24292e;
font-family: -apple-system,BlinkMacSystemFont,Segoe
UI,Helvetica,Arial,sans-
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/138633
Fix #138485
>From e72f081f3a1f06ec9e868042cbe7db0a3c18796d Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Mon, 5 May 2025 22:35:40 -0700
Subject: [PATCH] [clang-format] Fix a bug in annotating binary operator &&
https://github.com/kees updated https://github.com/llvm/llvm-project/pull/138323
>From 03e2eead7c4034c81c79619c1507dd27145aaa43 Mon Sep 17 00:00:00 2001
From: Kees Cook
Date: Fri, 2 May 2025 10:51:02 -0700
Subject: [PATCH 1/2] [sancov] Introduce optional callback for stack-depth
tracking
Norma
@@ -1078,22 +1091,61 @@ void
ModuleSanitizerCoverage::InjectCoverageAtBlock(Function &F, BasicBlock &BB,
Store->setNoSanitizeMetadata();
}
if (Options.StackDepth && IsEntryBB && !IsLeafFunc) {
-// Check stack depth. If it's the deepest so far, record it.
Modu
https://github.com/AaronBallman created
https://github.com/llvm/llvm-project/pull/138543
Transforming an expression to a potentially evaluated expression can fail. If
it does so, no longer attempt to make the type trait expression, instead return
an error expression. This ensures we don't try
https://github.com/spall created
https://github.com/llvm/llvm-project/pull/138541
When an HLSL Init list is producing a Scalar, handle OpaqueValueExprs in the
Init List with 'emitInitListOpaqueValues'
Copied from 'AggExprEmitter::VisitCXXParenListOrInitListExpr'
Closes #136408
>From 24f4cf687
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Sarah Spall (spall)
Changes
When an HLSL Init list is producing a Scalar, handle OpaqueValueExprs in the
Init List with 'emitInitListOpaqueValues'
Copied from 'AggExprEmitter::VisitCXXParenListOrInitListExpr'
Closes #136408
---
Full diff:
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Aaron Ballman (AaronBallman)
Changes
Transforming an expression to a potentially evaluated expression can fail. If
it does so, no longer attempt to make the type trait expression, instead return
an error expression. This ensures we don't
@@ -4700,6 +4700,10 @@ ExprResult
Sema::CreateUnaryExprOrTypeTraitExpr(TypeSourceInfo *TInfo,
TInfo->getType()->isVariablyModifiedType())
TInfo = TransformToPotentiallyEvaluated(TInfo);
+ // It's possible that the transformation above failed.
+ if (!TInfo)
+re
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/138543
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -455,7 +456,8 @@ CIRGenFunction::emitCaseDefaultCascade(const T *stmt,
mlir::Type condType,
if (isa(sub) && isa(stmt)) {
subStmtKind = SubStmtKind::Default;
builder.createYield(loc);
-} else if (isa(sub) && isa(stmt)) {
+} else if ((isa(sub) && isa(s
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?=
Message-ID:
In-Reply-To:
@@ -5759,9 +5761,18 @@ void CodeGenModule::EmitGlobalVarDefinition(const
VarDecl *D,
getCUDARuntime().internalizeDeviceSideVar(D, Linkage);
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?=
Message-ID:
In-Reply-To:
s-perron wrote:
Could you add a tests to
[SemaHLSL](https://github.com/llvm/llvm-project/tree/44856d957e3a878e1f15d5ab0009bff9c
@@ -515,19 +517,44 @@ CIRGenFunction::emitCaseDefaultCascade(const T *stmt,
mlir::Type condType,
mlir::LogicalResult CIRGenFunction::emitCaseStmt(const CaseStmt &s,
mlir::Type condType,
https://github.com/s-perron edited
https://github.com/llvm/llvm-project/pull/138530
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?= ,
Nathan =?utf-8?q?Gauër?=
Message-ID:
In-Reply-To:
@@ -5636,6 +5636,8 @@ void CodeGenModule::EmitGlobalVarDefinition(const VarDecl
*D,
Init = llvm::UndefValue::get(getTypes().ConvertTypeForMem
1 - 100 of 493 matches
Mail list logo