forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Crashpad to c27a1aaea0861852c6d92945b68856586e0cd51d
14dbd3531d98 gn win: Get main test binaries building 6cf4f928eb08 gn win: Add auxiliary test binaries used by end_to_end_test.py 36679d572ba0 win: Don't assume offsets the same when kDoesNotObserveDaylightSavingTime 9ab4fbf1e1a7 win: Improve child crash location test 798f6540435f gn win: Use new toolchain names to support both x86 and x64 83a83c5b0050 Roll mini_chromium to e7e8237 a483e2c599b8 Fix names of Windows trybots after server-side rename 38b20ca57efc Relocate CaptureContext to misc and implement on Linux a8ad3bdbdfb1 linux: fix incorrect fallthrough 73e862e15a6c fuchsia: Exclude capture_context_test.cc from test build b83f4c731d8f Let UUID::InitializeFromString accept StringPiece16 too f878f155172b fuchsia: Add flock() stub to get test binaries linking again e5bbdaff87a9 Pass FilePath to Settings in Initialize() c45ba7920e01 Make NewReport objects own their associated database resources 7d5487fc44b3 minidump: add switch cases to handle linux/android and ARM c406797ce620 Add UploadReport to manage database resources during upload 7faa2ef89872 Get CrashpadInfo address via a .note, rather than dynamic symtab 8d0d999d9245 Add a cross-platform database implementation b43858c9903f fuchsia: Start of ModuleSnapshot and ProcessReader implementations 6667fa25595a fuchsia: Fixes to TestPaths 90cde8e30f7d Disable upload on Android 4094c2628d33 Address review comments for 8d0d999 a4d7fb4cc390 Use .long for pointers on 32-bit platforms 5e5b927b38ca Build crashpad_client_linux.cc on Android eec1e17ab558 Fix two bugs in memset()ing CrashpadInfo on size mismatch 4717300fa4ce Reset CrashpadInfo after CrashpadInfoReader tests f9d160ffc6bb Revert "Reset CrashpadInfo after CrashpadInfoReader tests" 6798ba912e96 Reset CrashpadInfo after CrashpadInfoReader tests 0429216f59b1 linux: Add CrashReportExceptionHandler f38af628c9dc fuchsia: Don't fail rename if source == dest 040360239343 Fix CrashpadInfoSizes_ClientOptions/CrashpadInfoSizes_ClientOpt ions 10222b12362c fuchsia: Disable TimeZone.Basic test as timezones are non- functional 5cb869392eed fuchsia: Compile out LoggingLock/UnlockFile, add DCHECKs to Settings 4b7895615808 Add .hidden to CRASHPAD_NOTE_REFERENCE 8ee14eef08f3 fuchsia: Fix some packaging when run isn't from Crashpad source root 4a9d422652a1 Turn fuchsia trybots on by default ec33c25797f9 fuchsia: Don't include sys/resource.h, recently removed from SDK 8b738cd24d59 Don't include crash_report_database_generic.cc on Win/Mac d2a866978b89 Makes 'all' build on Linux d8d03172c278 arm: Capture context around pc and registers ebad8bd925c3 Don't spawn an upload thread if url is empty 0520fdff1edc linux: Move ScopedPrSetPtracer to util/ 38540eaf71cb Add handler options for Linux/Android 01105719d767 linux: add CRASHPAD_SIMULATE_CRASH() 3dd85dc12638 fuchsia: Make ImageAnnotationReader[Test] work cab259330f2e fuchsia: Pass more data out of module snapshot 1aae5cedaf1e Refactor ModuleSnapshot(Linux|Fuchsia) into ModuleSnapshotElf 4d96e4e504ef fuchsia: Return ModuleSnapshot* out of ProcessSnapshotFuchsia 2290a826af1e Pull (most) platform-specific MemorySnapshots out 3030ae54171a fuchsia: Fix ninja auto-regen after run 61f1013ee4ef fuchsia: Add some thread reading to ProcessReader and a test c69ba3d52783 non-win: Add Multiprocess::SetExpectedChildTerminationBuiltinTrap() f130822b9f4b linux: Add CrashpadClient tests 2b05eb522fa4 Rename ProcessReader to platform-suffixed versions fa2a03fbdd0f linux: Add CrashpadClient::SetFirstChanceExceptionHandler() cd3afe616e63 Linux: Pull and use clang toolchain in third_party 8e80a575d15f Linux: Pull a sysroot if pulling a local clang fae18c2fc492 fuchsia: Add implementation of ThreadSnapshot a869ae18d256 Workaround for death test failure when in threadsafe mode on Mac 8a12f5893050 fuchsia: Take bots off CQ pending flake investigation 9affa2a0e72d Optionally stub out the libcurl-based implementation of HTTPTransport dec23bef5769 win gn: reintroduce flags to disable warnings 746ce1a63703 Roll mini_chromium to 987bde8 493e29bc3df0 win: Use correct format specifier a45e88602b90 Skip ELF notes with a p_vaddr of zero 71d90608828d Add Linux trybots to CQ 449506d59c6a Roll mini_chromium to ef0df11 82777cff5848 win: fix warnings when building with clang 23b2156fb694 Don’t read beyond a StringPiece’s bounds in StringToNumber() 4375233ad2da win: fix 64-bit build 8175825f45fd win: use version.lib instead of mincore.lib 07da37aec70e win: fix crashy test program c27a1aaea086 win: Fix -Wmicrosoft-cast warning Also, Add new metrics enums values. Use the new CrashReportDatabase interface. Bug: crashpad:30 Change-Id: I36a6469046983c6ffdb1512436a915ee1a7bb49d Reviewed-on: https://chromium-review.googlesource.com/959764 Commit-Queue: Joshua Peraza <jperaza@chromium.org> Reviewed-by: Sigurður Ásgeirsson <siggi@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Cr-Commit-Position: refs/heads/master@{#542807}
- Loading branch information
Joshua Peraza
authored and
Commit Bot
committed
Mar 13, 2018
1 parent
f8fb405
commit 33d5aa2
Showing
178 changed files
with
5,491 additions
and
1,976 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
74 changes: 74 additions & 0 deletions
74
third_party/crashpad/crashpad/build/install_linux_sysroot.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
#!/usr/bin/env python | ||
|
||
# Copyright 2018 The Crashpad Authors. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# Various code adapted from: | ||
# https://cs.chromium.org/chromium/src/build/linux/sysroot_scripts/install-sysroot.py | ||
|
||
import os | ||
import shutil | ||
import subprocess | ||
import sys | ||
import urllib2 | ||
|
||
|
||
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) | ||
|
||
# Sysroot revision from: | ||
# https://cs.chromium.org/chromium/src/build/linux/sysroot_scripts/sysroots.json | ||
SERVER = 'https://commondatastorage.googleapis.com' | ||
PATH = 'chrome-linux-sysroot/toolchain' | ||
REVISION = '3c248ba4290a5ad07085b7af07e6785bf1ae5b66' | ||
FILENAME = 'debian_stretch_amd64_sysroot.tar.xz' | ||
|
||
def main(): | ||
url = '%s/%s/%s/%s' % (SERVER, PATH, REVISION, FILENAME) | ||
|
||
sysroot = os.path.join(SCRIPT_DIR, os.pardir, | ||
'third_party', 'linux', 'sysroot') | ||
|
||
stamp = os.path.join(sysroot, '.stamp') | ||
if os.path.exists(stamp): | ||
with open(stamp) as s: | ||
if s.read() == url: | ||
return | ||
|
||
print 'Installing Debian root image from %s' % url | ||
|
||
if os.path.isdir(sysroot): | ||
shutil.rmtree(sysroot) | ||
os.mkdir(sysroot) | ||
tarball = os.path.join(sysroot, FILENAME) | ||
print 'Downloading %s' % url | ||
|
||
for _ in range(3): | ||
response = urllib2.urlopen(url) | ||
with open(tarball, 'wb') as f: | ||
f.write(response.read()) | ||
break | ||
else: | ||
raise Exception('Failed to download %s' % url) | ||
|
||
subprocess.check_call(['tar', 'xf', tarball, '-C', sysroot]) | ||
|
||
os.remove(tarball) | ||
|
||
with open(stamp, 'w') as s: | ||
s.write(url) | ||
|
||
|
||
if __name__ == '__main__': | ||
main() | ||
sys.exit(0) |
Oops, something went wrong.