Go to file
Eric Fiselier c934ca7237 [libcxx] Add logic to probe compiler in tests.
Summary:
This patch probes the cxx compiler used during testing by getting it to dump its predefined macros. Based on the value of these macros the compiler name and compiler name + version are added to the available features.

There are three compiler names:
- `clang`
- `apple-clang`
- `gcc`.

The available features added are equivalent to:
- `'%s' % compiler_name`
- `'%s-%s.%s' % compiler_name, major_version, minor_version`

This information can be used to XFAIL tests on different compilers / versions.



Reviewers: mclow.lists, danalbert, jroelofs

Reviewed By: jroelofs

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D6399

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@223593 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-06 21:13:15 +00:00
cmake Fix build regression caused by not defining ABI library macros 2014-11-15 17:25:23 +00:00
include Improve error message when _LIBCPP_HAS_NO_MONOTONIC_CLOCK is used improperly 2014-12-06 20:09:11 +00:00
lib Fixes to get libc++ building on sun solaris. Patch from C Bergstrom. 2014-11-25 21:57:41 +00:00
src libc++: support NaCl when building thread.cpp 2014-12-02 17:30:19 +00:00
test [libcxx] Add logic to probe compiler in tests. 2014-12-06 21:13:15 +00:00
www Implement N4280 - 'Non-member size() and more' 2014-11-19 19:43:23 +00:00
.arcconfig Update Arcanist config to point to reviews.llvm.org 2014-06-10 18:29:36 +00:00
CMakeLists.txt Add support for building and testing libc++ without threads to CMake. 2014-12-06 21:02:58 +00:00
CREDITS.TXT Add self to credits 2014-08-21 04:21:43 +00:00
LICENSE.TXT Update the copyright credits -- Happy new year 2014! 2014-01-01 08:27:31 +00:00
Makefile Exclude .svn (and other "dot" directories) when installing headers. 2014-03-13 16:13:54 +00:00