diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-01-28 11:18:42 +0100 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2021-01-30 16:50:57 +0100 |
commit | 92dd3e71f957c7818f4ce4189bd187b59af20d9b (patch) | |
tree | b5f4cae41be41fe6716dc656649ca8c35b96d8c0 /gcc/d | |
parent | accc5ba53e0d0c660aa69f16ef32fc05e4439f1f (diff) | |
download | gcc-92dd3e71f957c7818f4ce4189bd187b59af20d9b.zip gcc-92dd3e71f957c7818f4ce4189bd187b59af20d9b.tar.gz gcc-92dd3e71f957c7818f4ce4189bd187b59af20d9b.tar.bz2 |
libphobos: Synchronize libdruntime bindings with upstream druntime
Reviewed-on: https://github.com/dlang/druntime/pull/3348
gcc/d/ChangeLog:
* typeinfo.cc (TypeInfoVisitor::visit (TypeInfoDeclaration *)): Don't
layout m_arg1 and m_arg2 fields.
libphobos/ChangeLog:
* Makefile.in: Regenerate.
* configure: Regenerate.
* libdruntime/MERGE: Merge upstream druntime e4aae28e.
* libdruntime/Makefile.am (DRUNTIME_DSOURCES): Refresh module list.
(DRUNTIME_DSOURCES_BIONIC): Add core/sys/bionic/err.d.
(DRUNTIME_DSOURCES_DARWIN): Add core/sys/darwin/err.d,
core/sys/darwin/ifaddrs.d, core/sys/darwin/mach/nlist.d,
core/sys/darwin/mach/stab.d, and core/sys/darwin/sys/attr.d.
(DRUNTIME_DSOURCES_DRAGONFLYBSD): Add core/sys/dragonflybsd/err.d.
(DRUNTIME_DSOURCES_FREEBSD): Add core/sys/freebsd/err.d.
(DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/err.d.
(DRUNTIME_DSOURCES_NETBSD): Add core/sys/netbsd/err.d.
(DRUNTIME_DSOURCES_OPENBSD): Add core/sys/openbsd/err.d.
(DRUNTIME_DSOURCES_POSIX): Add core/sys/posix/locale.d,
core/sys/posix/stdc/time.d, core/sys/posix/string.d, and
core/sys/posix/strings.d.
(DRUNTIME_DSOURCES_SOLARIS): Add core/sys/solaris/err.d.
(DRUNTIME_DSOURCES_WINDOWS): Add core/sys/windows/sdkddkver.d,
and core/sys/windows/stdc/time.d
* libdruntime/Makefile.in: Regenerate.
* libdruntime/gcc/sections/elf_shared.d (sizeofTLS): New function.
* testsuite/libphobos.thread/fiber_guard_page.d: Use
__traits(getMember) to get internal fields.
Diffstat (limited to 'gcc/d')
-rw-r--r-- | gcc/d/typeinfo.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gcc/d/typeinfo.cc b/gcc/d/typeinfo.cc index 4e31127..ec8539d 100644 --- a/gcc/d/typeinfo.cc +++ b/gcc/d/typeinfo.cc @@ -1013,9 +1013,6 @@ public: void function(void*) xdtor; void function(void*) xpostblit; uint m_align; - version (X86_64) - TypeInfo m_arg1; - TypeInfo m_arg2; immutable(void)* xgetRTInfo; */ void visit (TypeInfoStructDeclaration *d) @@ -1091,19 +1088,6 @@ public: /* uint m_align; */ this->layout_field (build_integer_cst (ti->alignsize (), d_uint_type)); - if (global.params.is64bit) - { - /* TypeInfo m_arg1; */ - tree arg1type = (sd->arg1type) ? build_typeinfo (d->loc, sd->arg1type) - : null_pointer_node; - this->layout_field (arg1type); - - /* TypeInfo m_arg2; */ - tree arg2type = (sd->arg2type) ? build_typeinfo (d->loc, sd->arg2type) - : null_pointer_node; - this->layout_field (arg2type); - } - /* immutable(void)* xgetRTInfo; */ if (sd->getRTInfo) this->layout_field (build_expr (sd->getRTInfo, true)); |