Merge commit 'a3497f11684fc7cda4a7299ab5948edcffb3ff9a' into upstream-llvm
Squashed 'sources/cxx-stl/llvm-libc++/libcxx/' changes from d32add4..164b297

164b297 Implement string_view from the library fundamentals TS (n4023). Also works in C++11 and 03, with reduced functionality (mostly in the area of constexpr)
0bd40d6 fixes duplicate header installation http://llvm.org/bugs/show_bug.cgi?id=18681 Patch by Ryuta Suzuki <oroppas gmail com>
675dd5c Mark assign to be constepr only in c++14; can't have constexpr fns that return void in C++11
37025e1 Make the helper routines in string really be constexpr. This required a bit of refacoring in algorithm as well. Give them better names while we're at it. All of these are internal rotines; no visible functionality change.
c1345e3 A bunch of the char.traits tests were using unicode literals. #ifdef those bits out on c++03, since it doesn't support u"" and U "" style strings.
c743921 Update Arcanist config to point to reviews.llvm.org
5520bf5 Fixed damaged row in issues table; thanks to STL for the catch
281918b Testing infastructure: A template for char_traits where all the functions are constexpr, and a comparison predicate which counts how many times it's been called.
20f0955 Since we now have a value for __cplusplus for c++14, teach libc++ about it
73c1fce Use __builtin_operator_new/__builtin_operator_delete when available. This allows allocations and deallocations to be optimized out.
0707b67 Handle partial nanosleeps in this_thread::sleep_for
981b01d Make meta.trans.other/aligned_storage.pass.cpp pass on arm.
0211e86 Make locales (and transitively, std::endl) work reliably with gcc.
5a54699 Add a note about debug mode being non-functional
4d9f97b [libc++] Don't return uninitialized data from random_device::operator()
8db32cc [libc++] random_device fails if open returns zero
d2f0b5c First cut at a post c++14 status page
4074d6e Remove unused code in a libc++ test.
360f319 Preparation for <string_view>. More helper functions that can be shared between <string> and <string_view>. No functionality change
e39915b Fix XFAIL condition from r208840
3c122d8 Add a _LIBCPP_CONSTEXPR that was missed in r170026.

git-subtree-dir: sources/cxx-stl/llvm-libc++/libcxx
git-subtree-split: 164b297099f486abe42122fe1aefe7eb741b7acf
Squashed 'sources/cxx-stl/llvm-libc++abi/libcxxabi/' changes from 2b683fb..e575ebb

e575ebb Silence the implicit signed/unsigned conversion warning.
fac040d Silence unused variable and parameter warnings.
d8d58d9 Fix linux build.
533c796 Add missing header for _LIBUNWIND_LOG().
1796d14 Fix building for iOS
298baa3 Minor libc++abi changes to make things build better with gcc.
d6e2336 Update libc++abi to use the ARM EHABI unwinder from its libunwind.
b9e4316 Land support for ARM EHABI unwinding for libunwind.
55d99b7 Start landing support for ARM EHABI unwinding.
c9d6b42 Add a FAQ section, with a question about why the std::exception class destructors live in libc++abi
e53a8f3 Add test case for inherited exceptions
13584a6 Add EH test case checking that handlers in noexcept functions can still unwind
0f6a54f Add EH test cases corresponding to C++ ABI # 15.3.3

git-subtree-dir: sources/cxx-stl/llvm-libc++abi/libcxxabi
git-subtree-split: e575ebb57e88f11babbc6de91a39f27d473d7e31
Merge commit '1369c8991abba62d6d356c8a66c0c340ce015e56' into upstream-llvm
Squashed 'sources/cxx-stl/llvm-libc++/libcxx/' changes from 164b297..81aa3a7

81aa3a7 Patch from Albert J. Wong to make type_traits take advantage of gcc intrinsics in 4.7 and later. No functionality change when using clang.
44ead61 eliminate install of duplicate headers (take 2) Patch by Ryuta Suzuki
ba6dbf4 Some calls to get<>() were qualified. Some were not. Qualify them all. Fixes bug #20092. Thanks to Agustín Bergé for the bug report and the fix.
e4694b4 Formatting improvements in the <string_view> synopsis suggested by RSmith. No functionality change.
04035d6 Revert "fixes duplicate header installation"

git-subtree-dir: sources/cxx-stl/llvm-libc++/libcxx
git-subtree-split: 81aa3a745c33c32215f94778f5b792bc5082f90d
Merge commit 'db951df2d79af262fa738e541b5c9c247fbd2098' into upstream-llvm
Merge branch 'upstream-llvm' into upstream-llvm-ndkpatched
Merge branch 'upstream-llvm-ndkpatched'

Conflicts:
	sources/cxx-stl/llvm-libc++/libcxx/include/__config
	sources/cxx-stl/llvm-libc++/libcxx/src/thread.cpp
	sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.trans/meta.trans.other/aligned_storage.pass.cpp
	sources/cxx-stl/llvm-libc++abi/libcxxabi/include/cxxabi.h
	sources/cxx-stl/llvm-libc++abi/libcxxabi/include/libunwind.h
	sources/cxx-stl/llvm-libc++abi/libcxxabi/include/unwind.h
	sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/AddressSpace.hpp
	sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/Unwind-EHABI.cpp
	sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/UnwindLevel1.c
	sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/config.h
	sources/cxx-stl/llvm-libc++abi/libcxxabi/src/Unwind/libunwind.cpp
	sources/cxx-stl/llvm-libc++abi/libcxxabi/src/cxa_exception.cpp
	sources/cxx-stl/llvm-libc++abi/libcxxabi/src/cxa_personality.cpp
	sources/cxx-stl/llvm-libc++abi/libcxxabi/test/inherited_exception.cpp

Change-Id: I502479ade4de96b9f088a7e94396fa9f20ba20e7
Merge pull request #153 from awong-dev/merge-nico-patch

Merge nico patch