File tree Expand file tree Collapse file tree 3 files changed +21
-15
lines changed
contrib/libs/cxxsupp/libcxxrt Expand file tree Collapse file tree 3 files changed +21
-15
lines changed Original file line number Diff line number Diff line change 1
1
pkgs : attrs : with pkgs ; rec {
2
- version = "2024-10-22 " ;
3
- revision = "5bf955548df364bc6efe4add80947b8689c74e2a " ;
2
+ version = "2024-10-30 " ;
3
+ revision = "6f2fdfebcd6291d763de8b17740d636f01761890 " ;
4
4
5
5
src = fetchFromGitHub {
6
6
owner = "libcxxrt" ;
7
7
repo = "libcxxrt" ;
8
8
rev = "${ revision } " ;
9
- hash = "sha256-YxMYouW/swdDP/YtNGFlFpBFIc5Pl08mCIl07V3OsCE =" ;
9
+ hash = "sha256-iUuIhwFg1Ys9DDoyDFTjEIlCVDdA1TACwtYXSRr5+2g =" ;
10
10
} ;
11
11
12
12
nativeBuildInputs = [ cmake ] ;
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ static_assert(offsetof(__cxa_dependent_exception, unwindHeader) ==
215
215
216
216
namespace std
217
217
{
218
- void unexpected ();
218
+ [[noreturn]] void unexpected ();
219
219
class exception
220
220
{
221
221
public:
@@ -1615,28 +1615,34 @@ namespace std
1615
1615
if (0 != info && 0 != info->terminateHandler )
1616
1616
{
1617
1617
info->terminateHandler ();
1618
- // Should not be reached - a terminate handler is not expected to
1619
- // return.
1620
- abort ();
1621
1618
}
1622
- terminateHandler.load ()();
1619
+ else
1620
+ {
1621
+ terminateHandler.load ()();
1622
+ }
1623
+ // Should not be reached - a terminate handler is not expected
1624
+ // to return.
1625
+ abort ();
1623
1626
}
1624
1627
/* *
1625
1628
* Called when an unexpected exception is encountered (i.e. an exception
1626
1629
* violates an exception specification). This calls abort() unless a
1627
1630
* custom handler has been set..
1628
1631
*/
1629
- void unexpected ()
1632
+ [[noreturn]] void unexpected ()
1630
1633
{
1631
1634
static __cxa_thread_info *info = thread_info ();
1632
1635
if (0 != info && 0 != info->unexpectedHandler )
1633
1636
{
1634
1637
info->unexpectedHandler ();
1635
- // Should not be reached - a terminate handler is not expected to
1636
- // return.
1637
- abort ();
1638
1638
}
1639
- unexpectedHandler.load ()();
1639
+ else
1640
+ {
1641
+ unexpectedHandler.load ()();
1642
+ }
1643
+ // Should not be reached - a unexpected handler is not expected
1644
+ // to return.
1645
+ abort ();
1640
1646
}
1641
1647
/* *
1642
1648
* Returns whether there are any exceptions currently being thrown that
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ LICENSE(
11
11
12
12
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
13
13
14
- VERSION(2024-10-22 )
14
+ VERSION(2024-10-30 )
15
15
16
- ORIGINAL_SOURCE(https ://github.com/libcxxrt/libcxxrt/archive/5bf955548df364bc6efe4add80947b8689c74e2a .tar.gz)
16
+ ORIGINAL_SOURCE(https ://github.com/libcxxrt/libcxxrt/archive/6f2fdfebcd6291d763de8b17740d636f01761890 .tar.gz)
17
17
18
18
PEERDIR(
19
19
contrib/libs/libunwind
You can’t perform that action at this time.
0 commit comments