summaryrefslogtreecommitdiffstats
path: root/3rdparty/libbacktrace/libbacktrace/print.c
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/libbacktrace/libbacktrace/print.c')
-rw-r--r--3rdparty/libbacktrace/libbacktrace/print.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/3rdparty/libbacktrace/libbacktrace/print.c b/3rdparty/libbacktrace/libbacktrace/print.c
index 74c8fcbe..0767face 100644
--- a/3rdparty/libbacktrace/libbacktrace/print.c
+++ b/3rdparty/libbacktrace/libbacktrace/print.c
@@ -1,5 +1,5 @@
/* print.c -- Print the current backtrace.
- Copyright (C) 2012-2016 Free Software Foundation, Inc.
+ Copyright (C) 2012-2019 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Google.
Redistribution and use in source and binary forms, with or without
@@ -7,13 +7,13 @@ modification, are permitted provided that the following conditions are
met:
(1) Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
+ notice, this list of conditions and the following disclaimer.
(2) Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
- distribution.
-
+ distribution.
+
(3) The name of the author may not be used to
endorse or promote products derived from this software without
specific prior written permission.
@@ -80,7 +80,7 @@ error_callback (void *data, const char *msg, int errnum)
/* Print a backtrace. */
-void
+void __attribute__((noinline))
backtrace_print (struct backtrace_state *state, int skip, FILE *f)
{
struct print_data data;