diff options
author | Sami Tolvanen <samitolvanen@google.com> | 2022-08-24 19:26:05 +0000 |
---|---|---|
committer | Sami Tolvanen <samitolvanen@google.com> | 2022-08-24 19:30:13 +0000 |
commit | a79060e275440ccd8d403d5af5fb5b9395ea3fac (patch) | |
tree | 7d29f75ff6c6a0cd2ceba3945e7d7cc0951c1d79 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | dda38786534af733786c681e0c47b863e0626a0e (diff) | |
download | llvm-a79060e275440ccd8d403d5af5fb5b9395ea3fac.zip llvm-a79060e275440ccd8d403d5af5fb5b9395ea3fac.tar.gz llvm-a79060e275440ccd8d403d5af5fb5b9395ea3fac.tar.bz2 |
Revert "KCFI sanitizer"
This reverts commit 67504c95494ff05be2a613129110c9bcf17f6c13 as using
PointerEmbeddedInt to store 32 bits breaks 32-bit arm builds.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 061e0bf..7997a07 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -2606,14 +2606,6 @@ void CodeGenFunction::EmitSanitizerStatReport(llvm::SanitizerStatKind SSK) { CGM.getSanStats().create(IRB, SSK); } -void CodeGenFunction::EmitKCFIOperandBundle( - const CGCallee &Callee, SmallVectorImpl<llvm::OperandBundleDef> &Bundles) { - const FunctionProtoType *FP = - Callee.getAbstractInfo().getCalleeFunctionProtoType(); - if (FP) - Bundles.emplace_back("kcfi", CGM.CreateKCFITypeId(FP->desugar())); -} - llvm::Value * CodeGenFunction::FormResolverCondition(const MultiVersionResolverOption &RO) { llvm::Value *Condition = nullptr; |