Always print gcc-auto-profile line in dump file
authorAndi Kleen <ak@linux.intel.com>
Thu, 14 Jul 2016 02:14:29 +0000 (02:14 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Thu, 14 Jul 2016 02:14:29 +0000 (02:14 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/lib/profopt.exp

index 871475614c7aef9cdb21b2a64fca771bc8b8ff13..004d2c55f9e56c5fee902280acb0bcbaf80093cc 100644 (file)
@@ -1,3 +1,8 @@
+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,
index 3cce2ee2ffb6adbb42fbde9eba1e720e568f6876..6966d04d30d905c3110396edf227d2b621c6653d 100644 (file)
@@ -417,7 +417,7 @@ proc profopt-execute { src } {
            }
            set orig_ld_library_path "[getenv 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"]
            setenv LD_LIBRARY_PATH $orig_ld_library_path
            if { $id < 0 } {