[libcxx] r273104 - Add UBSan blacklist for <__tree> and <__hash_table>

2016-06-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jun 18 21:25:22 2016 New Revision: 273104 URL: http://llvm.org/viewvc/llvm-project?rev=273104&view=rev Log: Add UBSan blacklist for <__tree> and <__hash_table> We all know <__tree> and <__hash_table> have plenty of UB that UBSan faithfully finds. I am working on fixing th

[libcxx] r273103 - Fix bugs in last_write_time implementation.

2016-06-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jun 18 21:04:49 2016 New Revision: 273103 URL: http://llvm.org/viewvc/llvm-project?rev=273103&view=rev Log: Fix bugs in last_write_time implementation. * Fix passing a negative number as either tv_usec or tv_nsec. When file_time_type is negative and has a non-zero sub-

r273102 - Revert "Make test less sensitive to the resource directory."

2016-06-18 Thread Paul Robinson via cfe-commits
Author: probinson Date: Sat Jun 18 20:14:35 2016 New Revision: 273102 URL: http://llvm.org/viewvc/llvm-project?rev=273102&view=rev Log: Revert "Make test less sensitive to the resource directory." Will need to try this on an actual Windows system. Modified: cfe/trunk/test/Driver/windows-cros

[PATCH] D21497: Fix test to specify C++03 (fails with C++11).

2016-06-18 Thread Paul Robinson via cfe-commits
probinson created this revision. probinson added reviewers: rsmith, ogoffart. probinson added a subscriber: cfe-commits. Test fails if Clang defaults to C++11. I didn't track down exactly which RUN lines needed this, seemed simplest to put it on all of them. http://reviews.llvm.org/D21497 Fil

r273101 - Make test less sensitive to the resource directory.

2016-06-18 Thread Paul Robinson via cfe-commits
Author: probinson Date: Sat Jun 18 18:26:37 2016 New Revision: 273101 URL: http://llvm.org/viewvc/llvm-project?rev=273101&view=rev Log: Make test less sensitive to the resource directory. Like linux-header-search.cpp and android-ndk-standalone.cpp. Modified: cfe/trunk/test/Driver/windows-cros

r273095 - [X86] _MM_ALIGN16 attribute support for non-windows targets

2016-06-18 Thread Zvi Rackover via cfe-commits
Author: zvi Date: Sat Jun 18 15:01:07 2016 New Revision: 273095 URL: http://llvm.org/viewvc/llvm-project?rev=273095&view=rev Log: [X86] _MM_ALIGN16 attribute support for non-windows targets Summary: This patch adds support for the _MM_ALIGN16 attribute on non-windows targets. This aligns Clang

[libcxx] r273093 - Remove Apple specific guard for utimensat. Use !defined(UTIME_OMIT) instead.

2016-06-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jun 18 14:11:40 2016 New Revision: 273093 URL: http://llvm.org/viewvc/llvm-project?rev=273093&view=rev Log: Remove Apple specific guard for utimensat. Use !defined(UTIME_OMIT) instead. As pointed out by @majnemer this is a better way to detect utimensat on all platforms.

Re: [libcxx] r273034 - Add Filesystem TS -- Complete

2016-06-18 Thread Eric Fiselier via cfe-commits
> I assume the correct way to fix this is to disable -Wcovered-switch-default while compiling libcxx/src/experimental/ filesystem/operations.cpp Agreed. Disabled in r273092. Thanks for your patience with this latest change, /Eric On Sat, Jun 18, 2016 at 12:54 PM, Adrian Prantl wrote: > Hello

[libcxx] r273092 - Add -Wno-covered-switch-default while compiling libc++

2016-06-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jun 18 13:55:18 2016 New Revision: 273092 URL: http://llvm.org/viewvc/llvm-project?rev=273092&view=rev Log: Add -Wno-covered-switch-default while compiling libc++ fstream has a switch over ios_base::seekdir which provides a defensive default case. This seems like the righ

Re: [libcxx] r273034 - Add Filesystem TS -- Complete

2016-06-18 Thread Adrian Prantl via cfe-commits
Hello Eric, this commit causes new warnings on our bots: clang/src/projects/libcxx/include/fstream:816:5: warning: default label in switch which covers all enumeration values [-Wcovered-switch-default] default: The problem is with this defensive default statement in fstream: template 07

[libcxx] r273091 - Fix SleepFor(...) helper when a monotonic clock is not available.

2016-06-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jun 18 13:32:26 2016 New Revision: 273091 URL: http://llvm.org/viewvc/llvm-project?rev=273091&view=rev Log: Fix SleepFor(...) helper when a monotonic clock is not available. Single threaded builds often don't provide a monotonic clock, so we can't always provide a monoton

r273090 - [X86][XOP] Refreshed builtin tests ready for creation of llvm fast-isel tests

2016-06-18 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Jun 18 13:20:14 2016 New Revision: 273090 URL: http://llvm.org/viewvc/llvm-project?rev=273090&view=rev Log: [X86][XOP] Refreshed builtin tests ready for creation of llvm fast-isel tests Modified: cfe/trunk/test/CodeGen/xop-builtins.c Modified: cfe/trunk/test/CodeGen

[libcxx] r273089 - Use monotonic clock in synthetic SleepFor test helper

2016-06-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jun 18 12:51:11 2016 New Revision: 273089 URL: http://llvm.org/viewvc/llvm-project?rev=273089&view=rev Log: Use monotonic clock in synthetic SleepFor test helper Modified: libcxx/trunk/test/support/filesystem_test_helper.hpp Modified: libcxx/trunk/test/support/filesy

[libcxx] r273088 - Use utimes instead of utimensat when !defined(UTIME_OMIT). Fixes build for older GLIBC versions

2016-06-18 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sat Jun 18 12:37:04 2016 New Revision: 273088 URL: http://llvm.org/viewvc/llvm-project?rev=273088&view=rev Log: Use utimes instead of utimensat when !defined(UTIME_OMIT). Fixes build for older GLIBC versions Modified: libcxx/trunk/src/experimental/filesystem/operations.c

Re: [libcxx] r273078 - Fix 3 bugs in filesystem tests and implementation.

2016-06-18 Thread Eric Fiselier via cfe-commits
Hi Renato, I'm aware of the failure, and I'll commit *something* to get the build unbroken today. The issue here is that "file_time_type" AKA system_clock::time_point has a much larger range than std::time_t on 32 bit builds, so "file_time_type::max()" overflows in the conversion. I'm trying to f

r273086 - [X86][TBM] Refreshed builtin tests ready for creation of llvm fast-isel tests

2016-06-18 Thread Simon Pilgrim via cfe-commits
Author: rksimon Date: Sat Jun 18 12:09:40 2016 New Revision: 273086 URL: http://llvm.org/viewvc/llvm-project?rev=273086&view=rev Log: [X86][TBM] Refreshed builtin tests ready for creation of llvm fast-isel tests Modified: cfe/trunk/test/CodeGen/tbm-builtins.c Modified: cfe/trunk/test/CodeGen

Re: [libcxx] r273078 - Fix 3 bugs in filesystem tests and implementation.

2016-06-18 Thread Renato Golin via cfe-commits
On 18 June 2016 at 05:10, Eric Fiselier via cfe-commits wrote: > Author: ericwf > Date: Fri Jun 17 23:10:23 2016 > New Revision: 273078 > > URL: http://llvm.org/viewvc/llvm-project?rev=273078&view=rev > Log: > Fix 3 bugs in filesystem tests and implementation. Hi Eric, Thanks for he fixes, but j