[all-commits] [llvm/llvm-project] e75f1d: [CompilerRT] Fix build of compiler-rt with musl
colincross via All-commits
all-commits at lists.llvm.org
Wed Mar 9 13:41:52 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e75f1d3c07edaa223ac1a945af534eaec0c7aa66
https://github.com/llvm/llvm-project/commit/e75f1d3c07edaa223ac1a945af534eaec0c7aa66
Author: Colin Cross <ccross at google.com>
Date: 2022-03-09 (Wed, 09 Mar 2022)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
M compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
M compiler-rt/lib/sanitizer_common/sanitizer_platform.h
M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
Log Message:
-----------
[CompilerRT] Fix build of compiler-rt with musl
Use the correct types for OFF_T, __sanitizer_time_t and
__sanitizer_dirent and forward time_t related functions
to fix using compiler-rt with 32-bit musl libc.
Also redirect the time_t functions that are affected by
https://musl.libc.org/time64.html to use their 64-bit
ABI names.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D119358
More information about the All-commits
mailing list