| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[libc] Add Linux implementations of POSIX chdir, fchdir, chmod and fchmod. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D132445 | 3 年前 | |
| 8 个月前 | ||
| 2 年前 | ||
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
| 8 个月前 | ||
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
| 9 个月前 | ||
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
| 8 个月前 | ||
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
| 8 个月前 | ||
[libc][POSIX][unistd] Implement gethostname (#128142) The implementation is based on the specifications from: https://man7.org/linux/man-pages/man2/gethostname.2.html Closes https://github.com/llvm/llvm-project/issues/126602 --------- Signed-off-by: ZakyHermawan <zaky.hermawan9615@gmail.com> | 10 个月前 | |
[libc] Fix deprecated operator"" syntax (#123259) | 1 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc][unistd] Implement setsid (#125704) https://man7.org/linux/man-pages/man2/setsid.2.html closes #124632 | 1 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Mass replace enclosing namespace (#67032) This is step 4 of https://discourse.llvm.org/t/rfc-customizable-namespace-to-allow-testing-the-libc-when-the-system-libc-is-also-llvms-libc/73079 | 2 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 | |
[libc] Create ErrnoCheckingTest harness to simplify errno tests. (#131703) See the discussion in PR https://github.com/llvm/llvm-project/pull/131650 on why we need to clear the errno at the beginning of some tests, and outlining the various solutions. Introduce ErrnoCheckingTest base class and use it for unlink_test as an example. | 1 年前 | |
[libc] Migrate unistd tests to use ErrnoCheckingTest. (#132067) Use ErrnoCheckingTest harness added in d039af33096c0a83b03475a240d5e281e2271c44 for all unistd tests that verify errno values. Stop explicitly setting it to zero in test code, as harness does it. It also verifies that the errno is zero at the end of each test case, so update the ASSERT_ERRNO_EQ and ASSERT_ERRNO_FAILURE macro to clear out its value after the verification (similar to how ErrnoSetterMatcher does). Update the CMake and Bazel rules for those tests. In the latter case, remove commented out tests that are currently unsupported in Bazel, since they get stale quickly. | 1 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
| 8 个月前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 9 个月前 | ||
| 1 年前 | ||
| 8 个月前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 8 个月前 | ||
| 10 个月前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 2 年前 | ||
| 1 年前 | ||
| 1 年前 | ||
| 1 年前 |