<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bcm5719-llvm/libcxx/include/__locale, branch meklort-10.0.1</title>
<subtitle>Project Ortega BCM5719 LLVM</subtitle>
<id>https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1</id>
<link rel='self' href='https://git.raptorcs.com/git/bcm5719-llvm/atom?h=meklort-10.0.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/'/>
<updated>2019-08-20T10:19:55+00:00</updated>
<entry>
<title>[libcxx] Fix build breakage on mips</title>
<updated>2019-08-20T10:19:55+00:00</updated>
<author>
<name>Mikhail Maltsev</name>
<email>mikhail.maltsev@arm.com</email>
</author>
<published>2019-08-20T10:19:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=a83220c6f2ece2ca5f1ef9854fc95c033364d04b'/>
<id>urn:sha1:a83220c6f2ece2ca5f1ef9854fc95c033364d04b</id>
<content type='text'>
Fixes https://bugs.llvm.org/show_bug.cgi?id=43011 caused by
https://reviews.llvm.org/D63284.

Committing as obvious.

llvm-svn: 369364
</content>
</entry>
<entry>
<title>[libc++] Keep __regex_word in sync with ctype_base</title>
<updated>2019-06-14T09:04:16+00:00</updated>
<author>
<name>Mikhail Maltsev</name>
<email>mikhail.maltsev@arm.com</email>
</author>
<published>2019-06-14T09:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=411c630bae0e0d50697651797709987e2cfea92d'/>
<id>urn:sha1:411c630bae0e0d50697651797709987e2cfea92d</id>
<content type='text'>
Summary:
The class ctype_base in the header &lt;__locale&gt; contains masks for
character classification functions, which are kept in sync with
platform's C library, hence it contains many special cases.
The value of the bit mask __regex_word in the header &lt;regex&gt; must not
clash with those bit masks.

Currently the default case (i.e. unknown platform/C library) is
handled incorrectly: the __regex_word clashes with ctype_base::punct.

To avoid replicating the whole list of platforms in &lt;regex&gt; this patch
defines __regex_word in &lt;__locale&gt;, so that it is always kept in sync
with other masks.

Reviewers: ldionne, mclow.lists, EricWF

Reviewed By: ldionne

Subscribers: krytarowski, christof, dexonsmith, pbarrio, simon_tatham, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D63284

llvm-svn: 363363
</content>
</entry>
<entry>
<title>[WebAssembly] WASI support for libcxx</title>
<updated>2019-05-01T16:47:30+00:00</updated>
<author>
<name>Dan Gohman</name>
<email>dan433584@gmail.com</email>
</author>
<published>2019-05-01T16:47:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=3efd6e37e4b794f38a9f9d2403e48b3f4f88e2ae'/>
<id>urn:sha1:3efd6e37e4b794f38a9f9d2403e48b3f4f88e2ae</id>
<content type='text'>
This adds explicit support for the WASI platform to libcxx.

WASI libc uses some components from musl, however it's not fully compatible
with musl, so we're planning to stop using _LIBCPP_HAS_MUSL_LIBC and
customize for WASI libc specifically.

Differential Revision: https://reviews.llvm.org/D61336

Reviewers: sbc100, ldionne
llvm-svn: 359703
</content>
</entry>
<entry>
<title>Fix and speedup __libcpp_locale_guard on Windows</title>
<updated>2019-03-27T18:09:30+00:00</updated>
<author>
<name>Thomas Anderson</name>
<email>thomasanderson@google.com</email>
</author>
<published>2019-03-27T18:09:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=24812d8ac42e0c11f9c185282e4e4cc1d9b067a6'/>
<id>urn:sha1:24812d8ac42e0c11f9c185282e4e4cc1d9b067a6</id>
<content type='text'>
The old implementation assumed the POSIX `setlocale()` API where the old
locale is returned.  On Windows, the _new_ locale is returned.  This meant
that `__libcpp_locale_guard` wasn't resetting the locale on destruction.

The new implementation fixes the above issue and takes advantage of
`setlocale(LC_ALL)` to reduce the number of calls, and also avoids setting
the locale at all if it's not necessary.

Differential Revision: https://reviews.llvm.org/D59572

llvm-svn: 357104
</content>
</entry>
<entry>
<title>Work around dllimport bug with exclude_from_explicit_instantiation.</title>
<updated>2019-03-08T23:59:29+00:00</updated>
<author>
<name>Eric Fiselier</name>
<email>eric@efcs.ca</email>
</author>
<published>2019-03-08T23:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=411210838d762303027f7ac8ddc12427d774b170'/>
<id>urn:sha1:411210838d762303027f7ac8ddc12427d774b170</id>
<content type='text'>
When dllimport is specified on a class, and
exclude_from_explicit_instatiation is specified on a member, clang-cl
will still expect a definition to be available externally. But this is
not correct.

Surprisingly one one symbol seems to be consistently affected by this
bug. So this patch simply works around it there.

llvm-svn: 355760
</content>
</entry>
<entry>
<title>Fix the build with gcc when `-Wredundant-decls` is passed</title>
<updated>2019-02-20T21:01:31+00:00</updated>
<author>
<name>Dimitry Andric</name>
<email>dimitry@andric.com</email>
</author>
<published>2019-02-20T21:01:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=d95da99b9159ca326a62b6c8ca44cb4a93db184c'/>
<id>urn:sha1:d95da99b9159ca326a62b6c8ca44cb4a93db184c</id>
<content type='text'>
Summary:
gcc warns that `__throw_runtime_error` is declared both in `&lt;__locale&gt;`
and `&lt;stdexcept&gt;`, if `-Wredundant-decls` is passed on the command
line; this is the case with FreeBSD when ${WARNS} == 6.

Since `&lt;__locale&gt;` gets its first declaration via a transitive include
of `&lt;stdexcept&gt;`, and the second declaration is after the first
invocation of `__throw_runtime_error`, delete that second declaration.

Signed-off-by: Enji Cooper &lt;yaneurabeya@gmail.com&gt;

Reviewers: kristina, MaskRay, EricWF, ldionne, ngie

Reviewed By: EricWF

Subscribers: krytarowski, brooks, emaste, dim, christof, jdoerfert, libcxx-commits

Tags: #libc

Differential Revision: https://reviews.llvm.org/D58425

llvm-svn: 354515
</content>
</entry>
<entry>
<title>Update more file headers across all of the LLVM projects in the monorepo</title>
<updated>2019-01-19T10:56:40+00:00</updated>
<author>
<name>Chandler Carruth</name>
<email>chandlerc@gmail.com</email>
</author>
<published>2019-01-19T10:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=57b08b0944046a6a57ee9b7b479181f548a5b9b4'/>
<id>urn:sha1:57b08b0944046a6a57ee9b7b479181f548a5b9b4</id>
<content type='text'>
to reflect the new license. These used slightly different spellings that
defeated my regular expressions.

We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.

Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.

llvm-svn: 351648
</content>
</entry>
<entry>
<title>[libc++] Make sure we can build libc++ with -fvisibility=hidden</title>
<updated>2018-10-25T12:13:43+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2018-10-25T12:13:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=9b3222f6134f40b68e16faf694ed9e97bc9fd325'/>
<id>urn:sha1:9b3222f6134f40b68e16faf694ed9e97bc9fd325</id>
<content type='text'>
Summary:
When building with -fvisibility=hidden, some symbols do not get exported from
libc++.dylib. This means that some entities are not explicitly given default
visibility in the source code, and that we rely on the fact -fvisibility=default
is the default. This commit explicitly gives default visibility to those
symbols to avoid being dependent on the command line flags used.

The commit also remove symbols from the dylib -- those symbols do not
actually need to be exported from the dylib and this should not be an
ABI break.

Finally, in the future, we may want to mark the whole std:: namespace as
having hidden visibility (to switch from opt-out to opt-in), in which
case the changes done in this commit will be required.

Reviewers: EricWF

Subscribers: mgorny, christof, dexonsmith, libcxx-commits

Differential Revision: https://reviews.llvm.org/D52662

llvm-svn: 345260
</content>
</entry>
<entry>
<title>[libc++] Take 2: Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY</title>
<updated>2018-07-11T23:14:33+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2018-07-11T23:14:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=dc7200b486b6c5b5229abcee97c160145cc3d955'/>
<id>urn:sha1:dc7200b486b6c5b5229abcee97c160145cc3d955</id>
<content type='text'>
Summary:
We never actually mean to always inline a function -- all the uses of
the macro I could find are actually attempts to control the visibility
of symbols. This is better described by _LIBCPP_INLINE_VISIBILITY, which
is actually always defined the same.

This change is orthogonal to the decision of what we're actually going
to do with _LIBCPP_INLINE_VISIBILITY -- it just simplifies things by
having one canonical way of doing things.

Note that this commit had originally been applied in r336369 and then
reverted in r336382 because of unforeseen problems. Both of these problems
have now been fixed.

Reviewers: EricWF, mclow.lists

Subscribers: christof, dexonsmith, erikvanderpoel

Differential Revision: https://reviews.llvm.org/D48892

llvm-svn: 336866
</content>
</entry>
<entry>
<title>Revert "[libc++] Replace uses of _LIBCPP_ALWAYS_INLINE by _LIBCPP_INLINE_VISIBILITY"</title>
<updated>2018-07-05T18:41:50+00:00</updated>
<author>
<name>Louis Dionne</name>
<email>ldionne@apple.com</email>
</author>
<published>2018-07-05T18:41:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/bcm5719-llvm/commit/?id=195a499d638db5157a64c9c816b76154096ecd52'/>
<id>urn:sha1:195a499d638db5157a64c9c816b76154096ecd52</id>
<content type='text'>
This reverts commit r336369. The commit had two problems:
1. __pbump was marked as _LIBCPP_EXTERN_TEMPLATE_INLINE_VISIBILITY instead of
   _LIBCPP_INLINE_VISIBILITY, which lead to two symbols being added in the
   dylib and the check-cxx-abilist failing.

2. The LLDB tests started failing because they undefine
   `_LIBCPP_INLINE_VISIBILITY`. I need to figure out why they do that and
   fix the tests before we can go forward with this change.

llvm-svn: 336382
</content>
</entry>
</feed>
