public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/ibuclaw/heads/darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-04-10 17:01 Iain Buclaw
0 siblings, 0 replies; 8+ messages in thread
From: Iain Buclaw @ 2021-04-10 17:01 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:2474f4279c7e1fa0b1cc27cf6db6c14801e44abd
commit 2474f4279c7e1fa0b1cc27cf6db6c14801e44abd
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Thu Dec 10 14:09:09 2020 +0000
D, Darwin : Make the Darwin code path more obvious (NFC).
Darwin passes version (Darwin) _and_ version(Posix) thus the
AsmExternal and AsmX86*_Posix cases were already in effect.
This just makes it more obvious (and also eases switching to
ucontext for testing).
Diff:
---
libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index 9a4ffacc6d2..6430d7189c0 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
// fiber_switchContext does not support shadow stack from
// Intel CET. So use ucontext implementation.
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
@@ -99,6 +104,11 @@ private
{
// let X32 be handled by ucontext swapcontext
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gcc(refs/users/ibuclaw/heads/darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-09-17 14:34 Iain Buclaw
0 siblings, 0 replies; 8+ messages in thread
From: Iain Buclaw @ 2021-09-17 14:34 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:8ab997f35fca804ac32e4767b82b5f61f487a951
commit 8ab997f35fca804ac32e4767b82b5f61f487a951
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Thu Dec 10 14:09:09 2020 +0000
D, Darwin : Make the Darwin code path more obvious (NFC).
Darwin passes version (Darwin) _and_ version(Posix) thus the
AsmExternal and AsmX86*_Posix cases were already in effect.
This just makes it more obvious (and also eases switching to
ucontext for testing).
Diff:
---
libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index f4c04ce7358..64e90182596 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
// fiber_switchContext does not support shadow stack from
// Intel CET. So use ucontext implementation.
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
@@ -101,6 +106,11 @@ private
{
// let X32 be handled by ucontext swapcontext
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gcc(refs/users/ibuclaw/heads/darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-04-19 18:06 Iain Buclaw
0 siblings, 0 replies; 8+ messages in thread
From: Iain Buclaw @ 2021-04-19 18:06 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:8b45ed211091eeecdd6709eac1525b8fecee01a0
commit 8b45ed211091eeecdd6709eac1525b8fecee01a0
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Thu Dec 10 14:09:09 2020 +0000
D, Darwin : Make the Darwin code path more obvious (NFC).
Darwin passes version (Darwin) _and_ version(Posix) thus the
AsmExternal and AsmX86*_Posix cases were already in effect.
This just makes it more obvious (and also eases switching to
ucontext for testing).
Diff:
---
libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index f4c04ce7358..64e90182596 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
// fiber_switchContext does not support shadow stack from
// Intel CET. So use ucontext implementation.
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
@@ -101,6 +106,11 @@ private
{
// let X32 be handled by ucontext swapcontext
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gcc(refs/users/ibuclaw/heads/darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-04-10 15:04 Iain Buclaw
0 siblings, 0 replies; 8+ messages in thread
From: Iain Buclaw @ 2021-04-10 15:04 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:c198cd6567e4aec1ee7b0be1dc4322e5ff1bf66b
commit c198cd6567e4aec1ee7b0be1dc4322e5ff1bf66b
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Thu Dec 10 14:09:09 2020 +0000
D, Darwin : Make the Darwin code path more obvious (NFC).
Darwin passes version (Darwin) _and_ version(Posix) thus the
AsmExternal and AsmX86*_Posix cases were already in effect.
This just makes it more obvious (and also eases switching to
ucontext for testing).
Diff:
---
libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index 9a4ffacc6d2..6430d7189c0 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
// fiber_switchContext does not support shadow stack from
// Intel CET. So use ucontext implementation.
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
@@ -99,6 +104,11 @@ private
{
// let X32 be handled by ucontext swapcontext
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gcc(refs/users/ibuclaw/heads/darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-03-14 22:01 Iain Buclaw
0 siblings, 0 replies; 8+ messages in thread
From: Iain Buclaw @ 2021-03-14 22:01 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:93ffd9dc38a02b4c8a0c731cb9b9d5fa4953267d
commit 93ffd9dc38a02b4c8a0c731cb9b9d5fa4953267d
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Thu Dec 10 14:09:09 2020 +0000
D, Darwin : Make the Darwin code path more obvious (NFC).
Darwin passes version (Darwin) _and_ version(Posix) thus the
AsmExternal and AsmX86*_Posix cases were already in effect.
This just makes it more obvious (and also eases switching to
ucontext for testing).
Diff:
---
libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index 9a4ffacc6d2..6430d7189c0 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
// fiber_switchContext does not support shadow stack from
// Intel CET. So use ucontext implementation.
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
@@ -99,6 +104,11 @@ private
{
// let X32 be handled by ucontext swapcontext
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gcc(refs/users/ibuclaw/heads/darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-03-07 17:02 Iain Buclaw
0 siblings, 0 replies; 8+ messages in thread
From: Iain Buclaw @ 2021-03-07 17:02 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:0eca126fd56718be8f1ddaa47398e8e162cccd6f
commit 0eca126fd56718be8f1ddaa47398e8e162cccd6f
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Thu Dec 10 14:09:09 2020 +0000
D, Darwin : Make the Darwin code path more obvious (NFC).
Darwin passes version (Darwin) _and_ version(Posix) thus the
AsmExternal and AsmX86*_Posix cases were already in effect.
This just makes it more obvious (and also eases switching to
ucontext for testing).
Diff:
---
libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index 9a4ffacc6d2..6430d7189c0 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
// fiber_switchContext does not support shadow stack from
// Intel CET. So use ucontext implementation.
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
@@ -99,6 +104,11 @@ private
{
// let X32 be handled by ucontext swapcontext
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gcc(refs/users/ibuclaw/heads/darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-01-30 19:09 Iain Buclaw
0 siblings, 0 replies; 8+ messages in thread
From: Iain Buclaw @ 2021-01-30 19:09 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b0d6cf0d24f7ed64c97daa39554507d34d636c56
commit b0d6cf0d24f7ed64c97daa39554507d34d636c56
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Thu Dec 10 14:09:09 2020 +0000
D, Darwin : Make the Darwin code path more obvious (NFC).
Darwin passes version (Darwin) _and_ version(Posix) thus the
AsmExternal and AsmX86*_Posix cases were already in effect.
This just makes it more obvious (and also eases switching to
ucontext for testing).
Diff:
---
libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index 9a4ffacc6d2..6430d7189c0 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
// fiber_switchContext does not support shadow stack from
// Intel CET. So use ucontext implementation.
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
@@ -99,6 +104,11 @@ private
{
// let X32 be handled by ucontext swapcontext
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
^ permalink raw reply [flat|nested] 8+ messages in thread
* [gcc(refs/users/ibuclaw/heads/darwin)] D, Darwin : Make the Darwin code path more obvious (NFC).
@ 2021-01-28 17:32 Iain Buclaw
0 siblings, 0 replies; 8+ messages in thread
From: Iain Buclaw @ 2021-01-28 17:32 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:8a2b904c533090e590b6e62c5a344dd5a839fb98
commit 8a2b904c533090e590b6e62c5a344dd5a839fb98
Author: Iain Sandoe <iain@sandoe.co.uk>
Date: Thu Dec 10 14:09:09 2020 +0000
D, Darwin : Make the Darwin code path more obvious (NFC).
Darwin passes version (Darwin) _and_ version(Posix) thus the
AsmExternal and AsmX86*_Posix cases were already in effect.
This just makes it more obvious (and also eases switching to
ucontext for testing).
Diff:
---
libphobos/libdruntime/core/thread/fiber.d | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index 9a4ffacc6d2..6430d7189c0 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -76,6 +76,11 @@ private
// fiber_switchContext does not support shadow stack from
// Intel CET. So use ucontext implementation.
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
@@ -99,6 +104,11 @@ private
{
// let X32 be handled by ucontext swapcontext
}
+ else version (OSX)
+ {
+ version = AsmExternal;
+ version = AsmX86_Posix;
+ }
else
{
version = AsmExternal;
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-09-17 14:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-10 17:01 [gcc(refs/users/ibuclaw/heads/darwin)] D, Darwin : Make the Darwin code path more obvious (NFC) Iain Buclaw
-- strict thread matches above, loose matches on Subject: below --
2021-09-17 14:34 Iain Buclaw
2021-04-19 18:06 Iain Buclaw
2021-04-10 15:04 Iain Buclaw
2021-03-14 22:01 Iain Buclaw
2021-03-07 17:02 Iain Buclaw
2021-01-30 19:09 Iain Buclaw
2021-01-28 17:32 Iain Buclaw
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).