mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-13 16:58:04 +08:00
Run clang-format on process_reader_mac_test
Missed this in https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3833512 Bug: None Change-Id: I90a122f3b671999464e6a62e1df7d654573d9f05 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/3840479 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
1d4447645d
commit
3e80b95054
@ -948,15 +948,15 @@ class ProcessReaderModulesChild final : public MachMultiprocess {
|
||||
EXPECT_EQ(modules[index].reader->Address(), expect_address);
|
||||
|
||||
bool expect_timestamp;
|
||||
if ((index == 0 && MacOSVersionNumber() < 12'00'00) || index == modules.size() - 1) {
|
||||
// Pre-dyld4, dyld didn’t set the main executable's timestamp, and it
|
||||
// was reported as 0.
|
||||
// The last module is dyld.
|
||||
EXPECT_EQ(modules[index].timestamp, 0);
|
||||
}
|
||||
else if (IsMalformedCLKernelsModule(modules[index].reader->FileType(),
|
||||
modules[index].name,
|
||||
&expect_timestamp)) {
|
||||
if ((index == 0 && MacOSVersionNumber() < 12'00'00) ||
|
||||
index == modules.size() - 1) {
|
||||
// Pre-dyld4, dyld didn’t set the main executable's timestamp, and it
|
||||
// was reported as 0.
|
||||
// The last module is dyld.
|
||||
EXPECT_EQ(modules[index].timestamp, 0);
|
||||
} else if (IsMalformedCLKernelsModule(modules[index].reader->FileType(),
|
||||
modules[index].name,
|
||||
&expect_timestamp)) {
|
||||
// cl_kernels doesn’t exist as a file, but may still have a timestamp.
|
||||
if (!expect_timestamp) {
|
||||
EXPECT_EQ(modules[index].timestamp, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user