summaryrefslogtreecommitdiffstats
path: root/libbacktrace/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Rewrite unwind thread handling."Christopher Ferris2014-05-091-0/+3
|\
| * Rewrite unwind thread handling.Christopher Ferris2014-05-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Remove unused LOCAL_LDLIBS.Ying Wang2014-05-071-3/+1
|/ | | | Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
* 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
* Remove libcorkscrew.Christopher Ferris2014-04-251-22/+0
| | | | | | All unwinding is now done through libunwind. Change-Id: I93ba6f5bd5ad41eeb5f6a93113b7894f842cc8e0
* Remove the arm64 special case.Christopher Ferris2014-04-211-7/+1
| | | | | | The stack-protector option is handled by the global makefiles. Change-Id: I99c4a1624e72ad91ac10eef27c0e3758fe9af8ba
* Create an UnwindMapLocal object.Christopher Ferris2014-04-031-0/+2
| | | | | | | | | | | | | 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
* Enable libunwind for mips.Christopher Ferris2014-02-261-1/+1
| | | | Change-Id: Ib1d7bea0cb7ac09a9e15c7f429ecfd944649fc87
* Refactor makefile.Christopher Ferris2014-01-311-220/+103
| | | | | | | With this change allow the creation of host backtrace libraries using libunwind. Change-Id: Ie48bb36cf0d2eccf94cb8ff516d829d8032f11f2
* LP64: Enable debuggerd/libbacktrace/libunwind.Pavel Chupin2014-01-301-1/+1
| | | | | Change-Id: I2e432839f86c33c2adbaac8cc12ca8961956044b Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* x86: Enable libunwindPavel Chupin2014-01-301-1/+1
| | | | | Change-Id: I098787f57801f68d0419732d5fd475c7e916c92c Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* Re-enable libunwind for arm.Christopher Ferris2014-01-281-2/+3
| | | | | | | | | | 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
* Get arm64 to compile.Christopher Ferris2014-01-271-2/+1
| | | | Change-Id: Ica021aa134388fe7069a5de5df8036ecf0d570f8
* 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
* Rewrite libbacktrace to be all C++.Christopher Ferris2014-01-161-2/+2
| | | | | | | | | | | | | 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
* Copy the bionic -fstack-protector hack into libbacktrace.Elliott Hughes2014-01-141-0/+5
| | | | | | aarch64 doesn't support -fstack-protector yet. Change-Id: Id1e589742ba074f59d3390d059248c9b371aff58
* Create a bare bones host libbacktrace on mac.Christopher Ferris2014-01-131-14/+33
| | | | | | | This allows the libbacktrace library to compile for host on mac. Bug: 12474939 Change-Id: I32cbcf996e6fe9057e5065ba21f89086343704a0
* Switch ARM back to libcorkscrew temporarily.Elliott Hughes2014-01-021-2/+5
| | | | | | | | We're seeing major stack trace generation performance regression and want to find out whether it's libunwind. Bug: 12181612 Change-Id: I3866ea956859f5cbdfe4f1ee6f20a2b6d39962c4
* Revert "Revert enabling libunwind."Christopher Ferris2013-11-081-1/+1
| | | | | | This reverts commit db2309e3d104e47088135a7f1bb89ac853657838. Change-Id: I1626442f029473066ce20921667a406f1a1ea865
* Revert enabling libunwind.Christopher Ferris2013-11-071-1/+1
| | | | | | It appears that some branches might not have libunwind set up properly. Change-Id: Ia72889e115bc2791c7a9e67563c5f4a62197cafd
* Enable libunwind on arm platforms.Christopher Ferris2013-11-061-1/+1
| | | | | Bug: 8410085 Change-Id: I8a645ec0e04b38fc186bbc0f0cc597e31b05cc55
* Use new defines in test code.Christopher Ferris2013-11-051-4/+2
| | | | | | | In addition, fix up the warnings and remove the -fpermissive when compiling. Change-Id: Ia27b902499b34ff3d881acb9057120af390baf2c
* Rewrite libbacktrace using C++.Christopher Ferris2013-10-281-45/+134
| | | | | | | | | | | | | | The old code was essentially trying to be C++ in C and was awkward. This change makes it all objects with a thin layer that C code can use. There is a C++ backtrace object that is not very useful, this code will replace it. This change also includes moving the backtrace test to a gtest, and adding coverage of all major functionality. Bug: 8410085 Change-Id: Iae0f1b09b3dd60395f71ed66010c1ea5cdd37841
* Only build host library on linux-x86.Christopher Ferris2013-10-021-32/+32
| | | | Change-Id: I26d5bd4b34c3669897fea1488fa58972f4299757
* Create a single backtrace library.Christopher Ferris2013-09-281-0/+176
This library will be used to abstract away getting backtrace data from how it is implemented. This is the first step to replacing libcorkscrew with libunwind. Bug: 8410085 Change-Id: Ie8f159e96a055d378e1ddc72d40239fba4cf52b7