mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-09-29 18:09:29 +02:00
a51cf49031
Add interface for configurable dwarf cache size * Use item size and round up to nearest power of 2. * Initial cache still exists in BSS. Without this, it means we would fail backtrace when out of memory. The test-mem test fails without this
5 lines
139 B
C
5 lines
139 B
C
#define UNW_LOCAL_ONLY
|
|
#include <libunwind.h>
|
|
#if defined(UNW_LOCAL_ONLY) && !defined(UNW_REMOTE_ONLY)
|
|
#include "Gset_cache_size.c"
|
|
#endif
|