[all-commits] [llvm/llvm-project] bba38d: [compile-rt] Reduce #ifdef noise for ptrauth
Julian Lettner via All-commits
all-commits at lists.llvm.org
Mon May 11 09:47:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bba38de50c9d0154be28047e6eec7e914290bb9e
https://github.com/llvm/llvm-project/commit/bba38de50c9d0154be28047e6eec7e914290bb9e
Author: Julian Lettner <julian.lettner at apple.com>
Date: 2020-05-11 (Mon, 11 May 2020)
Changed paths:
M compiler-rt/lib/sanitizer_common/CMakeLists.txt
M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
A compiler-rt/lib/sanitizer_common/sanitizer_ptrauth.h
M compiler-rt/lib/tsan/rtl/tsan_platform_mac.cpp
M compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cpp
Log Message:
-----------
[compile-rt] Reduce #ifdef noise for ptrauth
Create a sanitizer_ptrauth.h header that #includes <ptrauth> when
available and defines just the required macros as "no ops" otherwise.
This should avoid the need for excessive #ifdef'ing.
Follow-up to and discussed in: https://reviews.llvm.org/D79132
Reviewed By: delcypher
Differential Revision: https://reviews.llvm.org/D79540
More information about the All-commits
mailing list