mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-03 13:14:45 +01:00
Improving the support for Fuchsia in Breakpad Processor.
Now decoding the OS name and exception codes for Fuchsia. Still not decoding exception flags (can be added later, if needed). Change-Id: If66cb000828be18f0c1b35d1b1f52b3ca3e1fd67 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/1699049 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
02dd8e0da7
commit
4a6d7c70cc
5 changed files with 124 additions and 7 deletions
|
|
@ -2016,6 +2016,7 @@ string MinidumpModule::code_identifier() const {
|
|||
}
|
||||
|
||||
case MD_OS_ANDROID:
|
||||
case MD_OS_FUCHSIA:
|
||||
case MD_OS_LINUX: {
|
||||
// If ELF CodeView data is present, return the debug id.
|
||||
if (cv_record_ && cv_record_signature_ == MD_CVINFOELF_SIGNATURE) {
|
||||
|
|
@ -3502,6 +3503,10 @@ string MinidumpSystemInfo::GetOS() {
|
|||
os = "nacl";
|
||||
break;
|
||||
|
||||
case MD_OS_FUCHSIA:
|
||||
os = "fuchsia";
|
||||
break;
|
||||
|
||||
default:
|
||||
BPLOG(ERROR) << "MinidumpSystemInfo unknown OS for platform " <<
|
||||
HexString(system_info_.platform_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue