public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] debug: Avoid clang optimize away required function on tst-ssp1.c
@ 2024-02-07 14:14 Adhemerval Zanella
0 siblings, 0 replies; 5+ messages in thread
From: Adhemerval Zanella @ 2024-02-07 14:14 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0cd3a84beb01df4cf16d976d4e10e33e28b74171
commit 0cd3a84beb01df4cf16d976d4e10e33e28b74171
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Wed Jan 17 15:50:04 2024 -0300
debug: Avoid clang optimize away required function on tst-ssp1.c
Diff:
---
debug/tst-ssp-1.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debug/tst-ssp-1.c b/debug/tst-ssp-1.c
index 27f10edc56..671e9a5007 100644
--- a/debug/tst-ssp-1.c
+++ b/debug/tst-ssp-1.c
@@ -22,6 +22,10 @@
static void
__attribute__ ((noinline)) __attribute_noclone__
+#ifdef __clang__
+/* Avoid clang optimize it away. */
+__attribute__ ((optnone))
+#endif
test (char *foo)
{
int i;
^ permalink raw reply [flat|nested] 5+ messages in thread
* [glibc/azanella/clang] debug: Avoid clang optimize away required function on tst-ssp1.c
@ 2024-04-17 20:14 Adhemerval Zanella
0 siblings, 0 replies; 5+ messages in thread
From: Adhemerval Zanella @ 2024-04-17 20:14 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c1877f3da50288ed39c3717a88b548bd9c93fea0
commit c1877f3da50288ed39c3717a88b548bd9c93fea0
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Wed Jan 17 15:50:04 2024 -0300
debug: Avoid clang optimize away required function on tst-ssp1.c
Diff:
---
debug/tst-ssp-1.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debug/tst-ssp-1.c b/debug/tst-ssp-1.c
index 27f10edc56..671e9a5007 100644
--- a/debug/tst-ssp-1.c
+++ b/debug/tst-ssp-1.c
@@ -22,6 +22,10 @@
static void
__attribute__ ((noinline)) __attribute_noclone__
+#ifdef __clang__
+/* Avoid clang optimize it away. */
+__attribute__ ((optnone))
+#endif
test (char *foo)
{
int i;
^ permalink raw reply [flat|nested] 5+ messages in thread
* [glibc/azanella/clang] debug: Avoid clang optimize away required function on tst-ssp1.c
@ 2024-04-02 16:00 Adhemerval Zanella
0 siblings, 0 replies; 5+ messages in thread
From: Adhemerval Zanella @ 2024-04-02 16:00 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b12bd2be653ad123e8d3515cbc940ce441c03115
commit b12bd2be653ad123e8d3515cbc940ce441c03115
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Wed Jan 17 15:50:04 2024 -0300
debug: Avoid clang optimize away required function on tst-ssp1.c
Diff:
---
debug/tst-ssp-1.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debug/tst-ssp-1.c b/debug/tst-ssp-1.c
index 27f10edc56..671e9a5007 100644
--- a/debug/tst-ssp-1.c
+++ b/debug/tst-ssp-1.c
@@ -22,6 +22,10 @@
static void
__attribute__ ((noinline)) __attribute_noclone__
+#ifdef __clang__
+/* Avoid clang optimize it away. */
+__attribute__ ((optnone))
+#endif
test (char *foo)
{
int i;
^ permalink raw reply [flat|nested] 5+ messages in thread
* [glibc/azanella/clang] debug: Avoid clang optimize away required function on tst-ssp1.c
@ 2024-02-09 17:39 Adhemerval Zanella
0 siblings, 0 replies; 5+ messages in thread
From: Adhemerval Zanella @ 2024-02-09 17:39 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a29972e91b4ec18300af6db982308dcb11021128
commit a29972e91b4ec18300af6db982308dcb11021128
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Wed Jan 17 15:50:04 2024 -0300
debug: Avoid clang optimize away required function on tst-ssp1.c
Diff:
---
debug/tst-ssp-1.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debug/tst-ssp-1.c b/debug/tst-ssp-1.c
index 27f10edc56..671e9a5007 100644
--- a/debug/tst-ssp-1.c
+++ b/debug/tst-ssp-1.c
@@ -22,6 +22,10 @@
static void
__attribute__ ((noinline)) __attribute_noclone__
+#ifdef __clang__
+/* Avoid clang optimize it away. */
+__attribute__ ((optnone))
+#endif
test (char *foo)
{
int i;
^ permalink raw reply [flat|nested] 5+ messages in thread
* [glibc/azanella/clang] debug: Avoid clang optimize away required function on tst-ssp1.c
@ 2024-01-29 18:04 Adhemerval Zanella
0 siblings, 0 replies; 5+ messages in thread
From: Adhemerval Zanella @ 2024-01-29 18:04 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2b9ba62cd3bc4dc67806ae756f68e0f0bdfacf00
commit 2b9ba62cd3bc4dc67806ae756f68e0f0bdfacf00
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date: Wed Jan 17 15:50:04 2024 -0300
debug: Avoid clang optimize away required function on tst-ssp1.c
Diff:
---
debug/tst-ssp-1.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/debug/tst-ssp-1.c b/debug/tst-ssp-1.c
index 27f10edc56..671e9a5007 100644
--- a/debug/tst-ssp-1.c
+++ b/debug/tst-ssp-1.c
@@ -22,6 +22,10 @@
static void
__attribute__ ((noinline)) __attribute_noclone__
+#ifdef __clang__
+/* Avoid clang optimize it away. */
+__attribute__ ((optnone))
+#endif
test (char *foo)
{
int i;
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-17 20:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-07 14:14 [glibc/azanella/clang] debug: Avoid clang optimize away required function on tst-ssp1.c Adhemerval Zanella
-- strict thread matches above, loose matches on Subject: below --
2024-04-17 20:14 Adhemerval Zanella
2024-04-02 16:00 Adhemerval Zanella
2024-02-09 17:39 Adhemerval Zanella
2024-01-29 18:04 Adhemerval Zanella
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).