diff options
author | Julian Lettner <julian.lettner@apple.com> | 2020-05-06 19:05:31 -0700 |
---|---|---|
committer | Julian Lettner <julian.lettner@apple.com> | 2020-05-11 09:47:21 -0700 |
commit | bba38de50c9d0154be28047e6eec7e914290bb9e (patch) | |
tree | d997d948e8b67f454a7cf5cc4ecea876036b45fe /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e6615d71d8518fdafabcee6a2b69db7869014dbf (diff) | |
download | llvm-bba38de50c9d0154be28047e6eec7e914290bb9e.zip llvm-bba38de50c9d0154be28047e6eec7e914290bb9e.tar.gz llvm-bba38de50c9d0154be28047e6eec7e914290bb9e.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions