Skip to content

Commit c462b5f

Browse files
authored
Merge branch 'main' into support-x86-builtin-rotate
2 parents b2bfd33 + 1d3384e commit c462b5f

File tree

3 files changed

+14
-7
lines changed

3 files changed

+14
-7
lines changed

libcxx/docs/Contributing.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,9 @@ To do so, you will need to create a PR in the llvm-zorg repository and wait for
311311
merged. Once that change has been merged, an LLVM premerge maintainer (a Google employee)
312312
must use terraform to apply the change to the running GKE cluster.
313313

314+
.. note:: When you update the ``libcxx_runner_image``, also make sure to update the
315+
``libcxx/utils/ci/run-buildbot-container`` script to contain the new image.
316+
314317

315318
Monitoring premerge testing performance
316319
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

libcxx/src/include/from_chars_floating_point.h

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,22 @@
99
#ifndef _LIBCPP_SRC_INCLUDE_FROM_CHARS_FLOATING_POINT_H
1010
#define _LIBCPP_SRC_INCLUDE_FROM_CHARS_FLOATING_POINT_H
1111

12-
// These headers are in the shared LLVM-libc header library.
13-
#include "shared/fp_bits.h"
14-
#include "shared/str_to_float.h"
15-
#include "shared/str_to_integer.h"
16-
1712
#include <__assert>
1813
#include <__config>
1914
#include <cctype>
2015
#include <charconv>
2116
#include <concepts>
2217
#include <limits>
2318

19+
// Make sure we use libc++'s assertion machinery within the shared code we use
20+
// from LLVM libc.
21+
#define LIBC_ASSERT(cond) _LIBCPP_ASSERT((cond), _LIBCPP_TOSTRING(cond))
22+
23+
// These headers are in the shared LLVM-libc header library.
24+
#include "shared/fp_bits.h"
25+
#include "shared/str_to_float.h"
26+
#include "shared/str_to_integer.h"
27+
2428
// Included for the _Floating_type_traits class
2529
#include "to_chars_floating_point.h"
2630

libcxx/utils/ci/run-buildbot-container

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ if [[ ! -d "${MONOREPO_ROOT}/libcxx/utils/ci" ]]; then
2626
echo "Was unable to find the root of the LLVM monorepo; are you running from within the monorepo?"
2727
exit 1
2828
fi
29-
docker pull ghcr.io/llvm/libcxx-linux-builder:b060022103f551d8ca1dad84122ef73927c86512
30-
docker run -it --volume "${MONOREPO_ROOT}:/llvm" --workdir "/llvm" --cap-add=SYS_PTRACE ghcr.io/llvm/libcxx-linux-builder:b060022103f551d8ca1dad84122ef73927c86512 \
29+
docker pull ghcr.io/llvm/libcxx-linux-builder:d6b22a347f813cf4a9832627323a43074f57bbcf
30+
docker run -it --volume "${MONOREPO_ROOT}:/llvm" --workdir "/llvm" --cap-add=SYS_PTRACE ghcr.io/llvm/libcxx-linux-builder:d6b22a347f813cf4a9832627323a43074f57bbcf \
3131
bash -c 'git config --global --add safe.directory /llvm ; exec bash'

0 commit comments

Comments
 (0)