Mercurial > hg > CbC > CbC_gcc
comparison libbacktrace/backtrace.h @ 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 /* backtrace.h -- Public header file for stack backtrace library. | 1 /* backtrace.h -- Public header file for stack backtrace library. |
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: |
92 use appropriate atomic operations. If THREADED is zero the state | 92 use appropriate atomic operations. If THREADED is zero the state |
93 may only be accessed by one thread at a time. This returns a state | 93 may only be accessed by one thread at a time. This returns a state |
94 pointer on success, NULL on error. If an error occurs, this will | 94 pointer on success, NULL on error. If an error occurs, this will |
95 call the ERROR_CALLBACK routine. | 95 call the ERROR_CALLBACK routine. |
96 | 96 |
97 Calling this function allocates resources that can not be freed. | 97 Calling this function allocates resources that cannot be freed. |
98 There is no backtrace_free_state function. The state is used to | 98 There is no backtrace_free_state function. The state is used to |
99 cache information that is expensive to recompute. Programs are | 99 cache information that is expensive to recompute. Programs are |
100 expected to call this function at most once and to save the return | 100 expected to call this function at most once and to save the return |
101 value for all later calls to backtrace functions. */ | 101 value for all later calls to backtrace functions. */ |
102 | 102 |