summaryrefslogtreecommitdiffstats
path: root/libbacktrace
Commit message (Collapse)AuthorAgeFilesLines
* 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-052-17/+15
| | | | | | | In addition, fix up the warnings and remove the -fpermissive when compiling. Change-Id: Ia27b902499b34ff3d881acb9057120af390baf2c
* Add some clarifying defines.Christopher Ferris2013-11-051-3/+3
| | | | | | | In order to be explicit in the Backtrace::Create() calls, adding a couple of defines and some comments to describe what they mean. Change-Id: I6ad08c529791821496a95fa33cea1c95b0a7eada
* Add corkscrew support for finding static symbols.Christopher Ferris2013-11-041-7/+25
| | | | Change-Id: Ie557a9b0efadece75e1accaa7e214fb559eb19e1
* More libbacktrace fixes.Christopher Ferris2013-10-307-110/+105
| | | | | | | | | | | | Included in minor fix ups is the addition of a warning macro to replace all of the ALOGW calls. Fix a race where multiple threads could be attempting to unwind the threads of the current process at the same time. Bug: 8410085 Change-Id: I02a65dc778dde690e5f95fc8ff069a32d0832fd1
* Rewrite libbacktrace using C++.Christopher Ferris2013-10-2823-993/+2235
| | | | | | | | | | | | | | 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
* Fix problems in libbacktrace.Christopher Ferris2013-10-013-6/+42
| | | | | | | | | - Add a wait for stop to backtrace_test. There is a possible race condition that is exposed when using libunwind. - Fix a few calls to unwind function calls. Bug: 8410085 Change-Id: I7487d687f6d4b7b05b8a96ad1c5f7183681e5c95
* Create a single backtrace library.Christopher Ferris2013-09-2814-0/+1366
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