• Home
  • History
  • Annotate
  • only in /external/google-breakpad/src/client/linux/dump_writer_common/
History log of /external/google-breakpad/src/client/linux/dump_writer_common/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
dbb392886ffce4fd927b826080b4faff49965f10 24-Aug-2015 Gordana Cmiljanovic <Gordana.Cmiljanovic@imgtec.com> MIPS64: Initial MIPS64 related change.

CHERRY-PICKED FROM:
https://code.google.com/p/google-breakpad/source/detail?r=1446

With this change Breakpad can be compiled for MIPS64,
but it is not yet functional.

Review URL: https://breakpad.appspot.com/6824002

Change-Id: I95c58b6b2ffc9ba98d3fe29f1a9f6b12fff02479
hread_info.cc
context_reader.cc
20335445a30a0fe9941eb946c82fc7a945d85a24 24-Mar-2015 ted.mielczarek@gmail.com <ted.mielczarek@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix compilation with gcc --std=c++11
Patch by Jon Turney <jon.turney.1111@gmail.com>
R=ted at https://breakpad.appspot.com/7824002/



git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1435 4c0a9323-5329-0410-9bdc-e9ce6186880e
eccomp_unwinder.cc
hread_info.h
2689830e5de88f493202efda1dcf48e6f0a0d026 16-Mar-2015 primiano@chromium.org <primiano@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix compatibility with Android NDK r10d.

This is a reland of the previous CL (r1433). r1433 did not achieve what
intended and failed the x86_64 build of Chrome with NDK r10c.
The workaround logic in this CL is identical to r1433, but the #define
magic is applied in a more appropriate proper place this time. Turns
out Breakpad already has an Android compatibility layer, which is
common/android/include. Piggybacking the fix there.

BUG=breakpad:642
R=fdegans@chromium.org, rmcilroy@chromium.org

Review URL: https://breakpad.appspot.com/3794002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1434 4c0a9323-5329-0410-9bdc-e9ce6186880e
hread_info.h
4eb247bbf2fde47d6ecdde8214a35c1a9bb06c49 10-Mar-2015 primiano@chromium.org <primiano@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Make breakpad compatible with Android NDK r10d.

r1397 did introduce a workaround to deal with a typo in sys/user.h
in the Android NDK. The typo has been fixed in [1]. However, breakpad
cannot just switch to the fixed version as this would require atomic
rolls of Breakpad and NDK in chromium, which would make reverts hard
to handle.
This change introduces an inelegant yet functional hack which makes
breakpad compatible with both versions of the NDK, with and without
the typo. It can be reverted once Chrome has stably rolled to NDK
r10d.

[1] https://android.googlesource.com/platform/bionic/+/f485547b

BUG=breakpad:642
R=fdegans@chromium.org, rmcilroy@chromium.org

Review URL: https://breakpad.appspot.com/7814002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1433 4c0a9323-5329-0410-9bdc-e9ce6186880e
hread_info.cc
hread_info.h
e70c76512e55d5591cfff7cd695067d568a0f73b 06-Feb-2015 mark@chromium.org <mark@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix overflow error in breakpad for linux

A computation in the stack unwind algorithm could cause an overflow if a base
pointer read from crashed process is sufficiently close to top of address space.
This causes a memory read that causes the dump thread to crash, resulting in a
failure to generate crash dump. Check fixed to properly detect that this pointer
is greater than actual memory range of current stack.

Patch by Kyle Joswiak <kjoswiak@chromium.org>

Review URL: https://breakpad.appspot.com/3754003/


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1425 4c0a9323-5329-0410-9bdc-e9ce6186880e
eccomp_unwinder.cc
03d36567efefa6d833cb4b15f2ea6f97b040ea85 28-Oct-2014 primiano@chromium.org <primiano@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Introduce microdump writer class.

Microdumps are a very lightweight variant of minidumps. They are meant
to dump a minimal crash report on the system log (logcat on Android),
containing only the state of the crashing thread.
This is to deal with cases where the user has opted out from crash
uploading but we still want to generate meaningful information on the
device to pull a stacktrace for development purposes.
Conversely to conventional stack traces (e.g. the one generated by
Android's debuggerd or Chromium's base::stacktrace) microdumps do NOT
require unwind tables to be present in the target binary. This allows
to save precious binary size (~1.5 MB for Chrome on Arm, ~10 MB on
arm64).
More information and design doc on crbug.com/410294

BUG=chromium:410294

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1398 4c0a9323-5329-0410-9bdc-e9ce6186880e
apping_info.h
d137bc12eed58d99005823d223af8b43673b737a 24-Oct-2014 primiano@chromium.org <primiano@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Fix breakpad on mips and x86_64 for the NDK r10c update.

This change introduces the necessary glue typedefs to deal with the
mismatch introduced by the latest Android NDK (w.r.t. desktop Linux):
- [x86_64] Rename fpregs mxcr_mask -> .mxcsr_mask
- [mips] uc_mcontext.fpregs.fp_r.fp_dregs -> uc_mcontext.fpreg
- [mips] restore the forked user.h

Submitting this on behalf of fdegans@chromium.org

TBR=mark@chromium.org

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1397 4c0a9323-5329-0410-9bdc-e9ce6186880e
hread_info.cc
context_reader.cc
30f1b7fb16cdc906078f031bf12c1ffb2cb5ea3e 01-Oct-2014 primiano@chromium.org <primiano@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> Microdumps: refactor out common parts of minidump_writer.cc

This change is a pure refactoring of the common bits of minidump_writer.cc
that will be shared soon with the upcoming microdump_writer.cc.
In particular, this CL is extracting the following classes:
- ThreadInfo: handles the state of the threads in the crashing process.
- RawContextCPU: typedef for arch-specific CPU context structure.
- UContextReader: Fills out a dump RawContextCPU structure from the
ucontext struct provided by the kernel (arch-dependent).
- SeccompUnwinder: cleans out the stack frames of the Seccomp sandbox
on the supported architectures.
- MappingInfo: handles information about mappings

BUG=chromium:410294
R=mmandlis@chromium.org

Review URL: https://breakpad.appspot.com/4684002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1388 4c0a9323-5329-0410-9bdc-e9ce6186880e
apping_info.h
aw_context_cpu.h
eccomp_unwinder.cc
eccomp_unwinder.h
hread_info.cc
hread_info.h
context_reader.cc
context_reader.h