Brian Carlstrom
34f9b1e9f2
am 2ea89b63: am 936a236b: Merge "Add uncached argument to BacktraceMap::Create on darwin"
...
* commit '2ea89b631d58ecd8edd7165ed8840d1e1047aa72':
Add uncached argument to BacktraceMap::Create on darwin
2014-08-05 13:11:42 +00:00
Christopher Ferris
1cbdb2f773
am f02593b0: Allow getting an uncached process map.
...
* commit 'f02593b0e61f8108449770094caa7bb39a646ec1':
Allow getting an uncached process map.
2014-08-05 02:28:01 +00:00
Brian Carlstrom
b978a329ef
Add uncached argument to BacktraceMap::Create on darwin
...
Change-Id: I247a98fc3b98879a0c34a975f9914ccec95d1a04
2014-08-05 00:15:49 -07:00
Christopher Ferris
dda47b7868
Allow getting an uncached process map.
...
(cherry picked from commit f02593b0e6
)
Change-Id: I2012bf2dc553ebc663345b9eac6d794e80df9c00
2014-08-04 19:21:23 -07:00
Christopher Ferris
f02593b0e6
Allow getting an uncached process map.
...
Change-Id: I58d7e90a7b5c4476a4b9f51640c54d13748ac220
2014-08-04 17:17:57 -07:00
Tim Murray
650f43d0d5
am 83ddddaa: am 4795ce06: Merge "Update makefiles for host clang."
...
* commit '83ddddaaba0fea8a1c0dcc64e795112bed67815f':
Update makefiles for host clang.
2014-07-25 01:03:31 +00:00
Tim Murray
06fce9db05
Update makefiles for host clang.
...
bug 16172793
Change-Id: If7484c5dbcccce7d925bec97bff0a3e4c30e9434
2014-07-24 12:18:22 -07:00
Ian Rogers
91c73f6c51
am 38dda3b8: am c309b97e: am e4022279: Merge "libbacktrace_libc++ needs to be multilib on the Mac too."
...
* commit '38dda3b8887286c44964dda0ce1c96425d9744f0':
libbacktrace_libc++ needs to be multilib on the Mac too.
2014-06-25 10:15:34 +00:00
Ian Rogers
c132aaf0c3
libbacktrace_libc++ needs to be multilib on the Mac too.
...
Change-Id: I2053345253c1d57c3485b790163ba0b4b10cc326
2014-06-24 21:57:55 -07:00
Ian Rogers
9db200f7ad
am 44367492: am 4ac17e3b: am 4dfe6faa: Merge "Enable host multilib for ART testing."
...
* commit '4436749284dc2b74e6e0f430d0f803d1b7862d19':
Enable host multilib for ART testing.
2014-06-17 18:58:34 +00:00
Ian Rogers
5af80aa119
Enable host multilib for ART testing.
...
Change-Id: Ic3ae5122eba13565fb5a4cb1bd0e7e465fb2140c
2014-06-17 01:50:25 -07:00
Ian Rogers
8396e75192
am 2b958116: am a31dab8a: am a9aa0f2c: Merge "Build the libc++ variant of libbacktrace on the host for Mac."
...
* commit '2b95811601b05db7894359f037005a008274a973':
Build the libc++ variant of libbacktrace on the host for Mac.
2014-06-11 21:48:41 +00:00
Ian Rogers
deebae596b
Build the libc++ variant of libbacktrace on the host for Mac.
...
Bug: 13751317
Change-Id: Iefadec1cd9b3ca109ac436bd5eb7c096c2dcbe40
2014-06-11 12:55:50 -07:00
Christopher Ferris
5a19885641
am 012090e5: am a0962b68: am d917d64f: Merge "Only copy mcontext data from sigcontext."
...
* commit '012090e57b697133ad6f7d989e103d71302749f8':
Only copy mcontext data from sigcontext.
2014-05-23 22:40:58 +00:00
Christopher Ferris
e484607622
Only copy mcontext data from sigcontext.
...
The ucontext_t data structure could be bigger than the kernel data
structure. Since the unwinder only cares about the mcontext data, only
copy that out of the structure. The mcontext data is the same size in
the kernel and in the ucontext_t structure.
Bug: 15189014
Change-Id: I5978169c4425b8212e11db85a57eb319cd0e264b
2014-05-23 15:11:26 -07:00
Dan Albert
425ed96a38
am 633a2e3b: am 3ab1d61b: am 3b5cd911: Merge "Remove libstdc++ dependency from host libbacktrace"
...
* commit '633a2e3b6a1d00257965a5772a5467a6df9911a5':
Remove libstdc++ dependency from host libbacktrace
2014-05-22 18:28:01 +00:00
Dan Albert
3b5cd9117d
Merge "Remove libstdc++ dependency from host libbacktrace"
2014-05-22 17:21:52 +00:00
Dan Albert
e2a3d37c8f
am 219e867f: am 7f8ebb81: am 30291f21: Merge "Add missing headers"
...
* commit '219e867f61755720af3cddb5e8d2fe0e198a27ab':
Add missing headers
2014-05-22 13:32:56 +00:00
Dan Albert
a3a8f6d2ab
Remove libstdc++ dependency from host libbacktrace
...
The libc++ version of libbacktrace on the host was still linking against
libstdc++, and this was causing problems in art.
Change-Id: I1d14fb9e18abd074affcf46c8044407041970669
2014-05-21 20:10:02 -07:00
Dan Albert
ac2fe7eb81
Add missing headers
...
These headers are needed for pid_t and free when using libc++ headers (POSIX
does not require that the symbols be exposed with the previous includes).
Change-Id: Ia51a4fdfdbae7377130a43c401c2d8d241671d1e
2014-05-21 20:08:35 -07:00
Dan Albert
fbc5ca28c9
am c6112ca4: am 5b654f15: am 201bf676: Merge "Really fixes the ub branches"
...
* commit 'c6112ca4b8d0712fdd4c0ab3258d3ceaf2f8064e':
Really fixes the ub branches
2014-05-20 00:23:03 +00:00
Dan Albert
ad51136267
Really fixes the ub branches
...
Change-Id: I1d78f4e6c1d8086c2895f6739c3202e9ef74fee2
2014-05-19 14:49:13 -07:00
Dan Albert
917152b8cc
am 3f01965b: am 121f209d: am e1efe23f: Merge "Fix unbundled branches"
...
* commit '3f01965b3d1335ffff57e15fd47e5d99400dad3f':
Fix unbundled branches
2014-05-19 19:31:17 +00:00
Dan Albert
a8b8460220
Fix unbundled branches
...
Change-Id: Ic8a58a6cf55221ec361bbb80c7c9636fe1349943
2014-05-19 11:40:27 -07:00
Dan Albert
7ce29b5826
am e9b36f1a: am 888f95e2: am f03bd953: Merge "Adds libc++ versions of libbacktrace"
...
* commit 'e9b36f1a9a280877cb130452c50af6a51360a203':
Adds libc++ versions of libbacktrace
2014-05-19 18:33:51 +00:00
Dan Albert
40a46dde9c
Adds libc++ versions of libbacktrace
...
Change-Id: I4a1ce30e7c2166ac1846cc90de0252beee542ee6
2014-05-19 10:23:16 -07:00
Christopher Ferris
d8698d739f
am 413001aa: am 3a49aa7b: am 9428a289: Merge "Only include ucontext.h when necessary."
...
* commit '413001aa6cd4addcf544348020f992ebc6d3e2d4':
Only include ucontext.h when necessary.
2014-05-10 00:27:42 +00:00
Christopher Ferris
c58287d601
Only include ucontext.h when necessary.
...
Change-Id: I29014f6c6b82e0a9797e5d76147b3c4e3d82a7f5
2014-05-09 16:59:06 -07:00
Christopher Ferris
e49e43d4aa
am 3adbe79d: am 66e31dc5: am 3a088524: Merge "Rewrite unwind thread handling."
...
* commit '3adbe79d2f14665ff55a9b0db245abebc105658d':
Rewrite unwind thread handling.
2014-05-09 16:45:35 +00:00
Christopher Ferris
3a088524cb
Merge "Rewrite unwind thread handling."
2014-05-09 16:33:12 +00:00
Christopher Ferris
a2efd3ac7a
Rewrite unwind thread handling.
...
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
2014-05-08 14:42:16 -07:00
Ying Wang
da6a0aa0df
am b18da571: am 1e6cd741: am 803fb62b: Merge "Remove unused LOCAL_LDLIBS."
...
* commit 'b18da571f90eebedd99fe5607a6b0d7ae4e91893':
Remove unused LOCAL_LDLIBS.
2014-05-08 18:23:57 +00:00
Ying Wang
9f437d7181
Remove unused LOCAL_LDLIBS.
...
Change-Id: I42aeb7668183e7a06207ee063f6eee4d37d66c6e
2014-05-07 15:36:05 -07:00
Christopher Ferris
68831f852e
am 7e250b00: am fbd2a506: am 9ed86eff: Merge "Use real time signal for threads instead of SIGURG."
...
* commit '7e250b002b5a28a3919bc704e9bc6610b3a4096f':
Use real time signal for threads instead of SIGURG.
2014-05-01 00:24:30 +00:00
Christopher Ferris
aa63d9f980
Use real time signal for threads instead of SIGURG.
...
This guarantees that any application is not also using this signal
for some other purpose.
Change-Id: I7c9bbb0ec8bb4e13322ecda951bcd43c6bf6ee1a
2014-04-30 16:32:47 -07:00
Christopher Ferris
873dc35b74
am c79e511d: am 481b551a: am 0b0e0eae: Merge "Small cleanup of duplicated test values."
...
* commit 'c79e511d828cd3dfdd79af40ce5be556a4c2ff9b':
Small cleanup of duplicated test values.
2014-04-29 16:09:06 +00:00
Christopher Ferris
11b5fcb9f1
Small cleanup of duplicated test values.
...
A few flags were duplicates of flags already passed when using the TEST
targets.
Change-Id: I8f0d09915f5b830050fe25635a0852e8536e3aca
2014-04-28 21:06:31 -07:00
Christopher Ferris
8439e3249e
am 2d3bccde: am 61af820e: am 2317287d: Merge "Remove libcorkscrew."
...
* commit '2d3bccdedc058e2f9e10d507c43e1da51d32260f':
Remove libcorkscrew.
2014-04-25 22:38:21 +00:00
Christopher Ferris
8f36be3cdb
am e3615230: am 8c526578: am 4a5966b9: Merge "Change sprintf to snprintf calls."
...
* commit 'e36152308da6b1e67b05ad790081bc7e4424ae4e':
Change sprintf to snprintf calls.
2014-04-25 22:38:10 +00:00
Christopher Ferris
688a8a7232
Remove libcorkscrew.
...
All unwinding is now done through libunwind.
Change-Id: I93ba6f5bd5ad41eeb5f6a93113b7894f842cc8e0
2014-04-25 11:25:56 -07:00
Christopher Ferris
b8c72957f0
Change sprintf to snprintf calls.
...
Change-Id: I8893246fcd541d97b02a1a4cac81c53c6cd2e394
2014-04-24 16:20:50 -07:00
Christopher Ferris
04c5192ff5
am 3af88bc6: am e87dab14: am 07fa0433: Merge "Remove the arm64 special case."
...
* commit '3af88bc6377f50904ad3172b06f76d95ceda9cda':
Remove the arm64 special case.
2014-04-22 13:37:44 +00:00
Christopher Ferris
04fd4389fb
Remove the arm64 special case.
...
The stack-protector option is handled by the global makefiles.
Change-Id: I99c4a1624e72ad91ac10eef27c0e3758fe9af8ba
2014-04-21 17:57:56 -07:00
Christopher Ferris
17224d57fb
Avoid logging functions from signal handler.
...
(cherry picked from commit 9007677fcb
)
Change-Id: Ic0163f43308c6a281ab3757d90933e5127843fed
2014-04-15 12:18:44 -07:00
Christopher Ferris
9007677fcb
Avoid logging functions from signal handler.
...
Change-Id: Ic61f7054ced223631f95efb519fa1825fb3e1010
2014-04-11 13:05:07 -07:00
Christopher Ferris
7962e4acc7
am 6a8c3164: am e35cba9a: am a97798af: Merge "Create an UnwindMapLocal object."
...
* commit '6a8c316438032c72ffdd2988cc1eb2717f477254':
Create an UnwindMapLocal object.
2014-04-04 03:19:39 +00:00
Christopher Ferris
e296091060
Create an UnwindMapLocal object.
...
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
2014-04-03 14:19:24 -07:00
Christopher Ferris
dc6d9241de
am a6631bb3: am 3bcefc66: am 62f12bd9: Merge "Enable libunwind for mips."
...
* commit 'a6631bb38fbf77415592c10734710df8afa0deab':
Enable libunwind for mips.
2014-02-26 22:39:08 +00:00
Christopher Ferris
c29a1345a0
Enable libunwind for mips.
...
Change-Id: Ib1d7bea0cb7ac09a9e15c7f429ecfd944649fc87
2014-02-26 13:41:32 -08:00
Colin Cross
c89210e3a8
am ec04a8d4: am d90b11b6: am 13274a26: Merge "Fix logging errors inside ALOGV"
...
* commit 'ec04a8d45bc6b01c3c2cd4a3064d194f7beeb386':
Fix logging errors inside ALOGV
2014-02-10 12:51:26 +00:00