diff options
| author | Nikita Popov <npopov@redhat.com> | 2024-02-19 15:02:49 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2024-04-25 11:43:47 +0900 |
| commit | 3695af697efa26b0ea3b67739ade3ecc3929154e (patch) | |
| tree | 0b34ec36942c528246b5f3a85014f6952d8d99c3 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs | |
| parent | aa067fb984d36462548bb785da221bfaf38253f0 (diff) | |
| download | rust-3695af697efa26b0ea3b67739ade3ecc3929154e.tar.gz rust-3695af697efa26b0ea3b67739ade3ecc3929154e.zip | |
Set writable and dead_on_unwind attributes for sret arguments
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index 5509baaa3e9..96265043a1c 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -200,6 +200,8 @@ pub enum AttributeKind { AllocAlign = 39, SanitizeSafeStack = 40, FnRetThunkExtern = 41, + Writable = 42, + DeadOnUnwind = 43, } /// LLVMIntPredicate |
