comparison libbacktrace/print.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* print.c -- Print the current backtrace. 1 /* print.c -- Print the current backtrace.
2 Copyright (C) 2012-2018 Free Software Foundation, Inc. 2 Copyright (C) 2012-2020 Free Software Foundation, Inc.
3 Written by Ian Lance Taylor, Google. 3 Written by Ian Lance Taylor, Google.
4 4
5 Redistribution and use in source and binary forms, with or without 5 Redistribution and use in source and binary forms, with or without
6 modification, are permitted provided that the following conditions are 6 modification, are permitted provided that the following conditions are
7 met: 7 met:
78 fputc ('\n', stderr); 78 fputc ('\n', stderr);
79 } 79 }
80 80
81 /* Print a backtrace. */ 81 /* Print a backtrace. */
82 82
83 void 83 void __attribute__((noinline))
84 backtrace_print (struct backtrace_state *state, int skip, FILE *f) 84 backtrace_print (struct backtrace_state *state, int skip, FILE *f)
85 { 85 {
86 struct print_data data; 86 struct print_data data;
87 87
88 data.state = state; 88 data.state = state;