diff options
| author | Josh Stone <jistone@redhat.com> | 2018-01-30 16:47:30 -0800 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2018-01-31 11:41:26 -0800 |
| commit | e2de8deb0927eb68dbc5986e1fbbd0a1359f8a74 (patch) | |
| tree | 1e25ffd5d0d86659a1926e52959ea8a8f283f517 /src | |
| parent | 560a2f4faf4828ba5f48fe2bd7709265c2f5354d (diff) | |
| download | rust-e2de8deb0927eb68dbc5986e1fbbd0a1359f8a74.tar.gz rust-e2de8deb0927eb68dbc5986e1fbbd0a1359f8a74.zip | |
Enable stack-probe tests with system LLVM >= 5.0
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/codegen/stack-probes.rs | 2 | ||||
| -rw-r--r-- | src/test/run-pass/stack-probes-lto.rs | 2 | ||||
| -rw-r--r-- | src/test/run-pass/stack-probes.rs | 2 | ||||
| -rw-r--r-- | src/tools/compiletest/src/header.rs | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/test/codegen/stack-probes.rs b/src/test/codegen/stack-probes.rs index 5b26dade9af..4a489f1edb3 100644 --- a/src/test/codegen/stack-probes.rs +++ b/src/test/codegen/stack-probes.rs @@ -15,7 +15,7 @@ // ignore-wasm // ignore-emscripten // ignore-windows -// no-system-llvm +// min-system-llvm-version 5.0 // compile-flags: -C no-prepopulate-passes #![crate_type = "lib"] diff --git a/src/test/run-pass/stack-probes-lto.rs b/src/test/run-pass/stack-probes-lto.rs index 22555c8d6a7..4deced1297b 100644 --- a/src/test/run-pass/stack-probes-lto.rs +++ b/src/test/run-pass/stack-probes-lto.rs @@ -15,7 +15,7 @@ // ignore-emscripten no processes // ignore-musl FIXME #31506 // ignore-pretty -// no-system-llvm +// min-system-llvm-version 5.0 // compile-flags: -C lto // no-prefer-dynamic diff --git a/src/test/run-pass/stack-probes.rs b/src/test/run-pass/stack-probes.rs index 248ad701926..4224a65ffd7 100644 --- a/src/test/run-pass/stack-probes.rs +++ b/src/test/run-pass/stack-probes.rs @@ -14,7 +14,7 @@ // ignore-cloudabi no processes // ignore-emscripten no processes // ignore-musl FIXME #31506 -// no-system-llvm +// min-system-llvm-version 5.0 use std::mem; use std::process::Command; diff --git a/src/tools/compiletest/src/header.rs b/src/tools/compiletest/src/header.rs index ff662736bdd..80750f9a3fe 100644 --- a/src/tools/compiletest/src/header.rs +++ b/src/tools/compiletest/src/header.rs @@ -167,7 +167,7 @@ impl EarlyProps { .expect("Malformed llvm version directive"); // Ignore if using system LLVM and actual version // is smaller the minimum required version - !(config.system_llvm && &actual_version[..] < min_version) + config.system_llvm && &actual_version[..] < min_version } else { false } |
