| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 11 个月前 | ||
[LibC] Refactor arm64 to aarch64 for darwin. (#141509) Fixes [#141505](https://github.com/llvm/llvm-project/issues/141505) The main intention behind this PR is to update the LibCTargetArchitecture for arm64 to use the implementation of aarch64 architecture and not arm32. This is a historical issue , and is a blocker to issue #138407. The intended fix is to set the LibCTargetArchitecture to aarch64 when it matches arm64 , this in turn would help us run darwin/aarch64 specific code on our MacOs pipeline in the git actions. Methods used to search and find "darwin/arm" directories was 1. "find . -type d -path "*/libc/*/darwin/arm" in a linux terminal to check for arm specifically 2. "find . -type d -path "*/libc/*/darwin/*" to ensure there are no directories that are named "*arm*" where star is a wildcard for any character. | 1 年前 | |
| 2 年前 | ||
[libc][NFC] Rename RPC opcodes to better reflect their usage Summary: RPC_ is a generic prefix here, use LIBC_ to indicate that these are opcodes used to implement the C library | 1 年前 | |
Reapply "[libc] Return errno from OFD failure paths in fcntl." (#166658) (#166846) The previous implementation in #166252 (rolled back in #166658) caused buildbot failures due to a bug in an added test. The modified UseAfterClose did not pass a struct flock value to fcntl: https://github.com/llvm/llvm-project/blob/2d5170594147b42a37698760d6e0194eec4f1390/libc/test/src/fcntl/fcntl_test.cpp#L175 Which ASAN caught and errored in the fcntl implementation when the unspecified argument was accessed: https://github.com/llvm/llvm-project/blob/c12cb2892c808af459eaa270b8738a2b375ecc9b/libc/src/__support/OSUtil/linux/fcntl.cpp#L59 | 9 个月前 | |
[libc][uefi] add crt1 (#132150) Adds crt1.o for the UEFI platform in the LLVM C library. This makes things start to become useful. | 1 年前 | |
[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 | 1 年前 | |
revert all tid changes (#100915) | 2 年前 | |
| 2 年前 | ||
[libc][NFC] clean internal fd handling (#143991) The previous internal fcntl implementation modified errno directly, this patch fixes that. This patch also moves open and close into OSUtil since they are used in multiple places. There are more places that need similar cleanup but only got comments in this patch to keep it relatively reviewable. Related to: https://github.com/llvm/llvm-project/issues/143937 | 1 年前 | |
[libc] init uefi (#131246) Initial UEFI OS target support after the headers. This just defines enough that stuff might try and compile. Test with: $ cmake -S llvm -B build -G Ninja -DLLVM_RUNTIME_TARGETS=x86_64-unknown-uefi-llvm -DRUNTIMES_x86_64-unknown-uefi-llvm_LLVM_ENABLE_RUNTIMES=libc -DRUNTIMES_x86_64-unknown-uefi-llvm_LLVM_LIBC_FULL_BUILD=true -DCMAKE_C_COMPILER_WORKS=true -DCMAKE_CXX_COMPILER_WORKS=true -DLLVM_ENABLE_PROJECTS="clang;lld" -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_LIBCXX=true -DLLVM_HOST_TRIPLE=aarch64-unknown-linux-gnu -DLLVM_DEFAULT_TARGET_TRIPLE=x86_64-unknown-uefi-llvm -DCMAKE_INSTALL_LIBDIR=build/target/lib $ ninja -C build | 1 年前 | |
[libc][clang-tidy] Add llvm-header-guard to get consistant naming and prevent file copy/paste issues. (#66477) | 2 年前 |