Age | Commit message (Collapse) | Author |
|
std::unique_ptr.
Bug: 26643633
Change-Id: Ia3491fdbff086558da694ae949cf08e4c89d0307
|
|
Bug: 27125711
Change-Id: I28a49e3e128fa4291815a54cf942452bd1f9f756
|
|
|
|
When creating an UnwindMapLocal fails in the Build() function call,
the destructor for UnwindMap is called. Unfortunately, the map_cursor_
member variable has not been initialized, so the call to destroy it
winds up operating on garbage data.
Part of this is a result of a bad class hierarchy, so this refactors
the classes slightly, and properly initializes the map_cursor_ member
variable in the base class.
Bug: 26931578
Change-Id: I885596bf65e4ef63559cee2c56cd41576d5ecc1b
|
|
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
|
|
The check_unreadble_elf_* tests only create a readable map. I changed
libunwind to disallow unwinding through non-executable maps, so make
the maps executable too.
Bug: 26589772
Change-Id: Idbe6426ac4d3243779b819c8f1aebdcdacb0669f
|
|
Bug: 25194400
Change-Id: If6e60585673226392d38fab9ad14bd7b94261316
|
|
On host build, libbacktrace relies on libcutils to provide gettid()
function.
Change-Id: Iad83384ea699ca024b71b73cef26755287c9e6fe
|
|
|
|
Change-Id: Idf9444fece4aa89c93e15640de59a91f6e758ccf
|
|
|
|
Before, an anonymous map wound up printing the pc as relative.
Unfortunately, this meant that it was impossible to tell the actual
pc. The new code prints the map name as <anonymous:map_start> and
still prints the pc as relative.
In addition, add the start of the map for map names that begin with a
'[' character.
Bug: 25844836
Change-Id: Ie0b6149dde258fe13f0e5a3e5739d85374512f4b
|
|
libbacktrace\'s cflags."
* commit '2bfe71c8aa0c1ce3cd6fc4e3d1e40adb9b0095dd':
libbacktrace: don't let llvm cflags cover libbacktrace's cflags.
|
|
libbacktrace\'s cflags."
* commit '6af4e4bea3988b892632ecaf10430d68cde91065':
libbacktrace: don't let llvm cflags cover libbacktrace's cflags.
|
|
|
|
Change-Id: Ib2783bf5d145599ffed822eec0a2d9f7df2fddf5
|
|
* commit 'c76f05f1bd7854efcb6a5a1ab3b795850bc4f0e9':
Clean up maps parsing in libbacktrace.
|
|
* commit '6e4e936b34b9718f46377e31dcc48b4ee9b62572':
Clean up maps parsing in libbacktrace.
|
|
|
|
-fno-omit-frame-pointer for host build."
* commit '033a5afc9c75db40e188264d36dcd570ef6a833e':
libbacktrace: enable -fno-omit-frame-pointer for host build.
|
|
build."
* commit '2d352922a0373c5713f3531437163c8315841595':
libbacktrace: enable -fno-omit-frame-pointer for host build.
|
|
|
|
This change makes sure -fno-omit-frame-pointer flag is not
overrided by flags set in $(LLVM_HOST_BUILD_MK).
Change-Id: I53037b0eab6bd1272cec0f5c9caa058ad1a55419
|
|
(This might want to be unified with the very similar code in bionic, but
that's a job for another day.)
Change-Id: I5dade498f781305fa9909ee01f1f4bebc537c169
|
|
BacktraceOffline for offline backtracing."""""
* commit '0ea8c2b2faabb24a92ec278c46345a396e9864e9':
Revert "Revert "Revert "Revert "Add BacktraceOffline for offline backtracing.""""
|
|
offline backtracing."""""
* commit '65744003a9139f87d302266c1f03fb98f9b496dc':
Revert "Revert "Revert "Revert "Add BacktraceOffline for offline backtracing.""""
|
|
backtracing.""""
This reverts commit 82806f875c87273bc115a764af37f77926975f6d.
Change-Id: Ie06465c89a5fc115517130f9f2904cc855973155
|
|
BacktraceOffline for offline backtracing.""""
* commit 'a9e41ba682589393ccd8d572273f9d0e4091148c':
Revert "Revert "Revert "Add BacktraceOffline for offline backtracing."""
|
|
backtracing.""""
* commit '00ea49fc98870470b33041e0b3c3f83c91ff1007':
Revert "Revert "Revert "Add BacktraceOffline for offline backtracing."""
|
|
This reverts commit fd992c3b949924c0804e359c0e3d482436c099b1.
Change-Id: Ic1824afac6c32f1087b66de9d6368a561f235d13
|
|
offline backtracing."""
* commit 'f7ae1350e40f252b246af5a5ddb100338bbf8702':
Revert "Revert "Add BacktraceOffline for offline backtracing.""
|
|
backtracing."""
* commit 'ebc49654671f62eca118f7504239f8627c317535':
Revert "Revert "Add BacktraceOffline for offline backtracing.""
|
|
This reverts commit 5c0b797cfc7e1297895e66db8d3de4a924e9f463.
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
|
|
backtracing.""
* commit '318b8d04e169c43c2ae4df8422fa8406faf7bbc9':
Revert "Add BacktraceOffline for offline backtracing."
|
|
* commit '94c617ccbba4db673a6c4cc682927e630a8feaf0':
Revert "Add BacktraceOffline for offline backtracing."
|
|
Using llvm makes libbacktrace stops building for 32 bit on linux host x86_64.
This reverts commit 08853d2a5dbfd04f23b3a537cb91e8b4242b4737.
Change-Id: Ieb807db881d7bb3132cd09e25fd08c28766ca0a8
|
|
* commit '3512c280aae75bdd48818ce396c66a92c24ceacb':
Add BacktraceOffline for offline backtracing.
|
|
* commit 'ee645af487e8611bcc80a4fad841bdd05e36e9f3':
Add BacktraceOffline for offline backtracing.
|
|
It is used by simpeleprf for stack unwinding.
Bug: 22229391
Change-Id: I26d698610ccdc9545da837bc5a8a9ec787f27a6b
|
|
* commit '3fe4510350294b02a2cab7ae579051ba9bdbbff4':
Add a logging handler on timeout.
|
|
If the signal handler doesn't fire in the given time when trying to unwind
a thread, put on a logging handler. This prevents crashes if the signal
does eventually fire.
Bug: 23783762
(cherry picked from commit d7226f9a1485ba19f714369fd7f8b444d66feb61)
Change-Id: Ib990a06733cc93717752ab4998f4ae26afd7e249
|
|
* commit '9fd627dfa30adaa9689334dc55a91063d6c09cee':
Add a logging handler on timeout.
|
|
* commit '825477ff6bb62bf02654449dc1d9192a23acb81c':
Add a logging handler on timeout.
|
|
If the signal handler doesn't fire in the given time when trying to unwind
a thread, put on a logging handler. This prevents crashes if the signal
does eventually fire.
Bug: 23783762
Change-Id: Ib7abb36b71d079a7043117697c41b535319586fd
|
|
offset for each frame."
* commit 'c858aeee92ee61552834a3ee8d114c0f1128608e':
|
|
* commit 'aa35384387c7851659eb6a2295852aa5d5b88821':
|
|
de-allocate pointers from new[]"
* commit '37126a4abb0777419231d1a0c970da4a2fec553b':
|
|
* commit 'b7eec19690ac8e5bd4f012fd5500ad3640ea6d3e':
Display the map offset for each frame.
|
|
* commit '0ee72c10eef5ea550f1fb9a5e65ec3e755bfc883':
Display the map offset for each frame.
|