mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 06:31:50 +08:00
[fxbug.dev] Migrate bug numbers
This changes fxbug.dev/ URLs from Monorail bug numbers to the new Fuchsia Issue Tracker numbers. The migration to the new issue tracker was announced here: https://groups.google.com/a/fuchsia.dev/g/announce/c/GOYfJozEqmk/m/qsGsaJ7UAAAJ Bug: 298074672 Change-Id: I5f4b7a26a3f41bf539fa79d15e1a108ea35a5b29 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5246697 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
a02e4935bd
commit
27b460cc7e
3
BUILD.gn
3
BUILD.gn
@ -39,7 +39,8 @@ if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
|
|||||||
if (crashpad_is_in_fuchsia) {
|
if (crashpad_is_in_fuchsia) {
|
||||||
# TODO(fuchsia:46559): Fix the leaks and remove this.
|
# TODO(fuchsia:46559): Fix the leaks and remove this.
|
||||||
deps += [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ]
|
deps += [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ]
|
||||||
# TODO(fxbug.dev/108368): Remove this once the underlying issue is addressed.
|
# TODO(fxbug.dev/42059784): Remove this once the underlying issue is
|
||||||
|
# addressed.
|
||||||
exclude_toolchain_tags = [ "hwasan" ]
|
exclude_toolchain_tags = [ "hwasan" ]
|
||||||
}
|
}
|
||||||
if (crashpad_is_android) {
|
if (crashpad_is_android) {
|
||||||
|
@ -106,7 +106,7 @@ template("crashpad_executable") {
|
|||||||
if (crashpad_is_in_fuchsia) {
|
if (crashpad_is_in_fuchsia) {
|
||||||
conversion_config = [ "//build/config:Wno-conversion" ]
|
conversion_config = [ "//build/config:Wno-conversion" ]
|
||||||
if (configs + conversion_config - conversion_config == configs) {
|
if (configs + conversion_config - conversion_config == configs) {
|
||||||
# TODO(https://fxbug.dev/58162): Decide if these are worth enabling.
|
# TODO(https://fxbug.dev/42136089): Decide if these are worth enabling.
|
||||||
configs += conversion_config
|
configs += conversion_config
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -132,7 +132,7 @@ template("crashpad_loadable_module") {
|
|||||||
if (crashpad_is_in_fuchsia) {
|
if (crashpad_is_in_fuchsia) {
|
||||||
conversion_config = [ "//build/config:Wno-conversion" ]
|
conversion_config = [ "//build/config:Wno-conversion" ]
|
||||||
if (configs + conversion_config - conversion_config == configs) {
|
if (configs + conversion_config - conversion_config == configs) {
|
||||||
# TODO(https://fxbug.dev/58162): Decide if these are worth enabling.
|
# TODO(https://fxbug.dev/42136089): Decide if these are worth enabling.
|
||||||
configs += conversion_config
|
configs += conversion_config
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -158,7 +158,7 @@ template("crashpad_static_library") {
|
|||||||
if (crashpad_is_in_fuchsia) {
|
if (crashpad_is_in_fuchsia) {
|
||||||
conversion_config = [ "//build/config:Wno-conversion" ]
|
conversion_config = [ "//build/config:Wno-conversion" ]
|
||||||
if (configs + conversion_config - conversion_config == configs) {
|
if (configs + conversion_config - conversion_config == configs) {
|
||||||
# TODO(https://fxbug.dev/58162): Decide if these are worth enabling.
|
# TODO(https://fxbug.dev/42136089): Decide if these are worth enabling.
|
||||||
configs += conversion_config
|
configs += conversion_config
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -507,7 +507,8 @@ crashpad_loadable_module("crashpad_snapshot_test_module") {
|
|||||||
"../client",
|
"../client",
|
||||||
]
|
]
|
||||||
if (crashpad_is_in_fuchsia) {
|
if (crashpad_is_in_fuchsia) {
|
||||||
# TODO(fxbug.dev/108368): Remove this once the underlying issue is addressed.
|
# TODO(fxbug.dev/42059784): Remove this once the underlying issue is
|
||||||
|
# addressed.
|
||||||
exclude_toolchain_tags = [ "hwasan" ]
|
exclude_toolchain_tags = [ "hwasan" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -526,7 +527,8 @@ crashpad_loadable_module("crashpad_snapshot_test_module_large") {
|
|||||||
deps += [ "$mini_chromium_source_parent:base" ]
|
deps += [ "$mini_chromium_source_parent:base" ]
|
||||||
|
|
||||||
if (crashpad_is_in_fuchsia) {
|
if (crashpad_is_in_fuchsia) {
|
||||||
# TODO(fxbug.dev/108368): Remove this once the underlying issue is addressed.
|
# TODO(fxbug.dev/42059784): Remove this once the underlying issue is
|
||||||
|
# addressed.
|
||||||
exclude_toolchain_tags = [ "hwasan" ]
|
exclude_toolchain_tags = [ "hwasan" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -545,7 +547,8 @@ crashpad_loadable_module("crashpad_snapshot_test_module_small") {
|
|||||||
deps += [ "$mini_chromium_source_parent:base" ]
|
deps += [ "$mini_chromium_source_parent:base" ]
|
||||||
|
|
||||||
if (crashpad_is_in_fuchsia) {
|
if (crashpad_is_in_fuchsia) {
|
||||||
# TODO(fxbug.dev/108368): Remove this once the underlying issue is addressed.
|
# TODO(fxbug.dev/42059784): Remove this once the underlying issue is
|
||||||
|
# addressed.
|
||||||
exclude_toolchain_tags = [ "hwasan" ]
|
exclude_toolchain_tags = [ "hwasan" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -560,7 +563,8 @@ if ((crashpad_is_linux || crashpad_is_android || crashpad_is_fuchsia) &&
|
|||||||
ldflags = [ "-Wl,--hash-style=both" ]
|
ldflags = [ "-Wl,--hash-style=both" ]
|
||||||
|
|
||||||
if (crashpad_is_in_fuchsia) {
|
if (crashpad_is_in_fuchsia) {
|
||||||
# TODO(fxbug.dev/108368): Remove this once the underlying issue is addressed.
|
# TODO(fxbug.dev/42059784): Remove this once the underlying issue is
|
||||||
|
# addressed.
|
||||||
exclude_toolchain_tags = [ "hwasan" ]
|
exclude_toolchain_tags = [ "hwasan" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ bool ExceptionSnapshotFuchsia::Initialize(
|
|||||||
#if defined(ARCH_CPU_X86_64)
|
#if defined(ARCH_CPU_X86_64)
|
||||||
context_.architecture = kCPUArchitectureX86_64;
|
context_.architecture = kCPUArchitectureX86_64;
|
||||||
context_.x86_64 = &context_arch_;
|
context_.x86_64 = &context_arch_;
|
||||||
// TODO(fxbug.dev/5496): Add vector context.
|
// TODO(fxbug.dev/42132536): Add vector context.
|
||||||
InitializeCPUContextX86_64(
|
InitializeCPUContextX86_64(
|
||||||
t->general_registers, t->fp_registers, context_.x86_64);
|
t->general_registers, t->fp_registers, context_.x86_64);
|
||||||
#elif defined(ARCH_CPU_ARM64)
|
#elif defined(ARCH_CPU_ARM64)
|
||||||
|
@ -47,12 +47,12 @@ void GetStackRegions(
|
|||||||
#error Port
|
#error Port
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO(fxbug.dev/74897): make this work for stack overflows, e.g., by looking
|
// TODO(fxbug.dev/42154629): make this work for stack overflows, e.g., by
|
||||||
// up using the initial stack pointer (sp) when the thread was created. Right
|
// looking up using the initial stack pointer (sp) when the thread was
|
||||||
// now, it gets the stack by getting the mapping that contains the current sp.
|
// created. Right now, it gets the stack by getting the mapping that contains
|
||||||
// But in the case of stack overflows, the current sp is by definition outside
|
// the current sp. But in the case of stack overflows, the current sp is by
|
||||||
// of the stack so the mapping returned is not the stack and fails the type
|
// definition outside of the stack so the mapping returned is not the stack
|
||||||
// check, at least on arm64.
|
// and fails the type check, at least on arm64.
|
||||||
zx_info_maps_t range_with_sp;
|
zx_info_maps_t range_with_sp;
|
||||||
if (!memory_map.FindMappingForAddress(sp, &range_with_sp)) {
|
if (!memory_map.FindMappingForAddress(sp, &range_with_sp)) {
|
||||||
LOG(ERROR) << "stack pointer not found in mapping";
|
LOG(ERROR) << "stack pointer not found in mapping";
|
||||||
@ -235,8 +235,8 @@ void ProcessReaderFuchsia::InitializeModules() {
|
|||||||
// Crashpad needs to use the same module name at run time for symbol
|
// Crashpad needs to use the same module name at run time for symbol
|
||||||
// resolution to work properly.
|
// resolution to work properly.
|
||||||
//
|
//
|
||||||
// TODO: https://fxbug.dev/6057 - once Crashpad switches to elf-search, the
|
// TODO: https://fxbug.dev/42138764 - once Crashpad switches to elf-search,
|
||||||
// following overwrites won't be necessary as only shared libraries will
|
// the following overwrites won't be necessary as only shared libraries will
|
||||||
// have a soname at runtime, just like at build time.
|
// have a soname at runtime, just like at build time.
|
||||||
//
|
//
|
||||||
// * For shared libraries, the soname is used as module name at build time,
|
// * For shared libraries, the soname is used as module name at build time,
|
||||||
|
@ -75,7 +75,7 @@ uint32_t SystemSnapshotFuchsia::CPURevision() const {
|
|||||||
#if defined(ARCH_CPU_X86_64)
|
#if defined(ARCH_CPU_X86_64)
|
||||||
return cpuid_.Revision();
|
return cpuid_.Revision();
|
||||||
#else
|
#else
|
||||||
// TODO: https://fxbug.dev/5561 - Read actual revision.
|
// TODO: https://fxbug.dev/42133257 - Read actual revision.
|
||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -90,7 +90,7 @@ std::string SystemSnapshotFuchsia::CPUVendor() const {
|
|||||||
#if defined(ARCH_CPU_X86_64)
|
#if defined(ARCH_CPU_X86_64)
|
||||||
return cpuid_.Vendor();
|
return cpuid_.Vendor();
|
||||||
#else
|
#else
|
||||||
// TODO: https://fxbug.dev/5561 - Read actual vendor.
|
// TODO: https://fxbug.dev/42133257 - Read actual vendor.
|
||||||
return std::string();
|
return std::string();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
@ -193,7 +193,7 @@ bool SystemSnapshotFuchsia::NXEnabled() const {
|
|||||||
#if defined(ARCH_CPU_X86_64)
|
#if defined(ARCH_CPU_X86_64)
|
||||||
return cpuid_.NXEnabled();
|
return cpuid_.NXEnabled();
|
||||||
#else
|
#else
|
||||||
// TODO: https://fxbug.dev/5561 - Read actual NX bit value.
|
// TODO: https://fxbug.dev/42133257 - Read actual NX bit value.
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ bool ThreadSnapshotFuchsia::Initialize(
|
|||||||
#if defined(ARCH_CPU_X86_64)
|
#if defined(ARCH_CPU_X86_64)
|
||||||
context_.architecture = kCPUArchitectureX86_64;
|
context_.architecture = kCPUArchitectureX86_64;
|
||||||
context_.x86_64 = &context_arch_;
|
context_.x86_64 = &context_arch_;
|
||||||
// TODO(fxbug.dev/5496): Add vector context.
|
// TODO(fxbug.dev/42132536): Add vector context.
|
||||||
InitializeCPUContextX86_64(
|
InitializeCPUContextX86_64(
|
||||||
thread.general_registers, thread.fp_registers, context_.x86_64);
|
thread.general_registers, thread.fp_registers, context_.x86_64);
|
||||||
#elif defined(ARCH_CPU_ARM64)
|
#elif defined(ARCH_CPU_ARM64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user