about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm
diff options
context:
space:
mode:
authorIvan Lozano <ivanlozano@google.com>2021-12-03 16:11:13 -0500
committerIvan Lozano <ivanlozano@google.com>2022-02-16 09:39:03 -0500
commit568aeda9e955ca2a4c043bc2ae7f854e60f6103a (patch)
tree9bf9fb4b071e057a6869945ceef6883aebf40050 /compiler/rustc_codegen_llvm/src/llvm
parent55697574915ca58c3fcd7b1c854c1c93e002dc85 (diff)
MemTagSanitizer Support
Adds support for the LLVM MemTagSanitizer.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 4f62c685568..bb6a2cd1cf9 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -190,6 +190,7 @@ pub enum Attribute {
     StackProtectStrong = 31,
     StackProtect = 32,
     NoUndef = 33,
+    SanitizeMemTag = 34,
 }
 
 /// LLVMIntPredicate