aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorThurston Dang <thurston@google.com>2025-10-08 02:57:19 +0000
committerGitHub <noreply@github.com>2025-10-08 02:57:19 +0000
commitc74fa20c955bae00d70d72b48f85b0143d3a1f3d (patch)
tree375e26b079d9c39064358ac7f35cc7d784c95f89 /clang/lib/CodeGen/CodeGenFunction.cpp
parentd9a568034ff817060dc0a83dc3ea160b058a5935 (diff)
downloadllvm-c74fa20c955bae00d70d72b48f85b0143d3a1f3d.zip
llvm-c74fa20c955bae00d70d72b48f85b0143d3a1f3d.tar.gz
llvm-c74fa20c955bae00d70d72b48f85b0143d3a1f3d.tar.bz2
Revert "[Clang][CodeGen] Introduce the AllocToken SanitizerKind" (#162413)
Reverts llvm/llvm-project#162098 Reason: buildbot breakage (see https://github.com/llvm/llvm-project/pull/162098#issuecomment-3379070211)
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index acf8de4..b2fe917 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -846,8 +846,6 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy,
Fn->addFnAttr(llvm::Attribute::SanitizeNumericalStability);
if (SanOpts.hasOneOf(SanitizerKind::Memory | SanitizerKind::KernelMemory))
Fn->addFnAttr(llvm::Attribute::SanitizeMemory);
- if (SanOpts.has(SanitizerKind::AllocToken))
- Fn->addFnAttr(llvm::Attribute::SanitizeAllocToken);
}
if (SanOpts.has(SanitizerKind::SafeStack))
Fn->addFnAttr(llvm::Attribute::SafeStack);