aboutsummaryrefslogtreecommitdiff
path: root/clang/tools/clang-format/clang-format-diff.py
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-09-10 06:24:36 -0700
committerH.J. Lu <hjl.tools@gmail.com>2021-10-08 10:22:39 -0700
commitc960c8c33997af21492cf2d9a39c13ac78fe6c62 (patch)
tree028ba76d722408fe9d4a645f8684de801e0ea34d /clang/tools/clang-format/clang-format-diff.py
parenta706a5ef225125e4afd37c7709cf697514cd2187 (diff)
downloadllvm-c960c8c33997af21492cf2d9a39c13ac78fe6c62.zip
llvm-c960c8c33997af21492cf2d9a39c13ac78fe6c62.tar.gz
llvm-c960c8c33997af21492cf2d9a39c13ac78fe6c62.tar.bz2
Reland [sanitizer] Support Intel CET
1. Include <cet.h> in sanitizer_common/sanitizer_asm.h, if it exists, to mark Intel CET support when Intel CET is enabled. 2. Define _CET_ENDBR as empty if it isn't defined. 3. Add _CET_ENDBR to function entries in assembly codes so that ENDBR instruction will be generated when Intel CET is enabled. Reviewed By: MaskRay Differential Revision: https://reviews.llvm.org/D111185
Diffstat (limited to 'clang/tools/clang-format/clang-format-diff.py')
0 files changed, 0 insertions, 0 deletions