diff options
| author | Ben Kimock <kimockb@gmail.com> | 2023-05-28 22:03:06 -0400 |
|---|---|---|
| committer | Ben Kimock <kimockb@gmail.com> | 2023-05-28 22:03:06 -0400 |
| commit | fe69acfdf0592e15bc0df3caffd922748d0ab70e (patch) | |
| tree | 8541126d2eb309f23bad2a88fe8d20df45db4cd1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | c5013ce996ff018d8c1de89c6505a76d2a83cfe8 (diff) | |
| parent | 2f65aac667302849407fe677cc34078300b57eee (diff) | |
| download | rust-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.cpp | 2 |
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"); } |
