History log of /external/libunwind/src/Los-common.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
965cd6944d33fd7a2ef7c4f4cb8f3c8e420d93cc 13-Nov-2014 Christopher Ferris <cferris@google.com> Fix initialization problem.

The local address space map init can be called twice. Make sure it's
only called once.

Bug: 18380960

Change-Id: Iee3666c45ee67a2f150e62dd768845bccd609654
/external/libunwind/src/Los-common.c
f360ccc06f3f086f41cf6ba4036b52571ed2a54f 11-Sep-2014 Christopher Ferris <cferris@google.com> Do not try to read/write device memory.

Device memory might have certain alignment constraints that the unwind
code violates. Since we shouldn't be reading this memory, treat this
type of memory as not readable and not writable.

Bug: 17037053
Change-Id: I8e07aabcf9c0d146f11e2e1d388fcb3a0024f98f
/external/libunwind/src/Los-common.c
bb754471703e806d83d0e6670955dc1d399690b3 10-Apr-2014 Christopher Ferris <cferris@google.com> Use map cache for finding image names.

This change removes the function find_binary_for_address and replaces it
with a call to check the cached map data instead. This is an error path
that hardly ever gets exercised though.

Also fix a couple of warnings in Gfind_proc_info-lsb.c.

Change-Id: Idb501d6674cacfc693fc35608d322ec78f48a4d6
/external/libunwind/src/Los-common.c
0fa05b02d01da95b0b266e9b5660a9364d85e98b 09-Apr-2014 Christopher Ferris <cferris@google.com> Fix return code for unmappable elf data.

If an elf image cannot be mapped for the local unwind, then uninitialized data
gets passed back. Fix this to actually return an error code.

Bug: 13897127
Change-Id: I31b66491bbc7d8b7ad99d50d04a33ca1d886a0f7
/external/libunwind/src/Los-common.c
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/Los-common.c