summaryrefslogtreecommitdiffstats
path: root/libcxxabi/src/cxa_vector.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [libc++abi] Remove uses of C++ headers when possibleLouis Dionne2019-10-011-1/+1
| | | | | | | | | | This reduces the (circular) dependency of libc++abi on a C++ standard library. Outside of the demangler which uses fancier C++ features, the only C++ headers now required by libc++abi are pretty much <new> and <exception>, and that's because libc++abi defines some types that are declared in those headers. llvm-svn: 373381
* [NFC][libc++abi] Remove trailing whitespace from sourcesLouis Dionne2019-10-011-35/+35
| | | | llvm-svn: 373379
* Fix PR41465 - Use __builtin_mul_overflow instead of hand-rolled check.Eric Fiselier2019-04-111-4/+29
| | | | | | | | | On ARM the hand-rolled check causes a call to __aeabi_uidiv, which we may not have a definition for. Using the builtin avoids the generation of any library call. llvm-svn: 358195
* [NFC] Correct outdated links to the Itanium C++ ABI documentationLouis Dionne2019-04-111-1/+1
| | | | | | | | Those are now hosted on GitHub. rdar://problem/36557462 llvm-svn: 358191
* Fix PR41395 - __cxa_vec_new may overflow in allocation size calculation.Eric Fiselier2019-04-051-13/+43
| | | | llvm-svn: 357814
* Update more file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | | to reflect the new license. These used slightly different spellings that defeated my regular expressions. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. llvm-svn: 351648
* ibc++abi: mark visibilitySaleem Abdulrasool2015-12-041-29/+37
| | | | | | | | | Mark functions and types with the appropriate visibility. This is particularly useful for environments which explicitly indicate origin of functions (Windows). This aids in generating libc++abi as a DSO which exposes only the public interfaces. llvm-svn: 254691
* c++abi: whitespace adjustmentSaleem Abdulrasool2015-12-041-41/+29
| | | | | | | Cleanup some code with clang-format to make the following change easier to identify material difference. NFC. llvm-svn: 254690
* Fix build with GCC:Nick Lewycky2015-03-051-0/+4
| | | | | | | | - GCC doesn't support #pragma mark, only Apple GCC and clang. Wrap the pragma mark's in #if 0 to make gcc ignore them but xcode still see them. - Wrap a bunch of "#pragma clang" lines in #ifdef __clang__. - Pacify gcc's -Wparenthesis in a case where it's quite reasonable. llvm-svn: 231344
* [libcxxabi] Fix broken codesourcery.com links in commentsJonathan Roelofs2014-02-121-1/+1
| | | | | review: http://llvm-reviews.chandlerc.com/D2718 llvm-svn: 201208
* Bruce Mitchener: Typo fixes.Howard Hinnant2013-02-151-1/+1
| | | | llvm-svn: 175275
* Add some needed symbols in exception.cpp and eliminate dependence upon ↵Howard Hinnant2012-01-241-1/+1
| | | | | | uncaught_exception() from cxa_vector.cpp. libc++abi is very nearly a self-contained (though not complete) library now. llvm-svn: 148866
* Implement vector new and delete functionalityMarshall Clow2011-06-101-0/+367
llvm-svn: 132832
OpenPOWER on IntegriCloud