r322064 - ananas: Add shared library support

2018-01-09 Thread Ed Schouten via cfe-commits
Author: ed Date: Tue Jan 9 01:18:14 2018 New Revision: 322064 URL: http://llvm.org/viewvc/llvm-project?rev=322064&view=rev Log: ananas: Add shared library support The Ananas Operating System (https://github.com/zhmu/ananas) has shared library support as of commit 57739c0b6ece56dd4872aedf30264ed4

r319746 - Add __WINT_MAX__.

2017-12-05 Thread Ed Schouten via cfe-commits
Author: ed Date: Tue Dec 5 01:13:18 2017 New Revision: 319746 URL: http://llvm.org/viewvc/llvm-project?rev=319746&view=rev Log: Add __WINT_MAX__. This definition is similar to __WCHAR_MAX__, except that it applies to wint_t. It's also documented as being supported by GCC 4.5 and later. Modified

r306239 - Add support for Ananas platform

2017-06-25 Thread Ed Schouten via cfe-commits
Author: ed Date: Sun Jun 25 01:29:09 2017 New Revision: 306239 URL: http://llvm.org/viewvc/llvm-project?rev=306239&view=rev Log: Add support for Ananas platform Ananas is a home-brew operating system, mainly for amd64 machines. After using GCC for quite some time, it has switched to clang and nev

r297956 - Make table cells referring to Clang 4 green, as Clang 4 has been released.

2017-03-16 Thread Ed Schouten via cfe-commits
Author: ed Date: Thu Mar 16 09:21:00 2017 New Revision: 297956 URL: http://llvm.org/viewvc/llvm-project?rev=297956&view=rev Log: Make table cells referring to Clang 4 green, as Clang 4 has been released. Modified: cfe/trunk/www/cxx_status.html Modified: cfe/trunk/www/cxx_status.html URL: ht

[libunwind] r297364 - Fix up the places where AddressSpace.hpp is included.

2017-03-09 Thread Ed Schouten via cfe-commits
Author: ed Date: Thu Mar 9 02:04:07 2017 New Revision: 297364 URL: http://llvm.org/viewvc/llvm-project?rev=297364&view=rev Log: Fix up the places where AddressSpace.hpp is included. The AddressSpace.hpp header declares two classes: LocalAddressSpace and RemoteAddressSpace. These classes are only

Re: [libunwind] r297174 - Improve readability and correctness of the OS specific libunwind bits.

2017-03-08 Thread Ed Schouten via cfe-commits
Hi Asiri, 2017-03-07 20:42 GMT+01:00 Asiri Rathnayake : > Could you please always include cfe-commits as a subscriber in you phab > reviews? > > We would like to be aware of these changes in advance before they land. Sure thing! I'll try to do that from now on. That said, if the policy is to add

Re: [libunwind] r297175 - Tidy up the way we include EHHeaderParser.hpp.

2017-03-08 Thread Ed Schouten via cfe-commits
Hi Marshall, 2017-03-08 15:47 GMT+01:00 Marshall Clow : > I'm having trouble building libunwind this morning (on a Mac). Ah, thanks for reporting. I only tested this on FreeBSD and CloudABI. On those systems we don't build Unwind_AppleExtras.cpp. > /Sources/LLVM/llvm/projects/libunwind/src/EHHea

[libunwind] r297175 - Tidy up the way we include EHHeaderParser.hpp.

2017-03-07 Thread Ed Schouten via cfe-commits
Author: ed Date: Tue Mar 7 12:21:51 2017 New Revision: 297175 URL: http://llvm.org/viewvc/llvm-project?rev=297175&view=rev Log: Tidy up the way we include EHHeaderParser.hpp. Other source files in the source tree tend to include this header file unconditionally. It also parses perfectly fine on

[libunwind] r297174 - Improve readability and correctness of the OS specific libunwind bits.

2017-03-07 Thread Ed Schouten via cfe-commits
Author: ed Date: Tue Mar 7 12:15:52 2017 New Revision: 297174 URL: http://llvm.org/viewvc/llvm-project?rev=297174&view=rev Log: Improve readability and correctness of the OS specific libunwind bits. All of the access to __exidx_*, dl_iterate_phdr(), etc. is specific to the findUnwindSections() f

[libunwind] r297149 - Let arm_section_length store the number of bytes.

2017-03-07 Thread Ed Schouten via cfe-commits
Author: ed Date: Tue Mar 7 09:21:57 2017 New Revision: 297149 URL: http://llvm.org/viewvc/llvm-project?rev=297149&view=rev Log: Let arm_section_length store the number of bytes. Exception section data that we extract for DWARF gets stored as the offset and the number of bytes. For ARM exception

[libunwind] r296991 - Drop the dependency on dl_unwind_find_exidx().

2017-03-05 Thread Ed Schouten via cfe-commits
Author: ed Date: Sun Mar 5 13:11:24 2017 New Revision: 296991 URL: http://llvm.org/viewvc/llvm-project?rev=296991&view=rev Log: Drop the dependency on dl_unwind_find_exidx(). While porting libunwind over to CloudABI for ARMv6, I observed that this source file doesn't build, as it depends on dl_u

Re: [libunwind] r295948 - Revert r295944.

2017-02-23 Thread Ed Schouten via cfe-commits
Hi there, 2017-02-23 10:37 GMT+01:00 Asiri Rathnayake : > I have a feeling that the no-exceptions builders are missing a few > configuration bits. > > "No-exceptions" libraries should not require libunwind... > > Looking at the cmake configs: > http://lab.llvm.org:8011/builders/libcxx-libcxxabi-li

[libunwind] r295948 - Revert r295944.

2017-02-23 Thread Ed Schouten via cfe-commits
Author: ed Date: Thu Feb 23 03:13:22 2017 New Revision: 295948 URL: http://llvm.org/viewvc/llvm-project?rev=295948&view=rev Log: Revert r295944. Even though the change works perfectly fine on CloudABI, it fails to work on the libcxx-libcxxabi-libunwind-arm-linux-noexceptions build bot. Looking at

[libunwind] r295944 - Drop the dependency on dl_unwind_find_exidx().

2017-02-23 Thread Ed Schouten via cfe-commits
Author: ed Date: Thu Feb 23 02:05:58 2017 New Revision: 295944 URL: http://llvm.org/viewvc/llvm-project?rev=295944&view=rev Log: Drop the dependency on dl_unwind_find_exidx(). While porting libunwind over to CloudABI for ARMv6, I observed that this source file doesn't build, as it depends on dl_u

[libcxx] r294833 - Remove a now unneeded __CloudABI__ check.

2017-02-11 Thread Ed Schouten via cfe-commits
Author: ed Date: Sat Feb 11 02:33:16 2017 New Revision: 294833 URL: http://llvm.org/viewvc/llvm-project?rev=294833&view=rev Log: Remove a now unneeded __CloudABI__ check. CloudABI has gained the setlocale() function in the meantime, meaning there is no longer a need to conditionalize this. Modi

[libcxx] r294832 - Fix the build of thread.cpp on CloudABI.

2017-02-11 Thread Ed Schouten via cfe-commits
Author: ed Date: Sat Feb 11 02:30:18 2017 New Revision: 294832 URL: http://llvm.org/viewvc/llvm-project?rev=294832&view=rev Log: Fix the build of thread.cpp on CloudABI. CloudABI does provide unistd.h, but doesn't define __unix__. We need to include this header file to make hardware_concurrency w

[libcxx] r290748 - Remove mblen(), mbtowc() and wctomb() from the thread-unsafe functions.

2016-12-30 Thread Ed Schouten via cfe-commits
Author: ed Date: Fri Dec 30 04:44:00 2016 New Revision: 290748 URL: http://llvm.org/viewvc/llvm-project?rev=290748&view=rev Log: Remove mblen(), mbtowc() and wctomb() from the thread-unsafe functions. Back in r240527 I added a knob to prevent thread-unsafe functions from being exposed. mblen(), m

r290443 - Extend the tests for -Wmissing-variable-declarations.

2016-12-23 Thread Ed Schouten via cfe-commits
Author: ed Date: Fri Dec 23 13:20:07 2016 New Revision: 290443 URL: http://llvm.org/viewvc/llvm-project?rev=290443&view=rev Log: Extend the tests for -Wmissing-variable-declarations. We shouldn't throw a warning when the static keyword is not present in an anonymous namespace, just like we do for

[libunwind] r282589 - Also use the proper register numbers on CloudABI.

2016-09-28 Thread Ed Schouten via cfe-commits
Author: ed Date: Wed Sep 28 08:51:23 2016 New Revision: 282589 URL: http://llvm.org/viewvc/llvm-project?rev=282589&view=rev Log: Also use the proper register numbers on CloudABI. Without this change applied, unw_step() fails to obtain the next frame properly. Modified: libunwind/trunk/includ

r280672 - Add support for targeting armv6-unknown-cloudabi-eabihf.

2016-09-05 Thread Ed Schouten via cfe-commits
Author: ed Date: Mon Sep 5 13:38:34 2016 New Revision: 280672 URL: http://llvm.org/viewvc/llvm-project?rev=280672&view=rev Log: Add support for targeting armv6-unknown-cloudabi-eabihf. I'm in the progress of adding ARMv6 support to CloudABI. On the compiler side, everything seems to work properl

r278395 - Don't enable PIE on i686-unknown-cloudabi.

2016-08-11 Thread Ed Schouten via cfe-commits
Author: ed Date: Thu Aug 11 15:03:22 2016 New Revision: 278395 URL: http://llvm.org/viewvc/llvm-project?rev=278395&view=rev Log: Don't enable PIE on i686-unknown-cloudabi. We're only going to provide support for using PIE on architectures that provide PC-relative addressing. i686 is not one of th

r278393 - Pass in frame pointer omitting compiler flags for CloudABI as well.

2016-08-11 Thread Ed Schouten via cfe-commits
Author: ed Date: Thu Aug 11 14:23:30 2016 New Revision: 278393 URL: http://llvm.org/viewvc/llvm-project?rev=278393&view=rev Log: Pass in frame pointer omitting compiler flags for CloudABI as well. On Linux we pass in -fomit-frame-pointer flags (and similar) automatically if optimization is enable

[libcxx] r272886 - Remove CloudABI specific workaround.

2016-06-16 Thread Ed Schouten via cfe-commits
Author: ed Date: Thu Jun 16 06:53:11 2016 New Revision: 272886 URL: http://llvm.org/viewvc/llvm-project?rev=272886&view=rev Log: Remove CloudABI specific workaround. CloudABI has gained the mblen_l() function in the meantime that does properly return whether the character set has shift-states (re

r265546 - Enable PIE for CloudABI.

2016-04-06 Thread Ed Schouten via cfe-commits
Author: ed Date: Wed Apr 6 10:37:06 2016 New Revision: 265546 URL: http://llvm.org/viewvc/llvm-project?rev=265546&view=rev Log: Enable PIE for CloudABI. As we're currently working on making CloudABI executables easier to emulate in userspace (e.g., on OS X and Windows), it makes a whole lot of s

r264787 - Enable the SafeStack sanitizer on CloudABI by default.

2016-03-29 Thread Ed Schouten via cfe-commits
Author: ed Date: Tue Mar 29 16:13:53 2016 New Revision: 264787 URL: http://llvm.org/viewvc/llvm-project?rev=264787&view=rev Log: Enable the SafeStack sanitizer on CloudABI by default. Over the last month we've been testing SafeStack extensively. As far as we know, it works perfectly fine. That wh

r261135 - Enable SafeStack for CloudABI.

2016-02-17 Thread Ed Schouten via cfe-commits
Author: ed Date: Wed Feb 17 12:56:20 2016 New Revision: 261135 URL: http://llvm.org/viewvc/llvm-project?rev=261135&view=rev Log: Enable SafeStack for CloudABI. Summary: I've got a patchset in my home directory to integrate support for SafeStack into CloudABI's C library. All of the CloudABI unit

Re: [PATCH] D16639: [libcxx] Limit catopen usage to unix-like OSes

2016-01-27 Thread Ed Schouten via cfe-commits
ed added a comment. I'm usually not a big fan of using definitions such as `__unix__`, because it is pretty vague and defined inconsistently. That said, if you're going to use this definition, then there is some good news: CloudABI doesn't define it, meaning that you could just remove it from t

r250416 - Add support for CloudABI/aarch64.

2015-10-15 Thread Ed Schouten via cfe-commits
Author: ed Date: Thu Oct 15 10:07:07 2015 New Revision: 250416 URL: http://llvm.org/viewvc/llvm-project?rev=250416&view=rev Log: Add support for CloudABI/aarch64. The core C library has already been ported over to aarch64 successfully, meaning there is no reason to hold this change back. Modifie

r246857 - Put ext_implicit_lib_function_decl in ImplicitFunctionDeclare.

2015-09-04 Thread Ed Schouten via cfe-commits
Author: ed Date: Fri Sep 4 11:07:39 2015 New Revision: 246857 URL: http://llvm.org/viewvc/llvm-project?rev=246857&view=rev Log: Put ext_implicit_lib_function_decl in ImplicitFunctionDeclare. If we build with -Werror=implicit-function-declaration, only implicit function declarations of non-librar

Re: [PATCH] D11781: Refactored pthread usage in libcxx

2015-08-10 Thread Ed Schouten via cfe-commits
ed added a comment. A general note I have regarding this change: Now that we're introducing separate implementations for mutexes and condition variables, could we also consider letting `shared_mutex` and friends simply use `pthread_rwlock_*()`? We currently have it implemented as a wrapper on t

Re: [PATCH] D11781: Refactored pthread usage in libcxx

2015-08-10 Thread Ed Schouten via cfe-commits
ed added a subscriber: ed. Comment at: include/__config:742 @@ +741,3 @@ +#ifndef _LIBCPP_HAS_NO_THREADS +# if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__linux__) || defined(__APPLE__) +# define _LIBCPP_THREAD_API _LIBCPP_PTHREAD espositofulvio wro