Skip to content

Commit

Permalink
test: ignore force-frame-pointers test on some targets
Browse files Browse the repository at this point in the history
all of these currently force stronger frame pointers, and
currently the CLI does not override the target
  • Loading branch information
workingjubilee committed Jun 23, 2024
1 parent 598e265 commit c72a6ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tools/compiletest/src/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
"ignore-haiku",
"ignore-horizon",
"ignore-i686-pc-windows-msvc",
"ignore-illumos",
"ignore-ios",
"ignore-linux",
"ignore-lldb",
Expand Down Expand Up @@ -843,6 +844,7 @@ const KNOWN_DIRECTIVE_NAMES: &[&str] = &[
"ignore-x32",
"ignore-x86",
"ignore-x86_64",
"ignore-x86_64-apple-darwin",
"ignore-x86_64-unknown-linux-gnu",
"incremental",
"known-bug",
Expand Down
7 changes: 7 additions & 0 deletions tests/codegen/force-frame-pointers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
//@ [NonLeaf] compile-flags: -Cforce-frame-pointers=non-leaf
//@ compile-flags: -Zunstable-options
//@ compile-flags: -C no-prepopulate-passes -Copt-level=0
//@ [NonLeaf] ignore-illumos
//@ [NonLeaf] ignore-openbsd
//@ [NonLeaf] ignore-x86
//@ [NonLeaf] ignore-x86_64-apple-darwin
//@ [NonLeaf] ignore-windows-gnu
//@ [NonLeaf] ignore-thumb
// result is platform-dependent based on platform's frame pointer settings

#![crate_type = "lib"]

Expand Down

0 comments on commit c72a6ad

Please # to comment.