about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/llvm/ffi.rs
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-02-09 15:55:30 +0100
committergnzlbg <gonzalobg88@gmail.com>2019-02-23 15:48:40 +0100
commitc4b46ace556f3e4776d06ea7672daba6b243a80f (patch)
tree34033c65f3206aeb933e7784cbb19cb0d22405fa /src/librustc_codegen_llvm/llvm/ffi.rs
parentbcfb5e8ac30c46ba512526d66f803756c124c7bb (diff)
downloadrust-c4b46ace556f3e4776d06ea7672daba6b243a80f.tar.gz
rust-c4b46ace556f3e4776d06ea7672daba6b243a80f.zip
Implement ffi_returns_twice attribute
Diffstat (limited to 'src/librustc_codegen_llvm/llvm/ffi.rs')
-rw-r--r--src/librustc_codegen_llvm/llvm/ffi.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_codegen_llvm/llvm/ffi.rs b/src/librustc_codegen_llvm/llvm/ffi.rs
index e761d2247a7..fe2664118f7 100644
--- a/src/librustc_codegen_llvm/llvm/ffi.rs
+++ b/src/librustc_codegen_llvm/llvm/ffi.rs
@@ -114,6 +114,7 @@ pub enum Attribute {
     SanitizeMemory  = 22,
     NonLazyBind     = 23,
     OptimizeNone    = 24,
+    ReturnsTwice    = 25,
 }
 
 /// LLVMIntPredicate