mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
gcc/toplev.cc: Output mangled function names with -fstack-usage
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>
This commit is contained in:
committed by
Andrew Pinski
parent
c65691bc5a
commit
4e760f7662
@@ -840,7 +840,7 @@ output_stack_usage_1 (FILE *cf)
|
||||
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]);
|
||||
|
||||
Reference in New Issue
Block a user