summaryrefslogtreecommitdiffstats
path: root/libbacktrace
Commit message (Collapse)AuthorAgeFilesLines
* am 2ea89b63: am 936a236b: Merge "Add uncached argument to ↵Brian Carlstrom2014-08-051-1/+1
|\ | | | | | | | | | | | | BacktraceMap::Create on darwin" * commit '2ea89b631d58ecd8edd7165ed8840d1e1047aa72': Add uncached argument to BacktraceMap::Create on darwin
| * Add uncached argument to BacktraceMap::Create on darwinBrian Carlstrom2014-08-051-1/+1
| | | | | | | | Change-Id: I247a98fc3b98879a0c34a975f9914ccec95d1a04
| * Allow getting an uncached process map.Christopher Ferris2014-08-041-2/+6
| | | | | | | | | | | | (cherry picked from commit f02593b0e61f8108449770094caa7bb39a646ec1) Change-Id: I2012bf2dc553ebc663345b9eac6d794e80df9c00
* | am f02593b0: Allow getting an uncached process map.Christopher Ferris2014-08-051-2/+6
|\ \ | | | | | | | | | | | | * commit 'f02593b0e61f8108449770094caa7bb39a646ec1': Allow getting an uncached process map.
| * | Allow getting an uncached process map.Christopher Ferris2014-08-041-2/+6
| | | | | | | | | | | | Change-Id: I58d7e90a7b5c4476a4b9f51640c54d13748ac220
* | | am 83ddddaa: am 4795ce06: Merge "Update makefiles for host clang."Tim Murray2014-07-251-0/+1
|\ \ \ | |/ / |/| / | |/ | | * commit '83ddddaaba0fea8a1c0dcc64e795112bed67815f': Update makefiles for host clang.
| * Update makefiles for host clang.Tim Murray2014-07-241-0/+1
| | | | | | | | | | | | bug 16172793 Change-Id: If7484c5dbcccce7d925bec97bff0a3e4c30e9434
* | am 38dda3b8: am c309b97e: am e4022279: Merge "libbacktrace_libc++ needs to ↵Ian Rogers2014-06-251-0/+2
|\ \ | |/ | | | | | | | | | | be multilib on the Mac too." * commit '38dda3b8887286c44964dda0ce1c96425d9744f0': libbacktrace_libc++ needs to be multilib on the Mac too.
| * libbacktrace_libc++ needs to be multilib on the Mac too.Ian Rogers2014-06-241-0/+2
| | | | | | | | Change-Id: I2053345253c1d57c3485b790163ba0b4b10cc326
* | am 44367492: am 4ac17e3b: am 4dfe6faa: Merge "Enable host multilib for ART ↵Ian Rogers2014-06-172-0/+3
|\ \ | |/ | | | | | | | | | | testing." * commit '4436749284dc2b74e6e0f430d0f803d1b7862d19': Enable host multilib for ART testing.
| * Enable host multilib for ART testing.Ian Rogers2014-06-172-0/+3
| | | | | | | | Change-Id: Ic3ae5122eba13565fb5a4cb1bd0e7e465fb2140c
* | am 2b958116: am a31dab8a: am a9aa0f2c: Merge "Build the libc++ variant of ↵Ian Rogers2014-06-111-0/+17
|\ \ | |/ | | | | | | | | | | libbacktrace on the host for Mac." * commit '2b95811601b05db7894359f037005a008274a973': Build the libc++ variant of libbacktrace on the host for Mac.
| * Build the libc++ variant of libbacktrace on the host for Mac.Ian Rogers2014-06-111-0/+17
| | | | | | | | | | Bug: 13751317 Change-Id: Iefadec1cd9b3ca109ac436bd5eb7c096c2dcbe40
* | am 012090e5: am a0962b68: am d917d64f: Merge "Only copy mcontext data from ↵Christopher Ferris2014-05-232-5/+9
|\ \ | |/ | | | | | | | | | | sigcontext." * commit '012090e57b697133ad6f7d989e103d71302749f8': Only copy mcontext data from sigcontext.
| * Only copy mcontext data from sigcontext.Christopher Ferris2014-05-232-5/+9
| | | | | | | | | | | | | | | | | | | | The ucontext_t data structure could be bigger than the kernel data structure. Since the unwinder only cares about the mcontext data, only copy that out of the structure. The mcontext data is the same size in the kernel and in the ucontext_t structure. Bug: 15189014 Change-Id: I5978169c4425b8212e11db85a57eb319cd0e264b
* | am 633a2e3b: am 3ab1d61b: am 3b5cd911: Merge "Remove libstdc++ dependency ↵Dan Albert2014-05-221-0/+3
|\ \ | |/ | | | | | | | | | | from host libbacktrace" * commit '633a2e3b6a1d00257965a5772a5467a6df9911a5': Remove libstdc++ dependency from host libbacktrace
| * Merge "Remove libstdc++ dependency from host libbacktrace"Dan Albert2014-05-221-0/+3
| |\
| | * Remove libstdc++ dependency from host libbacktraceDan Albert2014-05-211-0/+3
| | | | | | | | | | | | | | | | | | | | | The libc++ version of libbacktrace on the host was still linking against libstdc++, and this was causing problems in art. Change-Id: I1d14fb9e18abd074affcf46c8044407041970669
* | | am 219e867f: am 7f8ebb81: am 30291f21: Merge "Add missing headers"Dan Albert2014-05-221-0/+1
|\ \ \ | |/ / | | | | | | | | | * commit '219e867f61755720af3cddb5e8d2fe0e198a27ab': Add missing headers
| * | Add missing headersDan Albert2014-05-211-0/+1
| |/ | | | | | | | | | | | | These headers are needed for pid_t and free when using libc++ headers (POSIX does not require that the symbols be exposed with the previous includes). Change-Id: Ia51a4fdfdbae7377130a43c401c2d8d241671d1e
* | am c6112ca4: am 5b654f15: am 201bf676: Merge "Really fixes the ub branches"Dan Albert2014-05-201-1/+1
|\ \ | |/ | | | | | | * commit 'c6112ca4b8d0712fdd4c0ab3258d3ceaf2f8064e': Really fixes the ub branches
| * Really fixes the ub branchesDan Albert2014-05-191-1/+1
| | | | | | | | Change-Id: I1d78f4e6c1d8086c2895f6739c3202e9ef74fee2
* | am 3f01965b: am 121f209d: am e1efe23f: Merge "Fix unbundled branches"Dan Albert2014-05-191-0/+3
|\ \ | |/ | | | | | | * commit '3f01965b3d1335ffff57e15fd47e5d99400dad3f': Fix unbundled branches
| * Fix unbundled branchesDan Albert2014-05-191-0/+3
| | | | | | | | Change-Id: Ic8a58a6cf55221ec361bbb80c7c9636fe1349943
* | am e9b36f1a: am 888f95e2: am f03bd953: Merge "Adds libc++ versions of ↵Dan Albert2014-05-192-1/+46
|\ \ | |/ | | | | | | | | | | libbacktrace" * commit 'e9b36f1a9a280877cb130452c50af6a51360a203': Adds libc++ versions of libbacktrace
| * Adds libc++ versions of libbacktraceDan Albert2014-05-192-1/+46
| | | | | | | | Change-Id: I4a1ce30e7c2166ac1846cc90de0252beee542ee6
* | am 413001aa: am 3a49aa7b: am 9428a289: Merge "Only include ucontext.h when ↵Christopher Ferris2014-05-104-2/+3
|\ \ | |/ | | | | | | | | | | necessary." * commit '413001aa6cd4addcf544348020f992ebc6d3e2d4': Only include ucontext.h when necessary.
| * Only include ucontext.h when necessary.Christopher Ferris2014-05-094-2/+3
| | | | | | | | Change-Id: I29014f6c6b82e0a9797e5d76147b3c4e3d82a7f5
* | am 3adbe79d: am 66e31dc5: am 3a088524: Merge "Rewrite unwind thread handling."Christopher Ferris2014-05-0910-257/+267
|\ \ | |/ | | | | | | * commit '3adbe79d2f14665ff55a9b0db245abebc105658d': Rewrite unwind thread handling.
| * Merge "Rewrite unwind thread handling."Christopher Ferris2014-05-0910-257/+267
| |\
| | * Rewrite unwind thread handling.Christopher Ferris2014-05-0810-257/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This new version doesn't require any specialized thread implementation, it uses the Current implementation to do its job. In addition, it runs much faster when multiple threads are trying to unwind at the same time since the global signal lock is held for only a small amount of time. Even running through the threads one at a time should be faster since it no longer requires two passes through the unwound stacks. The new code now allows multiple simultaneous unwinds of the same thread. Finally, add the ability to unwind from a ucontext_t passed in. This functionality doesn't work for remote unwinds yet. Change-Id: I4d181d7ca5ffd2acfd1686e668e6d21e36b425cb
* | | am b18da571: am 1e6cd741: am 803fb62b: Merge "Remove unused LOCAL_LDLIBS."Ying Wang2014-05-081-3/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'b18da571f90eebedd99fe5607a6b0d7ae4e91893': Remove unused LOCAL_LDLIBS.
| * | Remove unused LOCAL_LDLIBS.Ying Wang2014-05-071-3/+1
| |/ | | | | | | Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
* | am 7e250b00: am fbd2a506: am 9ed86eff: Merge "Use real time signal for ↵Christopher Ferris2014-05-013-5/+23
|\ \ | |/ | | | | | | | | | | threads instead of SIGURG." * commit '7e250b002b5a28a3919bc704e9bc6610b3a4096f': Use real time signal for threads instead of SIGURG.
| * Use real time signal for threads instead of SIGURG.Christopher Ferris2014-04-303-5/+23
| | | | | | | | | | | | | | This guarantees that any application is not also using this signal for some other purpose. Change-Id: I7c9bbb0ec8bb4e13322ecda951bcd43c6bf6ee1a
* | am c79e511d: am 481b551a: am 0b0e0eae: Merge "Small cleanup of duplicated ↵Christopher Ferris2014-04-291-3/+0
|\ \ | |/ | | | | | | | | | | test values." * commit 'c79e511d828cd3dfdd79af40ce5be556a4c2ff9b': Small cleanup of duplicated test values.
| * Small cleanup of duplicated test values.Christopher Ferris2014-04-281-3/+0
| | | | | | | | | | | | | | A few flags were duplicates of flags already passed when using the TEST targets. Change-Id: I8f0d09915f5b830050fe25635a0852e8536e3aca
* | am 2d3bccde: am 61af820e: am 2317287d: Merge "Remove libcorkscrew."Christopher Ferris2014-04-253-354/+0
|\ \ | |/ | | | | | | * commit '2d3bccdedc058e2f9e10d507c43e1da51d32260f': Remove libcorkscrew.
| * Remove libcorkscrew.Christopher Ferris2014-04-253-354/+0
| | | | | | | | | | | | All unwinding is now done through libunwind. Change-Id: I93ba6f5bd5ad41eeb5f6a93113b7894f842cc8e0
* | am e3615230: am 8c526578: am 4a5966b9: Merge "Change sprintf to snprintf calls."Christopher Ferris2014-04-251-2/+2
|\ \ | |/ | | | | | | * commit 'e36152308da6b1e67b05ad790081bc7e4424ae4e': Change sprintf to snprintf calls.
| * Change sprintf to snprintf calls.Christopher Ferris2014-04-241-2/+2
| | | | | | | | Change-Id: I8893246fcd541d97b02a1a4cac81c53c6cd2e394
* | am 3af88bc6: am e87dab14: am 07fa0433: Merge "Remove the arm64 special case."Christopher Ferris2014-04-221-7/+1
|\ \ | |/ | | | | | | * commit '3af88bc6377f50904ad3172b06f76d95ceda9cda': Remove the arm64 special case.
| * Remove the arm64 special case.Christopher Ferris2014-04-211-7/+1
| | | | | | | | | | | | The stack-protector option is handled by the global makefiles. Change-Id: I99c4a1624e72ad91ac10eef27c0e3758fe9af8ba
| * Avoid logging functions from signal handler.Christopher Ferris2014-04-152-8/+14
| | | | | | | | | | | | (cherry picked from commit 9007677fcbcd7cf01725e155920a8abfcb323c56) Change-Id: Ic0163f43308c6a281ab3757d90933e5127843fed
* | Avoid logging functions from signal handler.Christopher Ferris2014-04-112-8/+14
| | | | | | | | Change-Id: Ic61f7054ced223631f95efb519fa1825fb3e1010
* | am 6a8c3164: am e35cba9a: am a97798af: Merge "Create an UnwindMapLocal object."Christopher Ferris2014-04-0413-62/+379
|\ \ | |/ | | | | | | * commit '6a8c316438032c72ffdd2988cc1eb2717f477254': Create an UnwindMapLocal object.
| * Create an UnwindMapLocal object.Christopher Ferris2014-04-0313-62/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | The way libunwind handles local unwinds is different from remote unwinds, so create a new map object to handle the differences. Add new test to verify the map data is being generated correctly. Add new tests to check for leaks. Refactor the BACK_LOGW code into a single header file. Change-Id: I01f3cbfc4b927646174ea1b614fa25d23b9b3427
* | am a6631bb3: am 3bcefc66: am 62f12bd9: Merge "Enable libunwind for mips."Christopher Ferris2014-02-261-1/+1
|\ \ | |/ | | | | | | * commit 'a6631bb38fbf77415592c10734710df8afa0deab': Enable libunwind for mips.
| * Enable libunwind for mips.Christopher Ferris2014-02-261-1/+1
| | | | | | | | Change-Id: Ib1d7bea0cb7ac09a9e15c7f429ecfd944649fc87
* | am ec04a8d4: am d90b11b6: am 13274a26: Merge "Fix logging errors inside ALOGV"Colin Cross2014-02-101-1/+2
|\ \ | |/ | | | | | | * commit 'ec04a8d45bc6b01c3c2cd4a3064d194f7beeb386': Fix logging errors inside ALOGV