aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2023-02-13 16:07:47 +0100
committerRasmus Villemoes <rv@rasmusvillemoes.dk>2023-05-01 10:16:00 +0200
commit12de8da8961d294904d6af90b9cc27a5ba1ccfd0 (patch)
tree3168852fd623271d227bc7562ce0ba2ba87cb065 /libgcc
parent1ee457a5febc8aa1e21d2298769bc70975f0206f (diff)
downloadgcc-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')
0 files changed, 0 insertions, 0 deletions