llvm-capstone/libcxx
Adhemerval Zanella ced7928069 libcxx: Fix path.compare.pass expected result
The expected 'filesystem::path::compare' result states that for different
path only result sign contains the information about passed arguments
(not its integer value).  This is due it uses the output of other compare
functions (basic_string_view and char_traits) without further handling and
char_traits uses memcmp for final buffer comparison.

However for GLIBC on AArch64 the code:

  int ret = memcmp ("b/a/c", "a/b/c", 1);

Results in '64' where for x86_64 it results in '1'.

This patch fixes the expected 'filesystem::path::compare' by normalizing
all the results before assert comparison.

llvm-svn: 278745
2016-08-15 21:24:50 +00:00
..
benchmarks Update in-tree Google Benchmark to current ToT. 2016-08-09 18:56:48 +00:00
cmake Rework libatomic handling in CMake and LIT. 2016-07-18 06:01:50 +00:00
docs Allow building both shared and static library 2016-08-08 22:57:25 +00:00
include Fix PR28506. Re-enable missing math.h C++11 decls on SunOS. Patch from Michal Gorny. 2016-08-15 18:58:57 +00:00
lib Allow building both shared and static library 2016-08-08 22:57:25 +00:00
src [libcxx] Add std::any 2016-08-11 03:13:11 +00:00
test libcxx: Fix path.compare.pass expected result 2016-08-15 21:24:50 +00:00
utils Update in-tree Google Benchmark to current ToT. 2016-08-09 18:56:48 +00:00
www [libcxx] Add std::any 2016-08-11 03:13:11 +00:00
.arcconfig Upgrade arcconfig to use https 2016-07-18 02:02:49 +00:00
.gitignore Add MSVC specifics to .gitignore. Patch from STL@microsoft.com 2016-08-03 05:51:19 +00:00
CMakeLists.txt Add private option to change build dialect from C++11 2016-08-14 22:51:54 +00:00
CREDITS.TXT
LICENSE.TXT
TODO.TXT