summaryrefslogtreecommitdiffstats
path: root/libbacktrace
Commit message (Collapse)AuthorAgeFilesLines
...
| * Copy the bionic -fstack-protector hack into libbacktrace.Elliott Hughes2014-01-141-0/+5
| | | | | | | | | | | | aarch64 doesn't support -fstack-protector yet. Change-Id: Id1e589742ba074f59d3390d059248c9b371aff58
* | am 117e93a7: am 2c3b9a44: am d9cb2964: am 91e2019f: Merge "Create a bare ↵Christopher Ferris2014-01-143-16/+34
|\ \ | |/ | | | | | | | | | | bones host libbacktrace on mac." * commit '117e93a7208d028ccbc444aad8bd5ad250459c67': Create a bare bones host libbacktrace on mac.
| * Create a bare bones host libbacktrace on mac.Christopher Ferris2014-01-133-16/+34
| | | | | | | | | | | | | | This allows the libbacktrace library to compile for host on mac. Bug: 12474939 Change-Id: I32cbcf996e6fe9057e5065ba21f89086343704a0
* | resolved conflicts for merge of 8791ee5c to masterChristopher Ferris2014-01-135-183/+158
|\ \ | |/ | | | | Change-Id: I107bb055941809331c451c1d903f231f07a86ece
| * Next phase of the move, reformat use C++ features.Christopher Ferris2014-01-135-183/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the libbacktrace C++ interface instead of the C interface in debuggerd. Reformat the debuggerd code to be closer to Google C++ style. Fix all debuggerd casts to be C++ casts. Add a frame number to the frame data structure for ease of formatting and add another FormatFrameData function. Change the format_test to use the new FormatFrameData function. Modify all of the backtrace_test to use the C++ interface. Change-Id: I10e1610861acf7f4a3ad53276b74971cfbfda464
| * Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD.Christopher Ferris2014-01-092-14/+21
| | | | | | | | | | | | | | | | | | | | | | Use a bit better name for this. The other name was a bit confusing. Change-Id: I1261f2ee3854a9c8b82133ad0bfbbbe48b43c9ac (cherry picked from commit 242b1a8c7a5ec73172bac811e51acbc27201f22c) Conflicts: libbacktrace/Backtrace.cpp
* | resolved conflicts for merge of 72f204de to masterChristopher Ferris2014-01-087-38/+52
|\ \ | |/ | | | | Change-Id: I7345014d00c669aea5e27ea50b2ac658145b068b
| * Refactor to share map_info amongst threads.Christopher Ferris2014-01-087-38/+52
| | | | | | | | | | | | | | Allow the use of the same map info to be shared when getting information on multiple threads from the same pid. Change-Id: I2e460e20154a10f4894ae563331fb32179e4551f
* | am 0298da56: am 492b0ca4: am 1e424d8e: am 0afaf7f4: Merge "Fix the ucontext ↵Christopher Ferris2014-01-071-15/+4
|\ \ | |/ | | | | | | | | | | for mips/x86." * commit '0298da56f410ba0f6a1f1f44deb8e2224f9fc49d': Fix the ucontext for mips/x86.
| * Fix the ucontext for mips/x86.Christopher Ferris2014-01-071-15/+4
| | | | | | | | | | | | | | | | | | | | | | Remove the mips ucontext definition, there is no need for it any more. Fix the mips/x86 ucontext copy code to copy the entire uc_mcontext data across. Fix a potential memory leak too. Change-Id: I4272022da5281ed881e2d59a3e19e7f33c01aceb
* | am 3e30f6af: am 090928b1: am a345b253: am dfc48139: Merge "Switch ARM back ↵Elliott Hughes2014-01-021-2/+5
|\ \ | |/ | | | | | | | | | | to libcorkscrew temporarily." * commit '3e30f6afa042f3bba4822dc5d1ef267ed4b9d722': Switch ARM back to libcorkscrew temporarily.
| * 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
* | Move BACKTRACE_NO_TID to BACKTRACE_CURRENT_THREAD.Christopher Ferris2013-11-122-14/+21
| | | | | | | | | | | | Use a bit better name for this. The other name was a bit confusing. Change-Id: I1261f2ee3854a9c8b82133ad0bfbbbe48b43c9ac
* | am 90e67bcd: am d36bfc30: am e6279294: Merge "Revert "Revert enabling ↵Christopher Ferris2013-11-071-1/+1
|\ \ | |/ | | | | | | | | | | libunwind."" * commit '90e67bcdc383d552dc5325039c86b5bef5429b05': Revert "Revert enabling libunwind."
| * Revert "Revert enabling libunwind."Christopher Ferris2013-11-081-1/+1
| | | | | | | | | | | | This reverts commit db2309e3d104e47088135a7f1bb89ac853657838. Change-Id: I1626442f029473066ce20921667a406f1a1ea865
* | am 8ddd08b1: am 4ae94541: am 62ea993a: Merge "Revert enabling libunwind."Elliott Hughes2013-11-071-1/+1
|\ \ | |/ | | | | | | * commit '8ddd08b1f24d361ace9cd78198664db4bf7e1325': Revert enabling libunwind.
| * Revert enabling libunwind.Christopher Ferris2013-11-071-1/+1
| | | | | | | | | | | | It appears that some branches might not have libunwind set up properly. Change-Id: Ia72889e115bc2791c7a9e67563c5f4a62197cafd
* | am c3920dee: am 11d04d04: am 351b0123: Merge "Enable libunwind on arm ↵Christopher Ferris2013-11-071-1/+1
|\ \ | |/ | | | | | | | | | | platforms." * commit 'c3920dee104856025f9416670efd7f05d1acd3a0': Enable libunwind on arm platforms.
| * Enable libunwind on arm platforms.Christopher Ferris2013-11-061-1/+1
| | | | | | | | | | Bug: 8410085 Change-Id: I8a645ec0e04b38fc186bbc0f0cc597e31b05cc55
* | am dee1842d: am adbb3352: am a2d1469c: Merge "Use new defines in test code."Christopher Ferris2013-11-052-17/+15
|\ \ | |/ | | | | | | * commit 'dee1842d2f6861dd4cb2d622992ec2c75f19ab3e': Use new defines in test code.
| * 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
* | am 2e47c8ac: am 1e1bae1b: am c2945850: Merge "Add some clarifying defines."Christopher Ferris2013-11-051-3/+3
|\ \ | |/ | | | | | | * commit '2e47c8ac74e070d62cfb46355c7c04797657c594': Add some clarifying defines.
| * 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
* | am 4ddea7f4: am d5a7c371: am 408b3acf: Merge "Add corkscrew support for ↵Christopher Ferris2013-11-051-7/+25
|\ \ | |/ | | | | | | | | | | finding static symbols." * commit '4ddea7f44c6362e7c34939302729e4508aa665c5': Add corkscrew support for finding static symbols.
| * Add corkscrew support for finding static symbols.Christopher Ferris2013-11-041-7/+25
| | | | | | | | Change-Id: Ie557a9b0efadece75e1accaa7e214fb559eb19e1
* | am 6b7b6541: am b5c24e09: am 8c58086c: Merge "More libbacktrace fixes."Christopher Ferris2013-10-307-110/+105
|\ \ | |/ | | | | | | * commit '6b7b65417aead0189681c12d9162f31e8bc9b3e5': More libbacktrace fixes.
| * 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
* | resolved conflicts for merge of 0433d622 to masterChristopher Ferris2013-10-2923-993/+2235
|\ \ | |/ | | | | Change-Id: I6799c3fe8900ddcb2e9fe3032793dbb0996cf177
| * 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
* | am 7bdb7b42: am 81890fd8: am 5daba1e0: Merge "Only build host library on ↵Christopher Ferris2013-10-021-32/+32
|\ \ | |/ | | | | | | | | | | linux-x86." * commit '7bdb7b42224c6139c400eb47a5e9b660184aad54': Only build host library on linux-x86.
| * Only build host library on linux-x86.Christopher Ferris2013-10-021-32/+32
| | | | | | | | Change-Id: I26d5bd4b34c3669897fea1488fa58972f4299757
* | Move cutils/log.h to log/log.h.Christopher Ferris2013-10-016-6/+6
|/ | | | | | | The log.h file moved, so clean up these references to the old location. Change-Id: I25494ea069bfb20fa07a02e67868c8be82e60161
* 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