summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2025-08-26 11:40:09 +0300
committerrobot-contrib <[email protected]>2025-08-26 12:38:01 +0300
commit6498a141b0b73a408e7646e6dc634843da667ee4 (patch)
treed60fbbab142167febbd80060b75ede3cade69c7d
parent6e73a375e3c158855033444e878efc8e2c2accde (diff)
Update contrib/restricted/boost/context to 1.89.0
commit_hash:dc4a228a1fa226565da980e9feb032b95b76df98
-rw-r--r--contrib/restricted/boost/context/.yandex_meta/default.nix4
-rw-r--r--contrib/restricted/boost/context/fcontext_impl/ya.make4
-rw-r--r--contrib/restricted/boost/context/impl_common/ya.make4
-rw-r--r--contrib/restricted/boost/context/include/boost/context/continuation_fcontext.hpp6
-rw-r--r--contrib/restricted/boost/context/include/boost/context/continuation_ucontext.hpp4
-rw-r--r--contrib/restricted/boost/context/include/boost/context/continuation_winfib.hpp4
-rw-r--r--contrib/restricted/boost/context/include/boost/context/detail/config.hpp6
-rw-r--r--contrib/restricted/boost/context/include/boost/context/fiber_fcontext.hpp8
-rw-r--r--contrib/restricted/boost/context/include/boost/context/fiber_ucontext.hpp4
-rw-r--r--contrib/restricted/boost/context/include/boost/context/fiber_winfib.hpp4
-rw-r--r--contrib/restricted/boost/context/src/asm/make_i386_ms_pe_masm.masm2
-rw-r--r--contrib/restricted/boost/context/src/asm/make_x86_64_ms_pe_masm.masm2
-rw-r--r--contrib/restricted/boost/context/ucontext_impl/ya.make4
-rw-r--r--contrib/restricted/boost/context/ya.make4
14 files changed, 31 insertions, 29 deletions
diff --git a/contrib/restricted/boost/context/.yandex_meta/default.nix b/contrib/restricted/boost/context/.yandex_meta/default.nix
index b1aff36e8c4..fa9d369c33b 100644
--- a/contrib/restricted/boost/context/.yandex_meta/default.nix
+++ b/contrib/restricted/boost/context/.yandex_meta/default.nix
@@ -1,13 +1,13 @@
self: super: with self; {
boost_context = stdenv.mkDerivation rec {
pname = "boost_context";
- version = "1.88.0";
+ version = "1.89.0";
src = fetchFromGitHub {
owner = "boostorg";
repo = "context";
rev = "boost-${version}";
- hash = "sha256-KYEjmXFVNiP8TD3TB+JS5CwvfHPdly3qDKDNaW9w0N4=";
+ hash = "sha256-f8+ECYXwDBF9/cyLdsuqeGe7LVycj6shHyAhhhl8uYQ=";
};
};
}
diff --git a/contrib/restricted/boost/context/fcontext_impl/ya.make b/contrib/restricted/boost/context/fcontext_impl/ya.make
index 2d7bae40658..5b8869955db 100644
--- a/contrib/restricted/boost/context/fcontext_impl/ya.make
+++ b/contrib/restricted/boost/context/fcontext_impl/ya.make
@@ -4,9 +4,9 @@ LIBRARY()
WITHOUT_LICENSE_TEXTS()
-VERSION(1.88.0)
+VERSION(1.89.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/context/archive/boost-1.88.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/context/archive/boost-1.89.0.tar.gz)
LICENSE(BSL-1.0)
diff --git a/contrib/restricted/boost/context/impl_common/ya.make b/contrib/restricted/boost/context/impl_common/ya.make
index 4711c47c288..b29e8bdfa82 100644
--- a/contrib/restricted/boost/context/impl_common/ya.make
+++ b/contrib/restricted/boost/context/impl_common/ya.make
@@ -4,9 +4,9 @@ LIBRARY()
WITHOUT_LICENSE_TEXTS()
-VERSION(1.88.0)
+VERSION(1.89.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/context/archive/boost-1.88.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/context/archive/boost-1.89.0.tar.gz)
LICENSE(BSL-1.0)
diff --git a/contrib/restricted/boost/context/include/boost/context/continuation_fcontext.hpp b/contrib/restricted/boost/context/include/boost/context/continuation_fcontext.hpp
index 0977e0f712f..671dfe16a6e 100644
--- a/contrib/restricted/boost/context/include/boost/context/continuation_fcontext.hpp
+++ b/contrib/restricted/boost/context/include/boost/context/continuation_fcontext.hpp
@@ -74,7 +74,7 @@ template< typename Rec >
transfer_t context_exit( transfer_t t) noexcept {
Rec * rec = static_cast< Rec * >( t.data);
#if BOOST_CONTEXT_SHADOW_STACK
- // destory shadow stack
+ // destroy shadow stack
std::size_t ss_size = *((unsigned long*)(reinterpret_cast< uintptr_t >( rec)- 16));
long unsigned int ss_base = *((unsigned long*)(reinterpret_cast< uintptr_t >( rec)- 8));
munmap((void *)ss_base, ss_size);
@@ -174,7 +174,7 @@ fcontext_t create_context1( StackAlloc && salloc, Fn && fn) {
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( sctx.sp) - static_cast< uintptr_t >( sizeof( Record) ) )
& ~static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context stack
+ // placement new for control structure on context stack
Record * record = new ( storage) Record{
sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// 64byte gab between control structure and stack top
@@ -216,7 +216,7 @@ fcontext_t create_context2( preallocated palloc, StackAlloc && salloc, Fn && fn)
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( palloc.sp) - static_cast< uintptr_t >( sizeof( Record) ) )
& ~ static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context-stack
+ // placement new for control structure on context-stack
Record * record = new ( storage) Record{
palloc.sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// 64byte gab between control structure and stack top
diff --git a/contrib/restricted/boost/context/include/boost/context/continuation_ucontext.hpp b/contrib/restricted/boost/context/include/boost/context/continuation_ucontext.hpp
index 3b74b25c288..5b632dc9043 100644
--- a/contrib/restricted/boost/context/include/boost/context/continuation_ucontext.hpp
+++ b/contrib/restricted/boost/context/include/boost/context/continuation_ucontext.hpp
@@ -287,7 +287,7 @@ static activation_record * create_context1( StackAlloc && salloc, Fn && fn) {
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( sctx.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) )
& ~ static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context stack
+ // placement new for control structure on context stack
capture_t * record = new ( storage) capture_t{
sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// stack bottom
@@ -330,7 +330,7 @@ static activation_record * create_context2( preallocated palloc, StackAlloc && s
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( palloc.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) )
& ~ static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context stack
+ // placement new for control structure on context stack
capture_t * record = new ( storage) capture_t{
palloc.sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// stack bottom
diff --git a/contrib/restricted/boost/context/include/boost/context/continuation_winfib.hpp b/contrib/restricted/boost/context/include/boost/context/continuation_winfib.hpp
index 060930c405d..dc416849323 100644
--- a/contrib/restricted/boost/context/include/boost/context/continuation_winfib.hpp
+++ b/contrib/restricted/boost/context/include/boost/context/continuation_winfib.hpp
@@ -251,7 +251,7 @@ static activation_record * create_context1( StackAlloc && salloc, Fn && fn) {
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( sctx.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) )
& ~ static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context stack
+ // placement new for control structure on context stack
capture_t * record = new ( storage) capture_t{
sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// create user-context
@@ -268,7 +268,7 @@ static activation_record * create_context2( preallocated palloc, StackAlloc && s
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( palloc.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) )
& ~ static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context stack
+ // placement new for control structure on context stack
capture_t * record = new ( storage) capture_t{
palloc.sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// create user-context
diff --git a/contrib/restricted/boost/context/include/boost/context/detail/config.hpp b/contrib/restricted/boost/context/include/boost/context/detail/config.hpp
index 218d6c30380..beec75f13aa 100644
--- a/contrib/restricted/boost/context/include/boost/context/detail/config.hpp
+++ b/contrib/restricted/boost/context/include/boost/context/detail/config.hpp
@@ -67,7 +67,7 @@
#if defined(__cpp_lib_integer_sequence) && __cpp_lib_integer_sequence >= 201304
# undef BOOST_CONTEXT_NO_CXX14_INTEGER_SEQUENCE
#endif
-// workaroud: MSVC 14 does not provide macros to test for compile-time integer sequence
+// workaround: MSVC 14 does not provide macros to test for compile-time integer sequence
#if _MSC_VER > 1800 // _MSC_VER == 1800 -> MS Visual Studio 2013
# undef BOOST_CONTEXT_NO_INDEX_SEQUENCE
#endif
@@ -78,7 +78,7 @@
# endif
#endif
-// workaroud: MSVC 14 does support constexpr
+// workaround: MSVC 14 does support constexpr
#if _MSC_VER > 1800 // _MSC_VER == 1800 -> MS Visual Studio 2013
# undef BOOST_NO_CXX11_CONSTEXPR
#endif
@@ -112,7 +112,7 @@
// modern architectures have cachelines with 64byte length
// ARM Cortex-A15 32/64byte, Cortex-A9 16/32/64bytes
// MIPS 74K: 32byte, 4KEc: 16byte
-// ist should be safe to use 64byte for all
+// it should be safe to use 64byte for all
static constexpr std::size_t cache_alignment{ 64 };
static constexpr std::size_t cacheline_length{ 64 };
// lookahead size for prefetching
diff --git a/contrib/restricted/boost/context/include/boost/context/fiber_fcontext.hpp b/contrib/restricted/boost/context/include/boost/context/fiber_fcontext.hpp
index 9c530698237..2c91b11089c 100644
--- a/contrib/restricted/boost/context/include/boost/context/fiber_fcontext.hpp
+++ b/contrib/restricted/boost/context/include/boost/context/fiber_fcontext.hpp
@@ -123,7 +123,7 @@ template< typename Rec >
transfer_t fiber_exit( transfer_t t) noexcept {
Rec * rec = static_cast< Rec * >( t.data);
#if BOOST_CONTEXT_SHADOW_STACK
- // destory shadow stack
+ // destroy shadow stack
std::size_t ss_size = *((unsigned long*)(reinterpret_cast< uintptr_t >( rec)- 16));
long unsigned int ss_base = *((unsigned long*)(reinterpret_cast< uintptr_t >( rec)- 8));
munmap((void *)ss_base, ss_size);
@@ -220,7 +220,7 @@ fcontext_t create_fiber1( StackAlloc && salloc, Fn && fn) {
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( sctx.sp) - static_cast< uintptr_t >( sizeof( Record) ) )
& ~static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context stack
+ // placement new for control structure on context stack
Record * record = new ( storage) Record{
sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// 64byte gab between control structure and stack top
@@ -262,7 +262,7 @@ fcontext_t create_fiber2( preallocated palloc, StackAlloc && salloc, Fn && fn) {
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( palloc.sp) - static_cast< uintptr_t >( sizeof( Record) ) )
& ~ static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context-stack
+ // placwment new for control structure on context-stack
Record * record = new ( storage) Record{
palloc.sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// 64byte gab between control structure and stack top
@@ -344,6 +344,8 @@ public:
~fiber() {
if ( BOOST_UNLIKELY( nullptr != fctx_) ) {
+ detail::manage_exception_state exstate;
+ boost::ignore_unused(exstate);
detail::ontop_fcontext(
#if defined(BOOST_NO_CXX14_STD_EXCHANGE)
detail::exchange( fctx_, nullptr),
diff --git a/contrib/restricted/boost/context/include/boost/context/fiber_ucontext.hpp b/contrib/restricted/boost/context/include/boost/context/fiber_ucontext.hpp
index 459b107616b..687e1c29913 100644
--- a/contrib/restricted/boost/context/include/boost/context/fiber_ucontext.hpp
+++ b/contrib/restricted/boost/context/include/boost/context/fiber_ucontext.hpp
@@ -312,7 +312,7 @@ static fiber_activation_record * create_fiber1( StackAlloc && salloc, Fn && fn)
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( sctx.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) )
& ~ static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context stack
+ // placement new for control structure on context stack
capture_t * record = new ( storage) capture_t{
sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// stack bottom
@@ -363,7 +363,7 @@ static fiber_activation_record * create_fiber2( preallocated palloc, StackAlloc
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( palloc.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) )
& ~ static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context stack
+ // placement new for control structure on context stack
capture_t * record = new ( storage) capture_t{
palloc.sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// stack bottom
diff --git a/contrib/restricted/boost/context/include/boost/context/fiber_winfib.hpp b/contrib/restricted/boost/context/include/boost/context/fiber_winfib.hpp
index bb895ac9c67..ff29a8e1ea6 100644
--- a/contrib/restricted/boost/context/include/boost/context/fiber_winfib.hpp
+++ b/contrib/restricted/boost/context/include/boost/context/fiber_winfib.hpp
@@ -250,7 +250,7 @@ static fiber_activation_record * create_fiber1( StackAlloc && salloc, Fn && fn)
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( sctx.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) )
& ~ static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context stack
+ // placement new for control structure on context stack
capture_t * record = new ( storage) capture_t{
sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// create user-context
@@ -267,7 +267,7 @@ static fiber_activation_record * create_fiber2( preallocated palloc, StackAlloc
void * storage = reinterpret_cast< void * >(
( reinterpret_cast< uintptr_t >( palloc.sp) - static_cast< uintptr_t >( sizeof( capture_t) ) )
& ~ static_cast< uintptr_t >( 0xff) );
- // placment new for control structure on context stack
+ // placement new for control structure on context stack
capture_t * record = new ( storage) capture_t{
palloc.sctx, std::forward< StackAlloc >( salloc), std::forward< Fn >( fn) };
// create user-context
diff --git a/contrib/restricted/boost/context/src/asm/make_i386_ms_pe_masm.masm b/contrib/restricted/boost/context/src/asm/make_i386_ms_pe_masm.masm
index 5246465cb97..3879396390f 100644
--- a/contrib/restricted/boost/context/src/asm/make_i386_ms_pe_masm.masm
+++ b/contrib/restricted/boost/context/src/asm/make_i386_ms_pe_masm.masm
@@ -53,7 +53,7 @@ make_fcontext PROC BOOST_CONTEXT_EXPORT
mov [eax+014h], ecx
; second arg of make_fcontext() == size of context-stack
mov edx, [esp+08h]
- ; negate stack size for LEA instruction (== substraction)
+ ; negate stack size for LEA instruction (== subtraction)
neg edx
; compute bottom address of context stack (limit)
lea ecx, [ecx+edx]
diff --git a/contrib/restricted/boost/context/src/asm/make_x86_64_ms_pe_masm.masm b/contrib/restricted/boost/context/src/asm/make_x86_64_ms_pe_masm.masm
index 98e68a2ad56..a6c2b147e44 100644
--- a/contrib/restricted/boost/context/src/asm/make_x86_64_ms_pe_masm.masm
+++ b/contrib/restricted/boost/context/src/asm/make_x86_64_ms_pe_masm.masm
@@ -110,7 +110,7 @@ make_fcontext PROC BOOST_CONTEXT_EXPORT FRAME
; save top address of context stack as 'base'
mov [rax+0c8h], rcx
; second arg of make_fcontext() == size of context-stack
- ; negate stack size for LEA instruction (== substraction)
+ ; negate stack size for LEA instruction (== subtraction)
neg rdx
; compute bottom address of context stack (limit)
lea rcx, [rcx+rdx]
diff --git a/contrib/restricted/boost/context/ucontext_impl/ya.make b/contrib/restricted/boost/context/ucontext_impl/ya.make
index 0b76285f588..cecbbaf6bff 100644
--- a/contrib/restricted/boost/context/ucontext_impl/ya.make
+++ b/contrib/restricted/boost/context/ucontext_impl/ya.make
@@ -4,9 +4,9 @@ LIBRARY()
WITHOUT_LICENSE_TEXTS()
-VERSION(1.88.0)
+VERSION(1.89.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/context/archive/boost-1.88.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/context/archive/boost-1.89.0.tar.gz)
LICENSE(BSL-1.0)
diff --git a/contrib/restricted/boost/context/ya.make b/contrib/restricted/boost/context/ya.make
index 52d52955d56..4dd0a173b9a 100644
--- a/contrib/restricted/boost/context/ya.make
+++ b/contrib/restricted/boost/context/ya.make
@@ -6,9 +6,9 @@ LICENSE(BSL-1.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.88.0)
+VERSION(1.89.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/context/archive/boost-1.88.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/context/archive/boost-1.89.0.tar.gz)
IF (SANITIZER_TYPE)
PEERDIR(