https://github.com/chestnykh closed
https://github.com/llvm/llvm-project/pull/98607
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh created
https://github.com/llvm/llvm-project/pull/101650
`BuiltinID` is not used inside `CheckBuiltinTargetInSupported`
>From 0f724e3aacde40f5d3d06c3e1082667dec36656b Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Fri, 2 Aug 2024 13:44:00 +0300
Subject: [PAT
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/101650
>From 0f724e3aacde40f5d3d06c3e1082667dec36656b Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Fri, 2 Aug 2024 13:44:00 +0300
Subject: [PATCH 1/2] [NFC][Clang] Remove unused arg
BuiltinID is not used in
https://github.com/chestnykh closed
https://github.com/llvm/llvm-project/pull/101650
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh created
https://github.com/llvm/llvm-project/pull/101689
- `_Exit` is an alias to `_exit` and `_exit` is declared in unistd.h header, so
don't mix
`_Exit` and `exit`. Only `exit` decl placed in stdlib.h.
- Add `__builtin_` variants for exit functions like GC does
>
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/101689
>From ee010a25b0df1371647285af8faaffe694a02d28 Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Fri, 2 Aug 2024 18:28:38 +0300
Subject: [PATCH] [Clang] Adjust `exit()` builtin impl
- `_Exit` is an alias
https://github.com/chestnykh edited
https://github.com/llvm/llvm-project/pull/101689
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
chestnykh wrote:
> In #74803, the question of "why" came up and was never answered.
Okay, i can remove `let AddBuiltinPrefixedAlias = 1;`, but IMO that the rest of
changes makes sense. What do you think?
https://github.com/llvm/llvm-project/pull/101689
https://github.com/chestnykh converted_to_draft
https://github.com/llvm/llvm-project/pull/120013
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh edited
https://github.com/llvm/llvm-project/pull/120013
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh created
https://github.com/llvm/llvm-project/pull/120013
None
>From 95d35c8d4f95d2a08845d8951eb0ea7e0d97ec97 Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Sun, 15 Dec 2024 21:18:23 +0300
Subject: [PATCH] [Libunwind] Don't XFAIL tests with msan
---
libunwi
chestnykh wrote:
@ldionne i run these tests locally with msan (x86-64) and have no errors. Could
you please tell on what architecture(s) the tests was failing?
https://github.com/llvm/llvm-project/pull/120013
___
cfe-commits mailing list
cfe-commits
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/120013
>From 9422b097ff80f5501dcf4fa3d41176b9439ab3f6 Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Sun, 15 Dec 2024 21:18:23 +0300
Subject: [PATCH] [Libunwind] Don't XFAIL tests with msan
---
libunwind/tes
chestnykh wrote:
All CI failures look unrelated
https://github.com/llvm/llvm-project/pull/120013
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
chestnykh wrote:
Maybe load order breaks something:
With `-lunwind` passed explicitly:
```
linux-vdso.so.1 (0x700799647000)
libunwind.so.1 => /usr/lib/libunwind.so.1 (0x7007995fe000)
libatomic.so.1 => /usr/lib/libatomic.so.1 (0x7007995f3000)
libc++.so.1
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/120013
>From 9422b097ff80f5501dcf4fa3d41176b9439ab3f6 Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Sun, 15 Dec 2024 21:18:23 +0300
Subject: [PATCH 1/2] [Libunwind] Don't XFAIL tests with msan
---
libunwind
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/120013
>From 9422b097ff80f5501dcf4fa3d41176b9439ab3f6 Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Sun, 15 Dec 2024 21:18:23 +0300
Subject: [PATCH 1/3] [Libunwind] Don't XFAIL tests with msan
---
libunwind
chestnykh wrote:
I've debugged msan errors. On CI there were stack overflows caused by 'wrong'
msan reports and circular calls libunwind -> libmsan -> libunwind.
For example:
```
#4234 0x55587eb2 in __msan_warning_with_origin_noreturn () at
/home/dima/work/llvm-project/compiler-rt/lib/
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/120013
>From 9422b097ff80f5501dcf4fa3d41176b9439ab3f6 Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Sun, 15 Dec 2024 21:18:23 +0300
Subject: [PATCH 1/4] [Libunwind] Don't XFAIL tests with msan
---
libunwind
https://github.com/chestnykh ready_for_review
https://github.com/llvm/llvm-project/pull/120013
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh deleted
https://github.com/llvm/llvm-project/pull/120013
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -133,6 +133,10 @@ _LIBUNWIND_EXPORT _Unwind_Reason_Code
_Unwind_Backtrace(_Unwind_Trace_Fn callback, void *ref) {
unw_cursor_t cursor;
unw_context_t uc;
+#if __has_feature(memory_sanitizer)
+ __builtin_memset(&cursor, 0, sizeof(cursor));
chestnykh wrote
https://github.com/chestnykh closed
https://github.com/llvm/llvm-project/pull/120013
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh created
https://github.com/llvm/llvm-project/pull/120591
There are a few functions that emit warnings related to positional arguments in
format strings. These functions use `getLocationOfByte()` which has O(n)
complexity and may lead to silent hang of compilation i
https://github.com/chestnykh edited
https://github.com/llvm/llvm-project/pull/120591
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/120591
>From 5b61245bbdc9d1874684f29bba880f6b5a4cfe82 Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Thu, 19 Dec 2024 18:35:35 +0300
Subject: [PATCH 1/2] [Clang][Sema] Process warnings conditionally
There are
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/120591
>From 9a0d5d44f70477403a33d2feb3f5518b0d078a66 Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Thu, 19 Dec 2024 18:35:35 +0300
Subject: [PATCH 1/2] [Clang][Sema] Process warnings conditionally
There are
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/120591
>From 9a0d5d44f70477403a33d2feb3f5518b0d078a66 Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Thu, 19 Dec 2024 18:35:35 +0300
Subject: [PATCH 1/3] [Clang][Sema] Process warnings conditionally
There are
@@ -6591,27 +6591,36 @@ void
CheckFormatHandler::HandleNonStandardConversionSpecifier(
void CheckFormatHandler::HandlePosition(const char *startPos,
unsigned posLen) {
- EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard_posit
@@ -6591,27 +6591,36 @@ void
CheckFormatHandler::HandleNonStandardConversionSpecifier(
void CheckFormatHandler::HandlePosition(const char *startPos,
unsigned posLen) {
- EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard_posit
@@ -6591,27 +6591,36 @@ void
CheckFormatHandler::HandleNonStandardConversionSpecifier(
void CheckFormatHandler::HandlePosition(const char *startPos,
unsigned posLen) {
- EmitFormatDiagnostic(S.PDiag(diag::warn_format_non_standard_posit
https://github.com/chestnykh closed
https://github.com/llvm/llvm-project/pull/120591
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
chestnykh wrote:
@Mephistophiles do you have commit access or you need someone to push on your
behalf?
https://github.com/llvm/llvm-project/pull/131296
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
https://github.com/chestnykh closed
https://github.com/llvm/llvm-project/pull/131296
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/131296
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh created
https://github.com/llvm/llvm-project/pull/147905
If clang is invoked with `-r` (relocatable linking) then we shouldn't construct
sanitizer arguments and then pass sanitizer runtime libs to the linker
GCC simply ignores `-fsanitize=...` if `-r` is also here
https://github.com/chestnykh edited
https://github.com/llvm/llvm-project/pull/147905
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/147905
>From 86dc26e3947d2d53e9b86d700946e7f381f71a7a Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Thu, 10 Jul 2025 10:19:31 +0300
Subject: [PATCH] [clang] Don't pass sanitizers' rtlibs to linker with `-r`
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/147905
>From 83069f67af285bf5df6b2181e1c1763f5d2169ff Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Thu, 10 Jul 2025 10:19:31 +0300
Subject: [PATCH] [clang] Don't pass sanitizers' rtlibs to linker with `-r`
https://github.com/chestnykh edited
https://github.com/llvm/llvm-project/pull/147905
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1159,7 +1159,8 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
LinkRuntimes =
Args.hasFlag(options::OPT_fsanitize_link_runtime,
- options::OPT_fno_sanitize_link_runtime, LinkRuntimes);
+ options::OPT_fno_sanitize_link_runtim
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/147905
>From 86dc26e3947d2d53e9b86d700946e7f381f71a7a Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Thu, 10 Jul 2025 10:19:31 +0300
Subject: [PATCH 1/4] [clang] Don't pass sanitizers' rtlibs to linker with `-
@@ -1159,7 +1159,8 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
LinkRuntimes =
Args.hasFlag(options::OPT_fsanitize_link_runtime,
- options::OPT_fno_sanitize_link_runtime, LinkRuntimes);
+ options::OPT_fno_sanitize_link_runtim
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/147905
>From 86dc26e3947d2d53e9b86d700946e7f381f71a7a Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Thu, 10 Jul 2025 10:19:31 +0300
Subject: [PATCH 1/5] [clang] Don't pass sanitizers' rtlibs to linker with `-
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/147905
>From 86dc26e3947d2d53e9b86d700946e7f381f71a7a Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Thu, 10 Jul 2025 10:19:31 +0300
Subject: [PATCH 1/2] [clang] Don't pass sanitizers' rtlibs to linker with `-
@@ -1159,7 +1159,8 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
LinkRuntimes =
Args.hasFlag(options::OPT_fsanitize_link_runtime,
- options::OPT_fno_sanitize_link_runtime, LinkRuntimes);
+ options::OPT_fno_sanitize_link_runtim
chestnykh wrote:
The buildbot fail looks unrelated
https://github.com/llvm/llvm-project/pull/147905
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/chestnykh updated
https://github.com/llvm/llvm-project/pull/147905
>From 86dc26e3947d2d53e9b86d700946e7f381f71a7a Mon Sep 17 00:00:00 2001
From: Dmitry Chestnykh
Date: Thu, 10 Jul 2025 10:19:31 +0300
Subject: [PATCH 1/3] [clang] Don't pass sanitizers' rtlibs to linker with `-
@@ -1159,7 +1159,8 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
LinkRuntimes =
Args.hasFlag(options::OPT_fsanitize_link_runtime,
- options::OPT_fno_sanitize_link_runtime, LinkRuntimes);
+ options::OPT_fno_sanitize_link_runtim
@@ -1159,7 +1159,8 @@ SanitizerArgs::SanitizerArgs(const ToolChain &TC,
LinkRuntimes =
Args.hasFlag(options::OPT_fsanitize_link_runtime,
- options::OPT_fno_sanitize_link_runtime, LinkRuntimes);
+ options::OPT_fno_sanitize_link_runtim
https://github.com/chestnykh closed
https://github.com/llvm/llvm-project/pull/147905
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
51 matches
Mail list logo