[all-commits] [llvm/llvm-project] be223e: sanitizers: Do not include crypt.h if SANITIZER_IN...
Nico Weber via All-commits
all-commits at lists.llvm.org
Wed Jun 1 10:27:28 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: be223eb5418a68a5264eed4f9f6b0680f12f23d3
https://github.com/llvm/llvm-project/commit/be223eb5418a68a5264eed4f9f6b0680f12f23d3
Author: Nico Weber <thakis at chromium.org>
Date: 2022-06-01 (Wed, 01 Jun 2022)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp
Log Message:
-----------
sanitizers: Do not include crypt.h if SANITIZER_INTERCEPT_CRYPT_R is undef
sanitizer_intercept_overriders.h might override SANITIZER_INTERCEPT_CRYPT_R to
be undefined. There's no need to require crypt.h in that case.
(The motivation is that crypt() moved from glibc into its own package at some
point, which makes intercepting it and building with a single sysroot that
supports both pre-bullseye and post-bullseye a bit hairy.)
Differential Revision: https://reviews.llvm.org/D126696
More information about the All-commits
mailing list