From 55620c7bd31705fe024eb6b6ab517981b57a9296 Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Fri, 23 Jun 2023 17:48:26 +0200 Subject: d: Merge upstream dmd, druntime a45f4e9f43, phobos 106038f2e. D front-end changes: - Import dmd v2.103.1. - Deprecated invalid special token sequences inside token strings. D runtime changes: - Import druntime v2.103.1. Phobos changes: - Import phobos v2.103.1. gcc/d/ChangeLog: * dmd/MERGE: Merge upstream dmd a45f4e9f43. * dmd/VERSION: Bump version to v2.103.1. libphobos/ChangeLog: * libdruntime/MERGE: Merge upstream druntime a45f4e9f43. * src/MERGE: Merge upstream phobos 106038f2e. --- libphobos/libdruntime/MERGE | 2 +- libphobos/libdruntime/core/sys/windows/stacktrace.d | 2 ++ libphobos/src/MERGE | 2 +- libphobos/src/std/functional.d | 3 +++ 4 files changed, 7 insertions(+), 2 deletions(-) (limited to 'libphobos') diff --git a/libphobos/libdruntime/MERGE b/libphobos/libdruntime/MERGE index 986925e..1205cd9 100644 --- a/libphobos/libdruntime/MERGE +++ b/libphobos/libdruntime/MERGE @@ -1,4 +1,4 @@ -5f7552bb2829b75d5e36cc767a476e1ab35147b7 +a45f4e9f43e9fdbf0b666175e5e66b1ce4f561f6 The first line of this file holds the git revision number of the last merge done from the dlang/dmd repository. diff --git a/libphobos/libdruntime/core/sys/windows/stacktrace.d b/libphobos/libdruntime/core/sys/windows/stacktrace.d index c10a917..a73fc9c 100644 --- a/libphobos/libdruntime/core/sys/windows/stacktrace.d +++ b/libphobos/libdruntime/core/sys/windows/stacktrace.d @@ -239,6 +239,8 @@ private: if (frameNum >= skip) { buffer[nframes++] = stackframe.AddrPC.Offset; + if (nframes >= buffer.length) + break; } frameNum++; } diff --git a/libphobos/src/MERGE b/libphobos/src/MERGE index e72db81..2b6bc3e 100644 --- a/libphobos/src/MERGE +++ b/libphobos/src/MERGE @@ -1,4 +1,4 @@ -67a47cf39d52b3cb3ae4117c0237415e03737f8a +106038f2eaa70045bf25b29bb1c789304a6065f7 The first line of this file holds the git revision number of the last merge done from the dlang/phobos repository. diff --git a/libphobos/src/std/functional.d b/libphobos/src/std/functional.d index 70aaee3..588a9c8 100644 --- a/libphobos/src/std/functional.d +++ b/libphobos/src/std/functional.d @@ -48,6 +48,9 @@ $(TR $(TH Function Name) $(TH Description) $(TD Create a unary or binary function from a string. Most often used when defining algorithms on ranges. )) + $(TR $(TD $(LREF bind)) + $(TD Passes the fields of a struct as arguments to a function. + )) )) Copyright: Copyright Andrei Alexandrescu 2008 - 2009. -- cgit v1.1