diff options
author | Eugene Rozenfeld <erozen@microsoft.com> | 2021-08-02 18:29:24 -0700 |
---|---|---|
committer | Eugene Rozenfeld <erozen@microsoft.com> | 2021-08-03 14:28:42 -0700 |
commit | 9265b378531391498ec1727f67a45da72a6c07e9 (patch) | |
tree | cd3fc4e72ec041e9333bed71e9499511c69c49ef /libgcc | |
parent | 0ed093c7c3f755bc1cd80e5186abeb2f5c50ee0c (diff) | |
download | gcc-9265b378531391498ec1727f67a45da72a6c07e9.zip gcc-9265b378531391498ec1727f67a45da72a6c07e9.tar.gz gcc-9265b378531391498ec1727f67a45da72a6c07e9.tar.bz2 |
Fixes for AutoFDO testing
* create_gcov tool doesn't currently support dwarf 5 so I made a change in profopt.exp
to pass -gdwarf-4 when compiling the binary to profile.
* I updated the invocation of create_gcov in profopt.exp to pass -gcov_version=2.
I recently made a change to create_gcov to support version 2:
https://github.com/google/autofdo/pull/117 .
* I removed useless -o perf.data from the invocation of gcc-auto-profile in
target-supports.exp.
These changes contribute to fixing PR gcov-profile/71672.
gcc/testsuite/ChangeLog:
* lib/profopt.exp: Pass gdwarf-4 when compiling test to profile; pass -gcov_version=2.
* lib/target-supports.exp: Remove unnecessary -o perf.data passed to gcc-auto-profile.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions