文件最后提交记录最后更新时间
[libcxx][test] Create feature host-can-create-symlinks (#82204) On Windows you can not create symlinks without elevated privileges unless you have Windows developer mode enabled. There's ~67 libcxx tests that run into failures on windows if your environment is not set up correctly (Go to windows settings and enable "developer mode"). This change: - Adds a feature check for whether the host can create symlinks. (see libcxx/utils/libcxx/test/features.py) - Mark the feature as required for the 67 tests that hit failures on windows due to this. This will allow lit to correctly mark these tests as unsupported instead of unexpectedly failed (this is helpful since then you know you didn't break something with your change, it's just that it's not supported with your environment).2 年前
[libc++] Properly guard std::filesystem with >= C++17 (#72701) <filesystem> is a C++17 addition. In C++11 and C++14 modes, we actually have all the code for <filesystem> but it is hidden behind a non-inline namespace __fs so it is not accessible. Instead of doing this unusual dance, just guard the code for filesystem behind a classic C++17 check like we normally do.2 年前
[libc++] Clean up and update deployment target features (#96312) This patch removes many annotations that are not relevant anymore since we don't support or test back-deploying to macOS < 10.13. It also cleans up raw usage of target triples to identify versions of dylibs shipped on prior versions of macOS, and uses the target-agnostic Lit features instead. Finally, it reorders both the Lit backdeployment features and the corresponding availability macros in the library in a way that makes more sense, and reformulates the Lit backdeployment features in terms of when a version of LLVM was introduced instead of encoding the system versions on which it hasn't been introduced yet. Although one can be derived from the other, encoding the negative form is extremely error-prone. Fixes #809011 年前
[libc++] Clean up and update deployment target features (#96312) This patch removes many annotations that are not relevant anymore since we don't support or test back-deploying to macOS < 10.13. It also cleans up raw usage of target triples to identify versions of dylibs shipped on prior versions of macOS, and uses the target-agnostic Lit features instead. Finally, it reorders both the Lit backdeployment features and the corresponding availability macros in the library in a way that makes more sense, and reformulates the Lit backdeployment features in terms of when a version of LLVM was introduced instead of encoding the system versions on which it hasn't been introduced yet. Although one can be derived from the other, encoding the negative form is extremely error-prone. Fixes #809011 年前
[libc++] Expand the contents of LIBCXX_ENABLE_FILESYSTEM Since LIBCXX_ENABLE_FILESYSTEM now truly represents whether the platform supports a filesystem (as opposed to whether the <filesystem> library is provided), we can provide a few additional classes from the <filesystem> library even when the platform does not have support for a filesystem. For example, this allows performing path manipulations using std::filesystem::path even on platforms where there is no actual filesystem. rdar://107061236 Differential Revision: https://reviews.llvm.org/D1523822 年前