| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
See build/soong/README.md for more information.
Reapplies I61c49fb62fdeafb66db25b8f97621239b8fd6e75 after fixing
an unused parameter warning on mips builds.
Test: mma -j
Test: backtrace_test
Change-Id: I6dc353a274cafcdb05ee866b41c3c2731612941c
|
|
|
|
|
|
|
|
| |
This reverts commit 9a3603622ff95a602a1ce018ada59cb52d2539f4.
Broke the mips build with an unused parameter warning
Change-Id: If36964ea189b58a9825de8904f1cf49010548b59
|
|
|
|
|
|
|
|
| |
See build/soong/README.md for more information.
Test: mma -j
Test: backtrace_test
Change-Id: I61c49fb62fdeafb66db25b8f97621239b8fd6e75
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Read .ARM.exidx and .ARM.extab, provides these data to libunwind
through AccessMem.
2. In FindProcInfo, search .ARM.exidx for the idx entry of function
containing ip.
3. Add structures to store .ARM.exidx info in DebugFrameInfo, and
clean up the structure.
4. Add tests to test each unwind information (.eh_frame, .debug_frame,
.gnu_debugdata, .ARM.exidx) separately.
Bug: http://b/30974693
Test: run backtrace_test.
Test: run simpleperf runtest.py.
Change-Id: I9377a54379158bd35860efcf0e011423be7350d4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug: http://b/28866258
Remove dependency of backtrace_test on libLLVM. Also clean up
specification for libbacktrace_offline module. Since it is a static
library now, dependencies are only needed to automatically include
necessary headers.
Test: 32-bit and 64-bit backtrace_test passes on host and on Angler.
mma in system/extras/simpleperf, cts/tests/tests/simpleperf
m test-art-host
Change-Id: I76b0db14d067fa7b140a99edd237370ac04fe873
|
|
|
|
|
|
| |
Bug: http://b/32019064
Test: builds
Change-Id: I18a1d816d63b64601485045070851f32d44e85eb
|
|
|
|
|
|
|
| |
libziparchive-host is no longer necessary, and mixing libziparchive-host
and libziparchive can cause ODR violations.
Change-Id: I27b2cc9974000ee7bf1d1ac15fd7b069862d9b01
|
|
|
|
| |
Change-Id: I8b578f671f92246aca61f98937d75a60b56bc5c6
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
LOCAL_LDLIBS should only be used with -l flags for NDK and some host
libraries. Other uses should use LOCAL_SHARED_LIBRARIES.
LOCAL_LDFLAGS should not contain -l entries, they should be in
LOCAL_LDLIBS instead.
LOCAL_CFLAGS should not contain -I entries, those should use
LOCAL_C_INCLUDES instead.
Change-Id: Ic901aa14651572ac682166becd4f0cd86baecc34
|
|
|
|
|
|
|
|
|
| |
As device may not have libbacktrace_offline shared library, simpleperf
no longer rely on it. So there is no reason to keep libbacktrace_offline
shared library.
Bug: 28152982
Change-Id: If8e31b1434646dbbfed60264eb25f034bc5d6946
|
|
|
|
|
| |
Bug: 26962895
Change-Id: I009080f26e7323247c3ab24eea614eec4432ca6a
|
|
|
|
|
|
| |
Bug: 27125711
Change-Id: I28a49e3e128fa4291815a54cf942452bd1f9f756
|
|
|
|
|
| |
Bug: 26900419
Change-Id: Ifefd017f4b62ecfb2521bd1c38dbb3b09054f205
|
|
|
|
|
|
|
|
| |
BacktraceOffline is the only code that uses libLLVM. Create
a new shared library, backtrace_offline.so, that references this
so that including libbacktrace.so doesn't wind up pulling in libLLVM.
Change-Id: I90c502d833f6c464c3810dffde52a0c6da241cce
|
|
|
|
|
|
|
| |
On host build, libbacktrace relies on libcutils to provide gettid()
function.
Change-Id: Iad83384ea699ca024b71b73cef26755287c9e6fe
|
|
|
|
|
|
|
|
| |
backtracing.""""
This reverts commit 94ece83270deca76c69f5755f8c0ff5c859341fd.
Change-Id: Ie06465c89a5fc115517130f9f2904cc855973155
|
|
|
|
|
|
| |
This reverts commit 0a411c934a81e5c77a27ef5b69d391038f36e969.
Change-Id: Ic1824afac6c32f1087b66de9d6368a561f235d13
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit ab5e583327e4dfd9f7c38ab6ed4c4714508ce544.
And statically link llvm libraries on host to remove dependency
on 32-bit llvm shared library which is not included in the prebuilt.
Bug: 22229391
Change-Id: I8210687655ee1809fd820ab2a6ca5dfaf3f9096d
|
|
|
|
|
|
|
|
| |
Using llvm makes libbacktrace stops building for 32 bit on linux host x86_64.
This reverts commit c9c6b6ee7735f014771d81615c0278b53d14f61c.
Change-Id: Ieb807db881d7bb3132cd09e25fd08c28766ca0a8
|
|
|
|
|
|
|
| |
It is used by simpeleprf for stack unwinding.
Bug: 22229391
Change-Id: I26d698610ccdc9545da837bc5a8a9ec787f27a6b
|
|
|
|
| |
Change-Id: Ic68ac15b2676e4f475330c8e7bb34e0d48783686
|
|
|
|
|
| |
Bug: 19517541
Change-Id: Ib42360a82934ff7103e2ccb64c1105c59aa3fdea
|
|
|
|
|
|
| |
libbacktrace doesn't use libcutils, it uses liblog.
Change-Id: Ie1328b18a9f189c081891ba3b9a28487e830e579
|
|
|
|
| |
Change-Id: Iae4a73546f672c208ffe1b224e8d9a9e693f95f0
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
The object hierarchy was confusing and convoluted. This removes
a lot of unnecessary code, and consolidates the BacktraceCurrent
and BacktraceThread code into BacktraceCurrent.
Change-Id: I01c8407d493712a48169df49dd3ff46db4a7c3ae
|
|/
|
|
|
|
|
|
| |
The latest clang (r230699) does not allow SP/PC to be declared in inline asm
lists. This is a problem for libraries that are attempting to save all
register state.
Change-Id: I1ce80530f8be85fd74e949d0c65b60080e0aaf2a
|
|
|
|
|
| |
Bug: 18930951
Change-Id: Ib7fd332b6e02241c0676ef33d2fa210a72efe1b1
|
|
|
|
|
|
| |
Removed unnecessary libbacktrace_c_includes variable
Change-Id: I2ef29dc9810f7d9a7dcf5c232e9e85d2fc2fd5e8
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch to the better supported pthread_cond to handle the Wait/Wake
functions.
Also, increase the number of simultaneous threads in the thread tests.
Bug: 18381207
(cherry picked from commit db44538387b08f367fc2419653639866f4c2fbd6)
Change-Id: Id326a7a7b92cb61573def3f761597c40f3ef2f4b
|
|
|
|
|
|
|
| |
This was previously set for libbacktrace_libc++, but apparently never
was for libbacktrace.
Change-Id: I85dc44b356710c6367f5cea3bc0a4d6c817ca202
|
|
|
|
|
|
|
| |
Rename the libc++ linked libbacktrace to the normal name.
Bug: 15193147
Change-Id: I75caf1ee527e3703825e0db757497fb8fa3dd122
|
|
|
|
| |
Change-Id: I2053345253c1d57c3485b790163ba0b4b10cc326
|
|
|
|
| |
Change-Id: Ic3ae5122eba13565fb5a4cb1bd0e7e465fb2140c
|
|
|
|
|
| |
Bug: 13751317
Change-Id: Iefadec1cd9b3ca109ac436bd5eb7c096c2dcbe40
|
|
|
|
| |
Change-Id: Ic8a58a6cf55221ec361bbb80c7c9636fe1349943
|
|
|
|
| |
Change-Id: I4a1ce30e7c2166ac1846cc90de0252beee542ee6
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
|
|
|
|
|
|
|
| |
A few flags were duplicates of flags already passed when using the TEST
targets.
Change-Id: I8f0d09915f5b830050fe25635a0852e8536e3aca
|
|
|
|
|
|
| |
All unwinding is now done through libunwind.
Change-Id: I93ba6f5bd5ad41eeb5f6a93113b7894f842cc8e0
|
|
|
|
|
|
| |
The stack-protector option is handled by the global makefiles.
Change-Id: I99c4a1624e72ad91ac10eef27c0e3758fe9af8ba
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ib1d7bea0cb7ac09a9e15c7f429ecfd944649fc87
|
|
|
|
|
|
|
| |
With this change allow the creation of host backtrace libraries using
libunwind.
Change-Id: Ie48bb36cf0d2eccf94cb8ff516d829d8032f11f2
|
|
|
|
|
| |
Change-Id: I2e432839f86c33c2adbaac8cc12ca8961956044b
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
|
|
|
|
|
| |
Change-Id: I098787f57801f68d0419732d5fd475c7e916c92c
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ica021aa134388fe7069a5de5df8036ecf0d570f8
|