File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
tests/run-make/pgo-branch-weights Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11extern crate interesting;
22
33fn main ( ) {
4- let arg = "aaaaaaaaaaaa2bbbbbbbbbbbb2bbbbbbbbbbbbbbbbcc" ;
4+ let arg = std :: env :: args ( ) . skip ( 1 ) . next ( ) . unwrap ( ) ;
55
66 for c in arg. chars ( ) {
77 if c == '2' {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ fn main() {
4545 invoc. arg ( link_args) ;
4646 }
4747 invoc. run ( ) ;
48- run ( "main" ) ;
48+ run ( "main aaaaaaaaaaaa2bbbbbbbbbbbb2bbbbbbbbbbbbbbbbcc " ) ;
4949 llvm_profdata ( )
5050 . merge ( )
5151 . output ( & path_merged_profdata)
@@ -63,5 +63,5 @@ fn main() {
6363 invoc. run ( ) ;
6464
6565 let interesting_ll = tmp_dir ( ) . join ( "interesting.ll" ) ;
66- stdin_command ( "llvm-filecheck" , interesting_ll, "filecheck-patterns.txt" ) ;
66+ stdin_command ( env :: var ( "LLVM_FILECHECK" ) , interesting_ll, "filecheck-patterns.txt" ) ;
6767}
You can’t perform that action at this time.
0 commit comments