Don't force DWARF4 for AutoFDO tests
authorEugene Rozenfeld <erozen@microsoft.com>
Wed, 26 Oct 2022 00:17:05 +0000 (17:17 -0700)
committerEugene Rozenfeld <erozen@microsoft.com>
Wed, 26 Oct 2022 00:35:17 +0000 (17:35 -0700)
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

index ac7712a..fe88d2f 100644 (file)
@@ -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