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 1
1
extern crate interesting;
2
2
3
3
fn main ( ) {
4
- let arg = "aaaaaaaaaaaa2bbbbbbbbbbbb2bbbbbbbbbbbbbbbbcc" ;
4
+ let arg = std :: env :: args ( ) . skip ( 1 ) . next ( ) . unwrap ( ) ;
5
5
6
6
for c in arg. chars ( ) {
7
7
if c == '2' {
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ fn main() {
45
45
invoc. arg ( link_args) ;
46
46
}
47
47
invoc. run ( ) ;
48
- run ( "main" ) ;
48
+ run ( "main aaaaaaaaaaaa2bbbbbbbbbbbb2bbbbbbbbbbbbbbbbcc " ) ;
49
49
llvm_profdata ( )
50
50
. merge ( )
51
51
. output ( & path_merged_profdata)
@@ -63,5 +63,5 @@ fn main() {
63
63
invoc. run ( ) ;
64
64
65
65
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" ) ;
67
67
}
You can’t perform that action at this time.
0 commit comments