This is more useful for automated stack checking tools such
as Daniel Beer's avstack.pl
gcc/ChangeLog:
* toplev.cc (output_stack_usage_1): Pass RINT_DECL_UNIQUE_NAME
instead of PRINT_DECL_NAME to print_decl_identifier.
Signed-off-by: Tomas Härdin <git@haerdin.se>
if (stack_usage_file)
{
print_decl_identifier (stack_usage_file, current_function_decl,
- PRINT_DECL_ORIGIN | PRINT_DECL_NAME
+ PRINT_DECL_ORIGIN | PRINT_DECL_UNIQUE_NAME
| PRINT_DECL_REMAP_DEBUG);
fprintf (stack_usage_file, "\t" HOST_WIDE_INT_PRINT_DEC"\t%s\n",
stack_usage, stack_usage_kind_str[stack_usage_kind]);