about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-05-29 16:36:39 +0000
committerbors <bors@rust-lang.org>2023-05-29 16:36:39 +0000
commit7bef7b7527f1bc6a25fa2ba9d476aca757efe35f (patch)
tree8541126d2eb309f23bad2a88fe8d20df45db4cd1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent3b181ac422c02e1c0f8452bf32e01171710c3c48 (diff)
parentfe69acfdf0592e15bc0df3caffd922748d0ab70e (diff)
downloadrust-7bef7b7527f1bc6a25fa2ba9d476aca757efe35f.tar.gz
rust-7bef7b7527f1bc6a25fa2ba9d476aca757efe35f.zip
Auto merge of #2903 - saethlin:rustup, r=RalfJung
rustup
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");
 }