Commit Graph

12 Commits

Author SHA1 Message Date
Dimitry Andric
68c772440b Import libcxxrt master 516a65c109eb0a01e5e95fbef455eb3215135cef.
Interesting fixes:
760ae47 Add std::uncaught_exceptions().
e45e6db Fix off-by-ones in emergency exception buffer free
3adaa2e Fix _Unwind_Exception cleanup functions
286776c Check exception cleanup function ptr before calling
edda626 Correct exception specifications on new and delete operators
2016-05-05 22:09:43 +00:00
Dimitry Andric
1666b1da2f Import libcxxrt master 1cb607e89f6135bbc10f3d3b6fba1f983e258dcc.
Interesting fixes:
1cb607e	Correct gcc version check for __cxa_begin_catch() declaration
        with or without throw()
2015-01-31 23:14:24 +00:00
Dimitry Andric
c8c9adf9f5 Import libcxxrt master 00bc29eb6513624824a6d7db2ebc768a4216a604.
Interesting fixes:
76584a0  Reorganize code to use only 32bit atomic ops for 32bit platforms
30d2ae5  Implement __cxa_throw_bad_array_new_length
2014-12-29 20:29:59 +00:00
David Chisnall
c7b3fb9657 Import new libcxxrt into vendor branch. 2013-07-10 10:48:22 +00:00
Dimitry Andric
af04c9e2c0 Import c812a07cd2f95c1403baf0bbe0366e7618d1d6d3 of libcxxrt:
*   Fix a copy-and-paste error when setting the unexpected exception handler
    (actually set the terminate handler by mistake).

*   Fix some warnings.

    Patch by Joerg Sonnenberger!

*   Don't call the _fast version of the TLS accessor in terminate() or unexpected().

    1) TLS may not have been set up yet.
    2) When we're in one of these functions, Really Bad Stuff has happened and potentially saving a few cycles really isn't important.

*   Merge in fixes from FreeBSD trunk to make atomics work with recent clang.
2013-04-27 17:19:07 +00:00
David Chisnall
a694e2e496 Imported new libcxxrt (one-line fix). 2013-01-21 17:31:12 +00:00
David Chisnall
8e59c7f592 Import b9db3a010143160624f123763025ab544b69bd9a of libcxxrt. This brings in
three fixes:

- Don't treat pointers to members as pointers in catch blocks (they're usually
  fat pointers).

- Correctly catch foreign exceptions in catchalls.

- Ensure that a happens-before relationship is established when setting
  terminate handlers in one thread and calling them in another.
2013-01-11 15:00:43 +00:00
David Chisnall
60e0399a08 Import new version of libcxxrt to vendor branch.
Approved by:	dim (mentor)
2012-03-20 17:41:02 +00:00
David Chisnall
c28183e940 Import new version of libcxxrt.
Approved by:	dim (mentor)
2012-03-13 13:20:01 +00:00
David Chisnall
1b99eac6fd Imported the latest version of libcxxrt.
Approved by:	dim (mentor)
2011-11-26 14:18:39 +00:00
David Chisnall
1d4efa7c24 Import the new version of libcxxrt, which grew an extra ARM.
Approved by:	dim (mentor)
2011-11-25 15:46:25 +00:00
David Chisnall
6ec4e3f257 Import libcxxrt / libc++ into a vendor branch.
Approved by:	dim (mentor)
2011-11-22 17:30:41 +00:00