1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-25 16:13:17 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
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
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