| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 252509
|
|
|
|
| |
llvm-svn: 252458
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch adds the LIBCXX_LIBC_IS_MUSL cmake option to allow the
building of libcxx with the Musl C library. The option is necessary as
Musl does not provide any predefined macro in order to test for its
presence, like GLIBC. Most of the changes specify the correct path to
choose through the various #if/#else constructs in the locale code.
Depends on D13407.
Reviewers: mclow.lists, jroelofs, EricWF
Subscribers: jfb, tberghammer, danalbert, srhines, cfe-commits
Differential Revision: http://reviews.llvm.org/D13673
llvm-svn: 252457
|
|
|
|
| |
llvm-svn: 252408
|
|
|
|
| |
llvm-svn: 252407
|
|
|
|
| |
llvm-svn: 252406
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change moves visibility attributes from out-of-class method
definitions to in-class declaration. This is needed for a switch to
attribute((internal_linkage)) (see http://reviews.llvm.org/D13925)
which can only appear on the first declaration.
This change does not touch istream/ostream/streambuf. They are
handled separately in http://reviews.llvm.org/D14409.
llvm-svn: 252385
|
|
|
|
|
|
|
|
| |
Allow deque and deque::iterator instantiation with incomplete element
type. This is an ABI breaking change, and it is only enabled if
LIBCXX_ABI_VERSION >= 2 or LIBCXX_ABI_UNSTABLE=ON.
llvm-svn: 252350
|
|
|
|
| |
llvm-svn: 252274
|
|
|
|
| |
llvm-svn: 252199
|
|
|
|
| |
llvm-svn: 252195
|
|
|
|
|
|
| |
swap directly. No real change.
llvm-svn: 251836
|
|
|
|
|
|
| |
unitialized_copy tests
llvm-svn: 251804
|
|
|
|
|
|
| |
heads-up.
llvm-svn: 251802
|
|
|
|
|
|
| |
Mac OS X with the new depr.c headers change
llvm-svn: 251768
|
|
|
|
| |
llvm-svn: 251767
|
|
|
|
|
|
| |
for C++17. Significantly augment the existing tests.
llvm-svn: 251766
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change caused problems when building code like povray that:
a) uses 'using namespace std;'
b) is built on an environment where the C library provides the "wrong"
(non-const-correct) interface for the str* functions
c) makes an unqualified call to one of those str* functions
A patch is out for review to add a facility to fix this (and to give the
correct signatures for these functions whenever possible, even when the C
library does not do so). This revert is expected to be temporary.
llvm-svn: 251665
|
|
|
|
| |
llvm-svn: 251618
|
|
|
|
| |
llvm-svn: 251545
|
|
|
|
|
|
| |
Sorry for the breakage.
llvm-svn: 251529
|
|
|
|
| |
llvm-svn: 251334
|
|
|
|
| |
llvm-svn: 251258
|
|
|
|
| |
llvm-svn: 251257
|
|
|
|
| |
llvm-svn: 251254
|
|
|
|
| |
llvm-svn: 251253
|
|
|
|
|
|
| |
incorrect
llvm-svn: 251252
|
|
|
|
| |
llvm-svn: 251250
|
|
|
|
| |
llvm-svn: 251247
|
|
|
|
| |
llvm-svn: 251246
|
|
|
|
| |
llvm-svn: 251220
|
|
|
|
|
|
|
| |
On a system with LC_COLLATE=C, this takes precedence over a non-C LANG
the test tries to impose and the test fails.
llvm-svn: 251131
|
|
|
|
| |
llvm-svn: 251100
|
|
|
|
| |
llvm-svn: 251065
|
|
|
|
| |
llvm-svn: 251063
|
|
|
|
| |
llvm-svn: 251062
|
|
|
|
| |
llvm-svn: 250802
|
|
|
|
|
|
| |
Should fix the xcode libc++ build.
llvm-svn: 250508
|
|
|
|
|
|
|
|
|
| |
This was put in to get libc++ building without libcxxabi. We now have
macros that show that we are building against libcxxabi so use that
instead. This guards against existing but broken cxxabi.h headers on the
system.
llvm-svn: 250507
|
|
|
|
| |
llvm-svn: 250472
|
|
|
|
| |
llvm-svn: 250471
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch turns on `LIBCXX_ENABLE_ABI_LINKER_SCRIPT` by default whenever `LLVM_HAVE_LINK_VERSION_SCRIPT` is ON. This turns out to be whenever:
1. WIN32 is not defined.
2 UNIX is defined.
3. APPLE is not defined.
While `LLVM_HAVE_LINK_VERSION_SCRIPT` is meant to reflect exactly what we are asking I think it's close enough.
After committing this patch Linux users will no longer have to use "-lc++abi" explicitly!
Reviewers: mclow.lists, danalbert, compnerd, jroelofs
Subscribers: emaste, rengolin, cbergstrom, cfe-commits
Differential Revision: http://reviews.llvm.org/D13739
llvm-svn: 250469
|
|
|
|
| |
llvm-svn: 250452
|
|
|
|
| |
llvm-svn: 250361
|
|
|
|
| |
llvm-svn: 250336
|
|
|
|
| |
llvm-svn: 250329
|
|
|
|
| |
llvm-svn: 250325
|
|
|
|
| |
llvm-svn: 250323
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Currently on most platforms you have to manually link the c++ abi library used with libc++ whenever you use libc++. So your typical libc++ command like invocation might look like:
```
clang++ -stdlib=libc++ foo.cpp -lc++abi
```
Having to manually link `libc++abi.so` makes it harder for libc++ to be used generically. This patch fixes that by generating a linker script for `libc++.so` that correctly links the ABI library. On linux the linker script for libc++abi would look like:
```
# libc++.so
INPUT(libc++.so.1 -lc++abi)
```
With the linker script you can now use libc++ using only `-stdlib=libc++`. This is the technique that is used on FreeBSD in ordered to link cxxrt and I think it's the best approach to make our users lives simpler.
The CMake option used to enable this is `LIBCXX_ENABLE_ABI_LINKER_SCRIPT`. In future I would like to enable this by default on all platforms except for Darwin.
Reviewers: mclow.lists, danalbert, rsmith, jroelofs, EricWF
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D12508
llvm-svn: 250319
|
|
|
|
| |
llvm-svn: 250312
|