Skip to content

Commit 27b460c

Browse files
Mitchell KemberCrashpad LUCI CQ
Mitchell Kember
authored and
Crashpad LUCI CQ
committed
[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 <[email protected]> Reviewed-by: Mark Mentovai <[email protected]>
1 parent a02e493 commit 27b460c

7 files changed

+26
-21
lines changed

BUILD.gn

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ if (crashpad_is_in_chromium || crashpad_is_in_fuchsia) {
3939
if (crashpad_is_in_fuchsia) {
4040
# TODO(fuchsia:46559): Fix the leaks and remove this.
4141
deps += [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ]
42-
# TODO(fxbug.dev/108368): Remove this once the underlying issue is addressed.
42+
# TODO(fxbug.dev/42059784): Remove this once the underlying issue is
43+
# addressed.
4344
exclude_toolchain_tags = [ "hwasan" ]
4445
}
4546
if (crashpad_is_android) {

build/crashpad_buildconfig.gni

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ template("crashpad_executable") {
106106
if (crashpad_is_in_fuchsia) {
107107
conversion_config = [ "//build/config:Wno-conversion" ]
108108
if (configs + conversion_config - conversion_config == configs) {
109-
# TODO(https://fxbug.dev/58162): Decide if these are worth enabling.
109+
# TODO(https://fxbug.dev/42136089): Decide if these are worth enabling.
110110
configs += conversion_config
111111
}
112112
}
@@ -132,7 +132,7 @@ template("crashpad_loadable_module") {
132132
if (crashpad_is_in_fuchsia) {
133133
conversion_config = [ "//build/config:Wno-conversion" ]
134134
if (configs + conversion_config - conversion_config == configs) {
135-
# TODO(https://fxbug.dev/58162): Decide if these are worth enabling.
135+
# TODO(https://fxbug.dev/42136089): Decide if these are worth enabling.
136136
configs += conversion_config
137137
}
138138
}
@@ -158,7 +158,7 @@ template("crashpad_static_library") {
158158
if (crashpad_is_in_fuchsia) {
159159
conversion_config = [ "//build/config:Wno-conversion" ]
160160
if (configs + conversion_config - conversion_config == configs) {
161-
# TODO(https://fxbug.dev/58162): Decide if these are worth enabling.
161+
# TODO(https://fxbug.dev/42136089): Decide if these are worth enabling.
162162
configs += conversion_config
163163
}
164164
}

snapshot/BUILD.gn

+8-4
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,8 @@ crashpad_loadable_module("crashpad_snapshot_test_module") {
507507
"../client",
508508
]
509509
if (crashpad_is_in_fuchsia) {
510-
# TODO(fxbug.dev/108368): Remove this once the underlying issue is addressed.
510+
# TODO(fxbug.dev/42059784): Remove this once the underlying issue is
511+
# addressed.
511512
exclude_toolchain_tags = [ "hwasan" ]
512513
}
513514
}
@@ -526,7 +527,8 @@ crashpad_loadable_module("crashpad_snapshot_test_module_large") {
526527
deps += [ "$mini_chromium_source_parent:base" ]
527528

528529
if (crashpad_is_in_fuchsia) {
529-
# TODO(fxbug.dev/108368): Remove this once the underlying issue is addressed.
530+
# TODO(fxbug.dev/42059784): Remove this once the underlying issue is
531+
# addressed.
530532
exclude_toolchain_tags = [ "hwasan" ]
531533
}
532534
}
@@ -545,7 +547,8 @@ crashpad_loadable_module("crashpad_snapshot_test_module_small") {
545547
deps += [ "$mini_chromium_source_parent:base" ]
546548

547549
if (crashpad_is_in_fuchsia) {
548-
# TODO(fxbug.dev/108368): Remove this once the underlying issue is addressed.
550+
# TODO(fxbug.dev/42059784): Remove this once the underlying issue is
551+
# addressed.
549552
exclude_toolchain_tags = [ "hwasan" ]
550553
}
551554
}
@@ -560,7 +563,8 @@ if ((crashpad_is_linux || crashpad_is_android || crashpad_is_fuchsia) &&
560563
ldflags = [ "-Wl,--hash-style=both" ]
561564

562565
if (crashpad_is_in_fuchsia) {
563-
# TODO(fxbug.dev/108368): Remove this once the underlying issue is addressed.
566+
# TODO(fxbug.dev/42059784): Remove this once the underlying issue is
567+
# addressed.
564568
exclude_toolchain_tags = [ "hwasan" ]
565569
}
566570
}

snapshot/fuchsia/exception_snapshot_fuchsia.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ bool ExceptionSnapshotFuchsia::Initialize(
7474
#if defined(ARCH_CPU_X86_64)
7575
context_.architecture = kCPUArchitectureX86_64;
7676
context_.x86_64 = &context_arch_;
77-
// TODO(fxbug.dev/5496): Add vector context.
77+
// TODO(fxbug.dev/42132536): Add vector context.
7878
InitializeCPUContextX86_64(
7979
t->general_registers, t->fp_registers, context_.x86_64);
8080
#elif defined(ARCH_CPU_ARM64)

snapshot/fuchsia/process_reader_fuchsia.cc

+8-8
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ void GetStackRegions(
4747
#error Port
4848
#endif
4949

50-
// TODO(fxbug.dev/74897): make this work for stack overflows, e.g., by looking
51-
// up using the initial stack pointer (sp) when the thread was created. Right
52-
// now, it gets the stack by getting the mapping that contains the current sp.
53-
// But in the case of stack overflows, the current sp is by definition outside
54-
// of the stack so the mapping returned is not the stack and fails the type
55-
// check, at least on arm64.
50+
// TODO(fxbug.dev/42154629): make this work for stack overflows, e.g., by
51+
// looking up using the initial stack pointer (sp) when the thread was
52+
// created. Right now, it gets the stack by getting the mapping that contains
53+
// the current sp. But in the case of stack overflows, the current sp is by
54+
// definition outside of the stack so the mapping returned is not the stack
55+
// and fails the type check, at least on arm64.
5656
zx_info_maps_t range_with_sp;
5757
if (!memory_map.FindMappingForAddress(sp, &range_with_sp)) {
5858
LOG(ERROR) << "stack pointer not found in mapping";
@@ -235,8 +235,8 @@ void ProcessReaderFuchsia::InitializeModules() {
235235
// Crashpad needs to use the same module name at run time for symbol
236236
// resolution to work properly.
237237
//
238-
// TODO: https://fxbug.dev/6057 - once Crashpad switches to elf-search, the
239-
// following overwrites won't be necessary as only shared libraries will
238+
// TODO: https://fxbug.dev/42138764 - once Crashpad switches to elf-search,
239+
// the following overwrites won't be necessary as only shared libraries will
240240
// have a soname at runtime, just like at build time.
241241
//
242242
// * For shared libraries, the soname is used as module name at build time,

snapshot/fuchsia/system_snapshot_fuchsia.cc

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ uint32_t SystemSnapshotFuchsia::CPURevision() const {
7575
#if defined(ARCH_CPU_X86_64)
7676
return cpuid_.Revision();
7777
#else
78-
// TODO: https://fxbug.dev/5561 - Read actual revision.
78+
// TODO: https://fxbug.dev/42133257 - Read actual revision.
7979
return 0;
8080
#endif
8181
}
@@ -90,7 +90,7 @@ std::string SystemSnapshotFuchsia::CPUVendor() const {
9090
#if defined(ARCH_CPU_X86_64)
9191
return cpuid_.Vendor();
9292
#else
93-
// TODO: https://fxbug.dev/5561 - Read actual vendor.
93+
// TODO: https://fxbug.dev/42133257 - Read actual vendor.
9494
return std::string();
9595
#endif
9696
}
@@ -193,7 +193,7 @@ bool SystemSnapshotFuchsia::NXEnabled() const {
193193
#if defined(ARCH_CPU_X86_64)
194194
return cpuid_.NXEnabled();
195195
#else
196-
// TODO: https://fxbug.dev/5561 - Read actual NX bit value.
196+
// TODO: https://fxbug.dev/42133257 - Read actual NX bit value.
197197
return false;
198198
#endif
199199
}

snapshot/fuchsia/thread_snapshot_fuchsia.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ bool ThreadSnapshotFuchsia::Initialize(
4040
#if defined(ARCH_CPU_X86_64)
4141
context_.architecture = kCPUArchitectureX86_64;
4242
context_.x86_64 = &context_arch_;
43-
// TODO(fxbug.dev/5496): Add vector context.
43+
// TODO(fxbug.dev/42132536): Add vector context.
4444
InitializeCPUContextX86_64(
4545
thread.general_registers, thread.fp_registers, context_.x86_64);
4646
#elif defined(ARCH_CPU_ARM64)

0 commit comments

Comments
 (0)