about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2023-05-28 22:03:06 -0400
committerBen Kimock <kimockb@gmail.com>2023-05-28 22:03:06 -0400
commitfe69acfdf0592e15bc0df3caffd922748d0ab70e (patch)
tree8541126d2eb309f23bad2a88fe8d20df45db4cd1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentc5013ce996ff018d8c1de89c6505a76d2a83cfe8 (diff)
parent2f65aac667302849407fe677cc34078300b57eee (diff)
downloadrust-fe69acfdf0592e15bc0df3caffd922748d0ab70e.tar.gz
rust-fe69acfdf0592e15bc0df3caffd922748d0ab70e.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
-rw-r--r--compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
index 49acd71b3e1..ea04899ab68 100644
--- a/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
+++ b/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
@@ -234,6 +234,8 @@ static Attribute::AttrKind fromRust(LLVMRustAttribute Kind) {
   case AllocAlign:
     return Attribute::AllocAlign;
 #endif
+  case SanitizeSafeStack:
+    return Attribute::SafeStack;
   }
   report_fatal_error("bad AttributeKind");
 }