History log of /external/libunwind/include/libunwind_i.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7e10fa72f0d9e6160b917a62d9d91a87c9b47ffb 22-May-2014 Elliott Hughes <enh@google.com> Fix building libunwind with debug := true.

Change-Id: I1d72e942f6d28c34e08cdef133111307670bef2c
/external/libunwind/include/libunwind_i.h
f4a8df5f4f338f1a12c25213227e98b34b42447f 08-Mar-2014 Christopher Ferris <cferris@google.com> Fix maps caching for local processes.

It is possible for the map to change while running libunwind. For example,
if lots of threads are doing local unwinds at the same time. Allow the
cached map to regenerate when it detects this case.

Included in this change is a refactor of all of the os code so that it can
also be used to do caching. This is a prelude to being able to attempt to
push the code upstream.

Also, this moves the code back closer to the original upstream code.
Hopefully, this will allow me to upstream all of these changes.

Change-Id: Ia219fa61e16e36416133bc95b1dd2161bd5b8ff7
/external/libunwind/include/libunwind_i.h
b8627d92164f67864e806afb9f461f2db161f13c 20-Feb-2014 Christopher Ferris <cferris@google.com> Fix a potential race.

When adding the mmap image data to the shared map structure, make
sure to lock before adding the information.

Change-Id: I4ea8d73f8ac2e3d423619388550b1bed40be46ab
/external/libunwind/include/libunwind_i.h
76dbee53bb2c38f31159531e5fdd7c2b0218b134 13-Feb-2014 Christopher Ferris <cferris@google.com> Add the ability to enable libunwind debugging.

Change-Id: I2bfd8e1b1f7e5e94643e191ca3a51db4dd8ca0aa
/external/libunwind/include/libunwind_i.h
16b95a68caaa7e021209e2cd6a877ae1e558f740 23-Jan-2014 Christopher Ferris <cferris@google.com> Add speed-ups to libunwind.

Add caching of /proc/self/maps data structures.

Add caching of elf image maps attached to the maps data structure.

Add a set of new map api functions to handle creation/destruction of the
maps by external code.

Remove the creation of the maps data structure in the local address space
init.

Change-Id: I0adae397d433fc3902f83a6f377f6889161937e5
/external/libunwind/include/libunwind_i.h
eac65dc9b8cc18fa4c65c0485878a11c470357b6 15-Apr-2013 Matt Fischer <matt.fischer@garmin.com> Add basic support for the QNX operating system

This change adds some special cases to allow libunwind to compile
for QNX.

* QNX's copy of <elf.h> and <link.h> reside in sys/ instead. To deal
with this, an AC_CHECK_HEADERS() was added to check for the files
in both locations.
* Similarly, QNX does not have <endian.h>. In cases where the file is
not found, logic was added to refer to QNX-specific macros to determine
endianness.
* The QCC compiler, which is a wrapper around GCC, cannot handle some
standard GCC options. Therefore, logic was added to check for QCC,
and when it is found, to suppress the use of -lgcc, and to express the
option -nostartfiles as -Wc,-nostartfiles instead, which is correctly
passed on to the underlying GCC.
* Finally, the support file os-qnx.c was added, patterned after the existing
os-*.c files. Only local image lookup is currently supported (see the
comments for more information), but this is sufficient for QNX, since
ptrace is not supported there anyway, and that is the only case where the
function is required to do remote image lookup.

Change-Id: Ie7934f94a7317bdde59335f2acd4c3a97c0384c1
/external/libunwind/include/libunwind_i.h
10b064ffe902d5af31bb49bd8e4f03c545f8d462 13-Nov-2012 Ladislav Michl <ladis@linux-mips.org> Support building with older compilers.

Add a check for __builtin_unreachable.
/external/libunwind/include/libunwind_i.h
890e23eb9d3ffd9be2a025189a21794b5ed0e0ff 21-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Prefer NULL over zero
/external/libunwind/include/libunwind_i.h
c2d6f85a0ac0562f9edaaefd584376af89412a17 06-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Use __sync builtin atomics on all architectures if available

We can use the __sync builtin atomics also on other architectures than
IA64. GCC 4.7 documentation notes that these builtins are ``legacy'' --
adding support for the newer GCC __atomic atomics should be fairly easy.
/external/libunwind/include/libunwind_i.h
9a3565ddc1e956ef1f52806093e949c7809f6e79 19-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Simplify `sos_alloc()' implementation

Instead of maintaining a pointer to the `sos_memory' array, maintain an
index that tells the next free position. When atomic operations are
available, the allocation boils down to a single fetch-and-add
operation.
/external/libunwind/include/libunwind_i.h
dc680c0b52a4113cf9cf5b924714d79fb1654ee2 18-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Pull attribute macros from `libunwind_i.h' to new header `compiler.h'

Pull attribute macros from `libunwind_i.h' to new header `compiler.h',
to allow the macros to also be used in the tests.
/external/libunwind/include/libunwind_i.h
c2f7574187cfbb36dbcdc85bc61a027a4025f394 04-Sep-2012 Tommi Rantala <tt.rantala@gmail.com> Rename and share `ALIGN' macro from _UCD_internal.h

Rename the `ALIGN' macro to `UNW_ALIGN', and move it from
`_UCD_internal.h' to `libunwind_i.h' so that we can share it with the
mempool code. `ALIGN' was clashing with system headers on FreeBSD:

In file included from src/coredump/_UCD_access_reg_freebsd.c:26:
src/coredump/_UCD_internal.h:102:1: warning: "ALIGN" redefined
In file included from /usr/include/sys/param.h:115,
from src/coredump/_UCD_lib.h:52,
from src/coredump/_UCD_access_reg_freebsd.c:24:
/usr/include/machine/param.h:79:1: warning: this is the location of the previous definition
/external/libunwind/include/libunwind_i.h
a15874f2cbcbfffd20b8bad61ca4e37b655b1cbe 14-Feb-2012 Tommi Rantala <tt.rantala@gmail.com> Annotate unused argument in mark_as_used() to avoid -Wextra compiler noise

include/libunwind_i.h: In function 'mark_as_used':
include/libunwind_i.h:187:39: warning: unused parameter 'v' [-Wunused-parameter]
/external/libunwind/include/libunwind_i.h
18c26d4a7eae02abcae817b97bb8571b1c2f4b8e 12-Aug-2012 Tommi Rantala <tt.rantala@gmail.com> Place `inline' at beginning of declaration of invalidate_edi()

../include/libunwind_i.h:319:1: warning: 'inline' is not at beginning of declaration [-Wold-style-declaration]
/external/libunwind/include/libunwind_i.h
25ee9f81727616f3269032c52483e4421d451291 13-Mar-2012 Arun Sharma <asharma@fb.com> Introduce struct elf_dyn_info

This is a common part of struct UPT_info
and struct UCD_info (to be introduced later).
Make _UPTi_find_unwind_table function operate only on this part
of struct UPT_info.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
/external/libunwind/include/libunwind_i.h
91494b732b28d14af47f5433c6dc904d5d27e0d0 25-Oct-2011 Ken Werner <ken.werner@linaro.org> Define GNU and processor specific values for the Phdr p_type field

Define GNU and processor specific values for the Phdr p_type field in case
they aren't defined by <elf.h> already.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
/external/libunwind/include/libunwind_i.h
2c865b6ed3833ec591c7972f545b8ed5cadfd246 20-Oct-2011 Ken Werner <ken.werner@linaro.org> Include <sys/mman.h> to have MAP_ANONYMOUS defined

This change prevents libunwind_i.h from using a self-defined MAP_ANONYMOUS and
therefore avoids collisions in case the system header gets pulled in later.

Signed-off-by: Ken Werner <ken.werner@linaro.org>
/external/libunwind/include/libunwind_i.h
ae5c1f2adf4da04235d87d024d4d942c01b2b447 18-Apr-2011 Lassi Tuura <lat@cern.ch> Performance optimisations for fast trace.

Insert static branch prediction predicates in useful places and avoid
unnecessary code in the hottest paths. Bypass unnecessary indirect
calls, in particular to access_mem(), when known to be safe.
/external/libunwind/include/libunwind_i.h
c0a9d0c7c1858f934aac0046d8e508ec218bc56b 24-Jan-2011 Arun Sharma <asharma@fb.com> Fix the mismatch between the macro parameter and the name used in the body.
Thanks to David Lee <live4thee@gmail.com> for noticing.
/external/libunwind/include/libunwind_i.h
8ccebc9307edda6c2315cc81f0381192b2db9df1 06-Mar-2010 Konstantin Belousov <kostik@pooma.home> MAP_ANONYMOUS
/external/libunwind/include/libunwind_i.h
905034ce728e84b2a1652ac4b44a2d8a5147a0d1 05-Mar-2010 Konstantin Belousov <kostik@pooma.home> Initial attempt at the build infrastructure for FreeBSD.
/external/libunwind/include/libunwind_i.h
3067acf17287d7357925213d5f11b79a48bbdf9d 18-Oct-2009 Arun Sharma <aruns@google.com> Remove duplicate calls to mark_as_used
/external/libunwind/include/libunwind_i.h
4ab26bcdaafce0e7f34dfaafd14c7837d8bb5435 17-Oct-2009 Arun Sharma <aruns@google.com> Fix compiler warnings seen with --disable_block_signals
/external/libunwind/include/libunwind_i.h
491d576529a3b01208accb37627a075d7ce07093 16-Oct-2009 Arun Sharma <aruns@google.com> Fix compiler warnings on x86_64
/external/libunwind/include/libunwind_i.h
af9daf66afde3c92b2c7c4f171bf3414c623892c 16-Oct-2009 Arun Sharma <aruns@google.com> Fix the naming of the sigprocmask parameters.
/external/libunwind/include/libunwind_i.h
9aa0d6d6805b3b4a852f7e478364301bb31230ae 21-Sep-2009 Paul Pluzhnikov <ppluzhnikov@google.com> Allow caller to block signals.

Greetings,

Here is the second part, actually implementing the configure option.

Thanks,
--
Paul Pluzhnikov

commit cf823ed0d4d2447aa91af0e3cb5fbb6a6cba5068
Author: Paul Pluzhnikov <ppluzhnikov@google.com>
Date: Mon Sep 21 11:37:38 2009 -0700

New configure option to allow caller to block signals.
/external/libunwind/include/libunwind_i.h
ec53de82ec7c00adb56c9e8b1b03d489a69c494b 16-Mar-2009 Arun Sharma <aruns@google.com> [PATCH] Avoiding name conflict with the GNU-specific dprintf in stdio.h

Signed-off-by: Yang Zhang <yaaang@gmail.com>
/external/libunwind/include/libunwind_i.h
e6b9f350f78ecd9ef3b8a3e721f9435c94fc2562 22-Aug-2007 David Mosberger-Tang <davidm@panda.mostang.com> Introduce a tdep_get_func_addr_hook() in the ELF lookup_symbol()
routine and add address-space argument. This is needed because on
PPC64, a the function-name symbol refers to a function descriptor
(unlike, for example, on ia64, where the @fptr() operator is needed to
refer to a function descriptor). Thus, in order to look up the name
of a function, we need to dereference the function descriptor. To
make matters more "interesting", the function descriptors are normally
resolved by the dynamic linker, so we can't get their values from the
ELF file. Instead, we have to read them from the running image, hence
the need for the address-space argument.
/external/libunwind/include/libunwind_i.h
d5ab898cdf886486fa78171b247538ccde5e073e 20-May-2005 hp.com!davidm <hp.com!davidm> (SOS_MEMORY_SIZE): Move to here from src/mi/mempool.c.

(Logical change 1.295)
/external/libunwind/include/libunwind_i.h
180a1ececa292bf92cf665ab6253fb68727d576a 20-May-2005 hp.com!davidm <hp.com!davidm> Initial revision
/external/libunwind/include/libunwind_i.h
5135d044edb34f2d0caf1809845f7ad0f120f18d 20-May-2005 hp.com!davidm <hp.com!davidm> Add include of <stdlib.h>.

2005/05/19 07:42:56-07:00 hp.com!davidm
Rename: include/internal.h -> include/libunwind_i.h

(Logical change 1.294)
/external/libunwind/include/libunwind_i.h