about summary refs log tree commit diff
path: root/src/test/codegen/stack-probes.rs
diff options
context:
space:
mode:
authorErik Desjardins <erikdesjardins@users.noreply.github.com>2020-10-12 22:33:27 -0400
committerErik Desjardins <erikdesjardins@users.noreply.github.com>2021-01-14 22:49:16 -0500
commitcd2580722375671fa2967661f65b7b33570547ec (patch)
tree2a7c80c04b77f40691edd1da05e0d54e0930873f /src/test/codegen/stack-probes.rs
parente38fb306b7f5e65cca34df2dab1f0db15e1defb4 (diff)
downloadrust-cd2580722375671fa2967661f65b7b33570547ec.tar.gz
rust-cd2580722375671fa2967661f65b7b33570547ec.zip
Use probe-stack=inline-asm in LLVM 11+
Diffstat (limited to 'src/test/codegen/stack-probes.rs')
-rw-r--r--src/test/codegen/stack-probes.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/codegen/stack-probes.rs b/src/test/codegen/stack-probes.rs
index 3e3222d4735..b05787df8e3 100644
--- a/src/test/codegen/stack-probes.rs
+++ b/src/test/codegen/stack-probes.rs
@@ -13,11 +13,12 @@
 // ignore-emscripten
 // ignore-windows
 // compile-flags: -C no-prepopulate-passes
+// min-llvm-version: 11.0.1
 
 #![crate_type = "lib"]
 
 #[no_mangle]
 pub fn foo() {
 // CHECK: @foo() unnamed_addr #0
-// CHECK: attributes #0 = { {{.*}}"probe-stack"="__rust_probestack"{{.*}} }
+// CHECK: attributes #0 = { {{.*}}"probe-stack"="inline-asm"{{.*}} }
 }