[all-commits] [llvm/llvm-project] 6632b2: [libc] Make add_libc_unittest compile with -ffrees...
Guillaume Chatelet via All-commits
all-commits at lists.llvm.org
Wed Aug 9 00:32:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6632b2584159ef0668a9a84dde6907b3d6f8e701
https://github.com/llvm/llvm-project/commit/6632b2584159ef0668a9a84dde6907b3d6f8e701
Author: Guillaume Chatelet <gchatelet at google.com>
Date: 2023-08-09 (Wed, 09 Aug 2023)
Changed paths:
M libc/cmake/modules/LLVMLibCTestRules.cmake
Log Message:
-----------
[libc] Make add_libc_unittest compile with -ffreestanding
tests not compile with `-ffreestanding` can pull unwanted dependencies like `limits.h` which defines `PTHREAD_STACK_MIN`.
This is what caused the build bot failure in https://reviews.llvm.org/D156981#4570776.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D157444
More information about the All-commits
mailing list