summaryrefslogtreecommitdiffstats
path: root/libbacktrace
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * Fix logging errors inside ALOGVColin Cross2014-02-071-1/+2
| | | | | | | | | | | | Fix errors exposed by adding checking to disabled ALOGVs. Change-Id: I36b77bb0ad8dc7661b0f834f20d1179b86134d57
* | am 10c2607c: am 77b23023: am 3faf86c0: Merge "Call a specialized local map set."Christopher Ferris2014-02-031-3/+3
|\ \ | |/ | | | | | | * commit '10c2607c3cc4903ca8dcbe2245f66d21af199865': Call a specialized local map set.
| * Call a specialized local map set.Christopher Ferris2014-02-011-3/+3
| | | | | | | | | | Bug: 12852152 Change-Id: I8a0c558bc218805b0e06371af0af055e4aa6e0bb
* | am 5127626b: am 3133a4a2: am 0fdf0dc7: Merge "Refactor makefile."Christopher Ferris2014-01-312-220/+176
|\ \ | |/ | | | | | | * commit '5127626b4a7d998a75d366bf1128be91c6047dc0': Refactor makefile.
| * Refactor makefile.Christopher Ferris2014-01-312-220/+176
| | | | | | | | | | | | | | With this change allow the creation of host backtrace libraries using libunwind. Change-Id: Ie48bb36cf0d2eccf94cb8ff516d829d8032f11f2
* | am fe0d5d42: am 5434bf66: Merge "LP64: Enable debuggerd/libbacktrace/libunwind."Elliott Hughes2014-01-314-15/+12
|\ \ | |/ | | | | | | * commit 'fe0d5d42e4ca8b77d6a0657be1b8b6343c21d689': LP64: Enable debuggerd/libbacktrace/libunwind.
| * LP64: Enable debuggerd/libbacktrace/libunwind.Pavel Chupin2014-01-304-15/+12
| | | | | | | | | | Change-Id: I2e432839f86c33c2adbaac8cc12ca8961956044b Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | am e5734557: am caefe564: Merge "x86: Enable libunwind"Elliott Hughes2014-01-311-1/+1
|\ \ | |/ | | | | | | * commit 'e5734557d962c801375eeee600e89c98d65dd976': x86: Enable libunwind
| * x86: Enable libunwindPavel Chupin2014-01-301-1/+1
| | | | | | | | | | Change-Id: I098787f57801f68d0419732d5fd475c7e916c92c Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | am cbe55724: am 7957529d: Merge "Clean up UnwindCurrent.cpp\'s use of ↵Christopher Ferris2014-01-311-21/+2
|\ \ | |/ | | | | | | | | | | ucontext.h." * commit 'cbe55724c8211c9c06362cebff0a262197dbc351': Clean up UnwindCurrent.cpp's use of ucontext.h.
| * Clean up UnwindCurrent.cpp's use of ucontext.h.Christopher Ferris2014-01-301-21/+2
| | | | | | | | Change-Id: I9eff7486b9fe89eac57b5555649b871bc6f1cc77
* | am c9869057: am 1ca10eab: Merge "Avoid redefinition of __STDC_FORMAT_MACROS."Ian Rogers2014-01-311-1/+0
|\ \ | |/ | | | | | | * commit 'c98690576ab6d7d13e5c0d3387db8149de71d9de': Avoid redefinition of __STDC_FORMAT_MACROS.
| * Avoid redefinition of __STDC_FORMAT_MACROS.Ian Rogers2014-01-291-1/+0
| | | | | | | | Change-Id: I5c65ea196bb9a197a74899ceb53543f289f6d494
* | am ab2de415: am 773c9ab7: am c96c2954: am a152ed73: Merge "Fix global ↵Christopher Ferris2014-01-291-3/+3
|\ \ | |/ | | | | | | | | | | pointing to local variable." * commit 'ab2de41574d15bac8c3ef8f49cfba493ea501a0a': Fix global pointing to local variable.
| * Fix global pointing to local variable.Christopher Ferris2014-01-281-3/+3
| | | | | | | | Change-Id: I933cbb680ca6310c13634f09a9827077c8dbd568
* | am 36a4e408: am aaf89887: am 6fe31b2f: am d391c9b4: Merge "Re-enable ↵Christopher Ferris2014-01-2915-102/+287
|\ \ | |/ | | | | | | | | | | libunwind for arm." * commit '36a4e4085e55048ee2a78c7d5b50f7395e547fa2': Re-enable libunwind for arm.
| * Re-enable libunwind for arm.Christopher Ferris2014-01-2815-102/+287
| | | | | | | | | | | | | | | | | | | | Update to handle the new optimized way that libunwind works. In addition, a small refactor of the BacktraceMap code. A few new tests of for good measure. Change-Id: I2f9b4f5ad5a0dfe907b31febee76e4b9b94fb76f
* | am 8d12b4a0: am 4fe48966: am 57c9b95b: am 39baa829: Merge "Get arm64 to ↵Christopher Ferris2014-01-272-3/+2
|\ \ | |/ | | | | | | | | | | compile." * commit '8d12b4a0901df4ab708243b4cd36c19ac2002a50': Get arm64 to compile.
| * Get arm64 to compile.Christopher Ferris2014-01-272-3/+2
| | | | | | | | Change-Id: Ica021aa134388fe7069a5de5df8036ecf0d570f8
* | am 9222d911: am c8518616: am 02f68c4b: am 4800e20e: Merge "system/core: ↵Colin Cross2014-01-241-2/+2
|\ \ | |/ | | | | | | | | | | rename aarch64 target to arm64" * commit '9222d911a89d30a9b0537e8cdb95401be3a4999e': system/core: rename aarch64 target to arm64
| * system/core: rename aarch64 target to arm64Colin Cross2014-01-231-2/+2
| | | | | | | | | | | | | | Rename aarch64 build targets to arm64. The gcc toolchain is still aarch64. Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
* | am f95d880f: am 884116c8: am 719b0198: am 1db584b8: Merge "Attempt to fix ↵Christopher Ferris2014-01-181-1/+1
|\ \ | |/ | | | | | | | | | | Mac build" * commit 'f95d880fe7e9a8860038a5c8391b89cfbeb0ce76': Attempt to fix Mac build
| * Attempt to fix Mac buildBrian Carlstrom2014-01-181-1/+1
| | | | | | | | Change-Id: I1364255bfed7788a35531962508bad804b8d5b7f
* | resolved conflicts for merge of 47fa9064 to masterChristopher Ferris2014-01-1713-338/+412
|\ \ | |/ | | | | Change-Id: I53fb8ff2dfbefe6246385e624c5c3525cc6f4253
| * Rewrite libbacktrace to be all C++.Christopher Ferris2014-01-1614-511/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | This includes removing the map_info.c source and replacing it with the BacktraceMap class to handle all map related code. Change all callers of libbacktrace map functionality. Also modify the corkscrew thread code so that it doesn't need to build the map twice (once in the corkscrew format and once in the libbacktrace format). Change-Id: I32865a39f83a3dd6f958fc03c2759ba47d12382e
* | am 7dee721e: am 42e82f80: am 4a8996fb: am 3352c503: Merge "Copy the bionic ↵Elliott Hughes2014-01-151-0/+5
|\ \ | |/ | | | | | | | | | | -fstack-protector hack into libbacktrace." * commit '7dee721eb3387fff695e5b5a3480428bccb3cf70': Copy the bionic -fstack-protector hack into libbacktrace.