[PUSHED] Don't force DWARF4 for AutoFDO tests

Message ID DS7PR21MB3525A6EC99FBB9619679FDBB91309@DS7PR21MB3525.namprd21.prod.outlook.com
State Committed
Commit a9f339d86f8e26e3a4b3ad169e1937a254d19cf7
Headers
Series [PUSHED] Don't force DWARF4 for AutoFDO tests |

Commit Message

Eugene Rozenfeld Oct. 26, 2022, 12:38 a.m. UTC
  Support for DWARF5 was added to create_gcov in
https://github.com/google/autofdo so we no longer need
to force DWARF4 for AutoFDO tests.

Tested on x86_64-pc-linux-gnu.

gcc/testsuite/ChangeLog:
	* lib/profopt.exp: Don't force DWARF4 for AutoFDO tests
---
 gcc/testsuite/lib/profopt.exp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/gcc/testsuite/lib/profopt.exp b/gcc/testsuite/lib/profopt.exp
index ac7712a5b42..fe88d2fce37 100644
--- a/gcc/testsuite/lib/profopt.exp
+++ b/gcc/testsuite/lib/profopt.exp
@@ -289,7 +289,7 @@  proc auto-profopt-execute { src } {
         return
     }
     set profile_wrapper [profopt-perf-wrapper]
-    set profile_option "-gdwarf-4 -DFOR_AUTOFDO_TESTING"
+    set profile_option "-g -DFOR_AUTOFDO_TESTING"
     set feedback_option "-fauto-profile -DFOR_AUTOFDO_TESTING -fearly-inlining"
     set run_autofdo 1
     profopt-execute $src