diff options
author | Ian Lance Taylor <iant@google.com> | 2015-09-08 16:46:16 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-09-08 16:46:16 +0000 |
commit | c478516be7517e20e150150fea4399d60434bfc3 (patch) | |
tree | eae6d20512a5643294e17bfb41e704ab2559be16 /gcc | |
parent | 2eab96661b6c08679ffd4a084f59f3935cfcddb9 (diff) | |
download | gcc-c478516be7517e20e150150fea4399d60434bfc3.zip gcc-c478516be7517e20e150150fea4399d60434bfc3.tar.gz gcc-c478516be7517e20e150150fea4399d60434bfc3.tar.bz2 |
re PR other/67457 (segfault in libbacktrace)
PR other/67457
* backtrace.c: #include "internal.h".
(struct backtrace_data): Add can_alloc field.
(unwind): If can_alloc is false, don't try to get file/line
information.
(backtrace_full): Set can_alloc field in bdata.
* alloc.c (backtrace_alloc): Don't call error_callback if it is
NULL.
* mmap.c (backtrace_alloc): Likewise.
* internal.h: Update comments for backtrace_alloc and
backtrace_free.
From-SVN: r227533
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions