mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-26 17:17:39 +01:00
Include "internal.h" instead of "unwind_i.h" to avoid name-space
pollution when compiling with debugging enabled. The name-space pollution came from the fact that functions won't be inlined in this case and that ended up generating dead code with references to non-existent functions. (Logical change 1.154)
This commit is contained in:
parent
6535a330cf
commit
81beef6941
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/* libunwind - a platform-independent unwind library
|
||||
Copyright (C) 2002-2003 Hewlett-Packard Co
|
||||
Copyright (C) 2002-2004 Hewlett-Packard Co
|
||||
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
|
||||
|
||||
This file is part of libunwind.
|
||||
|
@ -37,7 +37,7 @@ backing store is expected to reserve 4 words for use by libunwind. For
|
|||
example, in the Linux sigcontext, sc_fr[0] and sc_fr[1] serve this
|
||||
purpose. */
|
||||
|
||||
#include "unwind_i.h"
|
||||
#include "internal.h"
|
||||
|
||||
/* Maintain the register names as a single string to keep the number
|
||||
of dynamic relocations in the shared object to a minimum. */
|
||||
|
|
Loading…
Reference in a new issue