[all-commits] [llvm/llvm-project] 321a04: [compiler-rt][hwasan] Check for SANITIZER_POSIX be...
PiJoules via All-commits
all-commits at lists.llvm.org
Thu Jul 29 14:25:30 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 321a04bf62b247db853d136df43d3cdd58d88c53
https://github.com/llvm/llvm-project/commit/321a04bf62b247db853d136df43d3cdd58d88c53
Author: Leonard Chan <leonardchan at google.com>
Date: 2021-07-29 (Thu, 29 Jul 2021)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_posix.h
Log Message:
-----------
[compiler-rt][hwasan] Check for SANITIZER_POSIX before including sanitizer_posix.h
Rather than throwing an error. This way we can still use files like
hwasan_dynamic_shadow.cpp for other platforms without leading to a
preprocessor error.
Differential Revision: https://reviews.llvm.org/D106979
More information about the All-commits
mailing list