Skip to content

Commit 9e185cf

Browse files
update libcxxabi.
1 parent 59ff5a6 commit 9e185cf

9 files changed

+19
-15
lines changed

system/lib/libcxxabi/CREDITS.TXT

+4
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ D: Minor patches and fixes
3232
N: Nowar Gu
3333
E: wenhan.gu@gmail.com
3434
D: Minor patches and fixes
35+
36+
N: Bruce Mitchener, Jr.
37+
E: bruce.mitchener@gmail.com
38+
D: Minor typo fixes

system/lib/libcxxabi/LICENSE.TXT

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Full text of the relevant licenses is included below.
1414
University of Illinois/NCSA
1515
Open Source License
1616

17-
Copyright (c) 2009-2010 by the contributors listed in CREDITS.TXT
17+
Copyright (c) 2009-2013 by the contributors listed in CREDITS.TXT
1818

1919
All rights reserved.
2020

@@ -55,7 +55,7 @@ SOFTWARE.
5555

5656
==============================================================================
5757

58-
Copyright (c) 2009-2010 by the contributors listed in CREDITS.TXT
58+
Copyright (c) 2009-2013 by the contributors listed in CREDITS.TXT
5959

6060
Permission is hereby granted, free of charge, to any person obtaining a copy
6161
of this software and associated documentation files (the "Software"), to deal

system/lib/libcxxabi/readme.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
These files are from libcxxabi, svn revision 169402, Dec 10 2012
1+
These files are from libcxxabi, svn revision 175275, Feb 15, 2013.

system/lib/libcxxabi/src/cxa_exception.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ __cxa_decrement_exception_refcount(void* thrown_object) throw()
524524

525525
/*
526526
Returns a pointer to the thrown object (if any) at the top of the
527-
caughtExceptions stack. Atommically increment the exception's referenceCount.
527+
caughtExceptions stack. Atomically increment the exception's referenceCount.
528528
If there is no such thrown object or if the thrown object is foreign,
529529
returns null.
530530
@@ -573,7 +573,7 @@ dependent_exception_cleanup(_Unwind_Reason_Code reason, _Unwind_Exception* unwin
573573
}
574574

575575
/*
576-
If thrown_object is not null, allocate, initialize and thow a dependent
576+
If thrown_object is not null, allocate, initialize and throw a dependent
577577
exception.
578578
*/
579579
void

system/lib/libcxxabi/src/cxa_exception_storage.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ extern "C" {
7575
}
7676

7777
// Note that this implementation will reliably return NULL if not
78-
// preceeded by a call to __cxa_get_globals(). This is an extension
78+
// preceded by a call to __cxa_get_globals(). This is an extension
7979
// to the Itanium ABI and is taken advantage of in several places in
8080
// libc++abi.
8181
__cxa_eh_globals * __cxa_get_globals_fast () {

system/lib/libcxxabi/src/cxa_handlers.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ extern void (*__cxa_new_handler)();
4545
extern std::atomic<std::new_handler> __cxa_new_handler;
4646
4747
This change will not impact their ABI. But it will allow for a
48-
portible performance optimization.
48+
portable performance optimization.
4949
5050
*/
5151

system/lib/libcxxabi/src/cxa_personality.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
+-----------------+--------+
4040
| lpStartEncoding | (char) |
4141
+---------+-------+--------+---------------+-----------------------+
42-
| lpStart | (encoded wtih lpStartEncoding) | defaults to funcStart |
42+
| lpStart | (encoded with lpStartEncoding) | defaults to funcStart |
4343
+---------+-----+--------+-----------------+---------------+-------+
4444
| ttypeEncoding | (char) | Encoding of the type_info table |
4545
+---------------+-+------+----+----------------------------+----------------+
@@ -187,7 +187,7 @@ readULEB128(const uint8_t** data)
187187
}
188188

189189
/// Read a sleb128 encoded value and advance pointer
190-
/// See Variable Length Data Applendix C in:
190+
/// See Variable Length Data Appendix C in:
191191
/// @link http://dwarfstd.org/Dwarf4.pdf @unlink
192192
/// @param data reference variable holding memory pointer to decode from
193193
/// @returns decoded value
@@ -344,7 +344,7 @@ get_shim_type_info(uint64_t ttypeIndex, const uint8_t* classInfo,
344344
}
345345

346346
/*
347-
This is checking a thrown exception type, excpType, against a posibly empty
347+
This is checking a thrown exception type, excpType, against a possibly empty
348348
list of catchType's which make up an exception spec.
349349
350350
An exception spec acts like a catch handler, but in reverse. This "catch
@@ -489,7 +489,7 @@ scan_eh_tab(scan_results& results, _Unwind_Action actions, bool native_exception
489489
return;
490490
}
491491
}
492-
else // Niether _UA_SEARCH_PHASE nor _UA_CLEANUP_PHASE is set
492+
else // Neither _UA_SEARCH_PHASE nor _UA_CLEANUP_PHASE is set
493493
{
494494
// One of these should be set.
495495
// Client error
@@ -1038,7 +1038,7 @@ __cxa_call_unexpected(void* arg)
10381038
{
10391039
// We need to __cxa_end_catch for both the old exception and the
10401040
// new exception. Technically we should do it in that order.
1041-
// But it is expedent to do it in the opposite order:
1041+
// But it is expedient to do it in the opposite order:
10421042
// Call __cxa_end_catch for new_exception_header
10431043
__cxa_end_catch();
10441044
// Throw std::bad_exception will __cxa_end_catch for

system/lib/libcxxabi/src/cxa_vector.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace {
3232
// A pair of classes to simplify exception handling and control flow.
3333
// They get passed a block of memory in the constructor, and unless the
3434
// 'release' method is called, they deallocate the memory in the destructor.
35-
// Prefered usage is to allocate some memory, attach it to one of these objects,
35+
// Preferred usage is to allocate some memory, attach it to one of these objects,
3636
// and then, when all the operations to set up the memory block have succeeded,
3737
// call 'release'. If any of the setup operations fail, or an exception is
3838
// thrown, then the block is automatically deallocated.

system/lib/libcxxabi/src/private_typeinfo.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
// When _LIBCXX_DYNAMIC_FALLBACK is defined, and only in the case where
1717
// there is a detected inconsistency in the type_info hierarchy during a
1818
// dynamic_cast, then the equality operation will fall back to using strcmp
19-
// on type_info names to determin type_info equality.
19+
// on type_info names to determine type_info equality.
2020
//
2121
// This change happens *only* under dynamic_cast, and only when
2222
// dynamic_cast is faced with the choice: abort, or possibly give back the
2323
// wrong answer. If when the dynamic_cast is done with this fallback
2424
// algorithm and an inconsistency is still detected, dynamic_cast will call
25-
// abort with an approriate message.
25+
// abort with an appropriate message.
2626
//
2727
// The current implementation of _LIBCXX_DYNAMIC_FALLBACK requires a
2828
// printf-like function called syslog:

0 commit comments

Comments
 (0)