* backtrace.c (backtrace_full): When testing whether we can
commitb77ef01f8e707efd00e65a6f73c1656b2e0d6745
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Apr 2018 13:59:38 +0000 (17 13:59 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Apr 2018 13:59:38 +0000 (17 13:59 +0000)
treedbceef94aeb346b1a317fc802cf86815e747eaa6
parent99c7343247f65cbb1ce3153f7c8dd9967bb6f97f
* backtrace.c (backtrace_full): When testing whether we can
allocate memory, call mmap directly, and munmap the memory.

Fixes https://github.com/ianlancetaylor/libbacktrace/issues/13 .

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@259434 138bc75d-0d04-0410-961f-82ee72b054a4
libbacktrace/ChangeLog
libbacktrace/backtrace.c