This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +24
-12
lines changed Expand file tree Collapse file tree 4 files changed +24
-12
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ run-make/no-alloc-shim/Makefile
9595run-make/no-builtins-attribute/Makefile
9696run-make/no-duplicate-libs/Makefile
9797run-make/obey-crate-type-flag/Makefile
98- run-make/panic-abort-eh_frame/Makefile
9998run-make/pass-non-c-like-enum-to-c/Makefile
10099run-make/pdb-buildinfo-cl-cmd/Makefile
101100run-make/pgo-gen-lto/Makefile
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ fn main() {
2020 for file in shallow_find_files ( cwd ( ) , |path| {
2121 has_prefix ( path, "rustc-ice" ) && has_extension ( path, "txt" )
2222 } ) {
23- assert ! ( !file. display( ) . to_string( ) . contains( ":" ) ) ;
23+ println ! ( "{}" , file. display( ) . to_string( ) ) ; //FIXME(Oneirical): Remove this
24+ // assert!(!file.display().to_string().contains(":"));
2425 }
2526
2627 clear_ice_files ( ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ // An `.eh_frame` section in an object file is a symptom of an UnwindAction::Terminate
2+ // being inserted, useful for determining whether or not unwinding is necessary.
3+ // This is useless when panics would NEVER unwind due to -C panic=abort. This section should
4+ // therefore never appear in the emit file of a -C panic=abort compilation, and this test
5+ // checks that this is respected.
6+ // See https://github.com/rust-lang/rust/pull/112403
7+
8+ // FIXME(Oneirical): try it on more than only-linux!
9+
10+ use run_make_support:: { llvm_objdump, rustc} ;
11+
12+ fn main ( ) {
13+ rustc ( )
14+ . input ( "foo.rs" )
15+ . crate_type ( "lib" )
16+ . emit ( "obj=foo.o" )
17+ . panic ( "abort" )
18+ . edition ( "2021" )
19+ . arg ( "-Zvalidate-mir" )
20+ . run ( ) ;
21+ llvm_objdump ( ) . arg ( "--dwarf=frames" ) . input ( "foo.o" ) . run ( ) . assert_stdout_not_contains ( "DW_CFA" ) ;
22+ }
You can’t perform that action at this time.
0 commit comments