mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-24 20:23:41 +01:00
Define UNW_LOCAL_ONLY before including <libunwind.h> so we get the
optimized version for unwind-table-searching. (Logical change 1.144)
This commit is contained in:
parent
a114b907b1
commit
c7312eceb2
1 changed files with 4 additions and 1 deletions
|
@ -27,11 +27,14 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
#define _UPT_internal_h
|
#define _UPT_internal_h
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <libunwind.h>
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
/* ensure tdep_search_unwind_table() uses optimized (local-only) version */
|
||||||
|
#define UNW_LOCAL_ONLY
|
||||||
|
#include <libunwind.h>
|
||||||
|
|
||||||
#include <sys/ptrace.h>
|
#include <sys/ptrace.h>
|
||||||
|
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
|
|
Loading…
Reference in a new issue