Commit ae145898 by Andi Kleen Committed by Andi Kleen

Always print gcc-auto-profile line in dump file

not just when verbose. This ensures all command lines needed to
reproduce the test case are always logged

gcc/testsuite/:

2016-07-13  Andi Kleen  <ak@linux.intel.com>

	* lib/profopt.exp (profopt-execute): Always log profiler
	command line.

From-SVN: r238323
parent e97bd4f5
2016-07-13 Andi Kleen <ak@linux.intel.com> 2016-07-13 Andi Kleen <ak@linux.intel.com>
* lib/profopt.exp (profopt-execute): Always log profiler
command line.
2016-07-13 Andi Kleen <ak@linux.intel.com>
* lib/profopt.exp (dg-final-scan-autofdo, * lib/profopt.exp (dg-final-scan-autofdo,
dg-final-scan-not-autofdo): New functions. dg-final-scan-not-autofdo): New functions.
......
...@@ -417,7 +417,7 @@ proc profopt-execute { src } { ...@@ -417,7 +417,7 @@ proc profopt-execute { src } {
} }
set orig_ld_library_path "[getenv LD_LIBRARY_PATH]" set orig_ld_library_path "[getenv LD_LIBRARY_PATH]"
setenv LD_LIBRARY_PATH "$ld_library_path:$orig_ld_library_path" setenv LD_LIBRARY_PATH "$ld_library_path:$orig_ld_library_path"
verbose "Running $profile_wrapper $execname1" verbose -log "Running $profile_wrapper $execname1"
set id [remote_spawn "" "$profile_wrapper $execname1" "readonly"] set id [remote_spawn "" "$profile_wrapper $execname1" "readonly"]
setenv LD_LIBRARY_PATH $orig_ld_library_path setenv LD_LIBRARY_PATH $orig_ld_library_path
if { $id < 0 } { if { $id < 0 } {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment