diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2023-02-13 16:07:47 +0100 |
---|---|---|
committer | Rasmus Villemoes <rv@rasmusvillemoes.dk> | 2023-05-01 10:16:00 +0200 |
commit | 12de8da8961d294904d6af90b9cc27a5ba1ccfd0 (patch) | |
tree | 3168852fd623271d227bc7562ce0ba2ba87cb065 /libgcc/libgcov-driver.c | |
parent | 1ee457a5febc8aa1e21d2298769bc70975f0206f (diff) | |
download | gcc-12de8da8961d294904d6af90b9cc27a5ba1ccfd0.zip gcc-12de8da8961d294904d6af90b9cc27a5ba1ccfd0.tar.gz gcc-12de8da8961d294904d6af90b9cc27a5ba1ccfd0.tar.bz2 |
apply debug-remap to file names in .su files
The .su files generated with -fstack-usage are arguably debug info. In
order to make builds more reproducible, apply the same remapping logic
to the recorded file names as for when producing the debug info
embedded in the object files.
To this end, teach print_decl_identifier() a new
PRINT_DECL_REMAP_DEBUG flag and use that from output_stack_usage_1().
gcc/ChangeLog:
* print-tree.h (PRINT_DECL_REMAP_DEBUG): New flag.
* print-tree.cc (print_decl_identifier): Implement it.
* toplev.cc (output_stack_usage_1): Use it.
Diffstat (limited to 'libgcc/libgcov-driver.c')
0 files changed, 0 insertions, 0 deletions