aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2023-05-09 16:51:52 +0000
committerSami Tolvanen <samitolvanen@google.com>2023-05-09 18:38:54 +0000
commite9569748def85a2f6bb8066e516a84e6933ef407 (patch)
treeb667df37bcd8e1ffc86cd62fefdb5168286cec59 /clang/lib/Lex/ModuleMap.cpp
parent640e07c49037cca41a1bfbeb916b569d8c950aea (diff)
downloadllvm-e9569748def85a2f6bb8066e516a84e6933ef407.zip
llvm-e9569748def85a2f6bb8066e516a84e6933ef407.tar.gz
llvm-e9569748def85a2f6bb8066e516a84e6933ef407.tar.bz2
[CodeGen][KCFI] Move cfi-type lowering to TargetLowering
KCFI machine function passes transform indirect calls with a cfi-type attribute into architecture-specific type checks bundled together with the calls. Instead of having a separate pass for each architecture, add a generic machine function pass for KCFI and move the architecture-specific code that emits the actual check to TargetLowering. This avoids unnecessary duplication and makes it easier to add KCFI support to other architectures. Reviewed By: nickdesaulniers Differential Revision: https://reviews.llvm.org/D149915
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions