about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-02-20 17:02:23 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-03-01 23:35:35 +0100
commitbc96516a28d9e8e816b0f45c628a9cd49a2f380d (patch)
treeb32609d26c3fd4961d262fd9aeb5192134cc5239 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parent41b81584e2ff579fa4ff1d94496fb0884b50fa2e (diff)
downloadrust-bc96516a28d9e8e816b0f45c628a9cd49a2f380d.tar.gz
rust-bc96516a28d9e8e816b0f45c628a9cd49a2f380d.zip
Mark pure asm as willreturn
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm/ffi.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 7f7575e58c9..e6d60044c84 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -132,6 +132,7 @@ pub enum Attribute {
     ReadNone = 26,
     InaccessibleMemOnly = 27,
     SanitizeHWAddress = 28,
+    WillReturn = 29,
 }
 
 /// LLVMIntPredicate