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/src/elfxx.h
|
2c3444d0f4821b159d60290c514a8aeba8d9061f |
|
21-Sep-2013 |
Masatake YAMATO <yamato@redhat.com> |
Remove one of duplicated declarations of `get_proc_name' Declarations of `get_proc_name' of is duplicated. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
/external/libunwind/src/elfxx.h
|
d41a453bbf195818e3fa66ed0a123f0c06aa754b |
|
19-May-2013 |
Arun Sharma <asharma@fb.com> |
Fix a build error <elf.h> needs to be included before the check for ELF_CLASS.
/external/libunwind/src/elfxx.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/src/elfxx.h
|
d276b7a9614987495a7dfb056e6558f452ebe802 |
|
13-Mar-2012 |
Arun Sharma <asharma@fb.com> |
Introduce get_proc_name_in_image() This is similar to get_proc_name() but takes an already mapped image. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
/external/libunwind/src/elfxx.h
|
3d08506936d16401aade168de0c95646b3f54a94 |
|
13-Feb-2012 |
Arun Sharma <asharma@fb.com> |
Fix undefined symbol: _Uelf64_valid_object Without this change, we end up building libunwind-${arch}.a with missing symbols. Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/libunwind/src/elfxx.h
|
ffc474b8c8972200642acaef3e5aa10ee853609a |
|
15-Mar-2011 |
Zachary T Welch <zwelch@codesourcery.com> |
Add module for parsing ARM-specific unwind tables Handles lookup, extracting unwind entries, and decoding the entry using a callback mechanism. Signed-off-by: Ken Werner <ken.werner@linaro.org>
/external/libunwind/src/elfxx.h
|
a83e96cc1cc48c6c229d9462ab13ef6479a84143 |
|
24-Jan-2011 |
Arun Sharma <asharma@fb.com> |
Some entries in /proc/<pid>/maps are not ELF files, so add check in elf_map_image() to ensure mapped files have a valid ELF header. Signed-off-by: Zachary T Welch <zwelch@codesourcery.com> Signed-off-by: Arun Sharma <asharma@fb.com>
/external/libunwind/src/elfxx.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/src/elfxx.h
|
5724bee8c27219ac277ea76d75dc70fa830eaac0 |
|
20-May-2005 |
hp.com!davidm <hp.com!davidm> |
Include "libunwind_i.h" instead of "internal.h". (Logical change 1.294)
/external/libunwind/src/elfxx.h
|
b9d2cc7919cf343596fd007506492621311b1c43 |
|
21-Dec-2003 |
mostang.com!davidm <mostang.com!davidm> |
Drop HIDDEN from declarations, only the definitions need it. (Logical change 1.150)
/external/libunwind/src/elfxx.h
|
4fafd8cbf7464f50b30e2983e332ddebef8b5acc |
|
20-Dec-2003 |
hp.com!davidm <hp.com!davidm> |
Use Elf_W() instead of ElfW() etc. to avoid clash with <linker.h>. (Logical change 1.141)
/external/libunwind/src/elfxx.h
|
9c23f9c408a10b9cbe44002d87755ad020aac91a |
|
03-Apr-2003 |
mostang.com!davidm <mostang.com!davidm> |
(elf_map_image): Declare "path" argument as "const". (Logical change 1.75)
/external/libunwind/src/elfxx.h
|
63d7003ef7c8f791d52cd88add0cee0d72cb6a5f |
|
19-Mar-2003 |
mostang.com!davidm <mostang.com!davidm> |
Include <sys/stat.h>. (Logical change 1.63)
/external/libunwind/src/elfxx.h
|
a3806e7c16dd8e988507a7dab037cd99e74277a7 |
|
27-Feb-2003 |
mostang.com!davidm <mostang.com!davidm> |
(get_proc_name): Add "pid" argument. (Logical change 1.56)
/external/libunwind/src/elfxx.h
|
824d6619b500a86ff2fc680268357f0215d59b0c |
|
08-Feb-2003 |
mostang.com!davidm <mostang.com!davidm> |
(Logical change 1.45)
/external/libunwind/src/elfxx.h
|
5f94e2d488701fccd474245df3ad6f51aff2a05e |
|
08-Feb-2003 |
mostang.com!davidm <mostang.com!davidm> |
Initial revision
/external/libunwind/src/elfxx.h
|