about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-01-16 03:10:52 +0000
committerbors <bors@rust-lang.org>2021-01-16 03:10:52 +0000
commit635ccfe01c0be19d9fb0a99facbd9e06290f0ab1 (patch)
tree278f5200156f523b626bea00183518235a0b9074 /compiler/rustc_codegen_llvm/src/llvm/ffi.rs
parent6c869d34ae2d87d21db9892d4dc088639bcbe041 (diff)
parentcd2580722375671fa2967661f65b7b33570547ec (diff)
downloadrust-635ccfe01c0be19d9fb0a99facbd9e06290f0ab1.tar.gz
rust-635ccfe01c0be19d9fb0a99facbd9e06290f0ab1.zip
Auto merge of #77885 - erikdesjardins:probeasm, r=cuviper
Use probe-stack=inline-asm in LLVM 11+

Fixes (?) #74405, related to #43241

r? `@cuviper`
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 eb4f36266db..d9f42efebab 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -1811,6 +1811,7 @@ extern "C" {
     pub fn LLVMRustDebugMetadataVersion() -> u32;
     pub fn LLVMRustVersionMajor() -> u32;
     pub fn LLVMRustVersionMinor() -> u32;
+    pub fn LLVMRustVersionPatch() -> u32;
 
     pub fn LLVMRustAddModuleFlag(M: &Module, name: *const c_char, value: u32);