commit | f02954863075ffc164d64c58dac3838cd8c2a7d9 | [log] [tgz] |
---|---|---|
author | Sirui Mu <msrlancern@fuchsia.infra.roller.gmail.com> | Thu Sep 12 20:32:22 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Sep 12 13:33:58 2024 -0700 |
tree | 25aa3bff001f759997320f765a787232ffef6d24 | |
parent | 1d981880616b5d68cbe7e1329d334e1f41a08b0e [diff] |
[roll] Roll llvm-project/libc [libc] Add osutils for Windows and make libc and its tests build on Windows target (#104676) This PR first adds osutils for Windows, and changes some libc code to make libc and its tests build on the Windows target. It then temporarily disables some libc tests that are currently problematic on Windows. Specifically, the changes besides the addition of osutils include: - Macro `LIBC_TYPES_HAS_FLOAT16` is disabled on Windows. `clang-cl` generates calls to functions in `compiler-rt` to handle float16 arithmetic and these functions are currently not linked in on Windows. - Macro `LIBC_TYPES_HAS_INT128` is disabled on Windows. - The invocation to `::aligned_malloc` is changed to an invocation to `::_aligned_malloc`. - The following unit tests are temporarily disabled because they currently fail on Windows: - `test.src.__support.big_int_test` - `test.src.__support.arg_list_test` - `test.src.fenv.getenv_and_setenv_test` - Tests involving `__m128i`, `__m256i`, and `__m512i` in `test.src.string.memory_utils.op_tests.cpp` - `test_range_errors` in `libc/test/src/math/smoke/AddTest.h` and `libc/test/src/math/smoke/SubTest.h` GitOrigin-RevId: 4895d7ff3a5ff83e1abc5267dc5d5de3aa0a1d72 Original-Revision: ba0c2fdc45e4b1f04770e2737eec8d8f19987bbf Change-Id: Ic5bccbf079749cf5d77fb3d86aa999ec24963c9d
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.