about summary refs log tree commit diff
path: root/src/rustllvm/rustllvm.h
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2016-12-29 23:28:11 -0500
committerJorge Aparicio <japaricious@gmail.com>2017-02-08 18:51:43 -0500
commit9af6aa38895d3c1d263c52984666893b9ca22fe1 (patch)
tree51de3787fa14cc9ae838d86a366eb5f957c82f58 /src/rustllvm/rustllvm.h
parentc14f87e3b0823407a91a283796bf78ef83d5fe99 (diff)
downloadrust-9af6aa38895d3c1d263c52984666893b9ca22fe1.tar.gz
rust-9af6aa38895d3c1d263c52984666893b9ca22fe1.zip
sanitizer support
Diffstat (limited to 'src/rustllvm/rustllvm.h')
-rw-r--r--src/rustllvm/rustllvm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rustllvm/rustllvm.h b/src/rustllvm/rustllvm.h
index a30fa3133e2..0baf5528e93 100644
--- a/src/rustllvm/rustllvm.h
+++ b/src/rustllvm/rustllvm.h
@@ -98,6 +98,9 @@ enum LLVMRustAttribute {
   UWTable = 17,
   ZExt = 18,
   InReg = 19,
+  SanitizeThread = 20,
+  SanitizeAddress = 21,
+  SanitizeMemory = 22,
 };
 
 typedef struct OpaqueRustString *RustStringRef;