mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-14 01:08:01 +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);
|
EXPECT_EQ(modules[index].reader->Address(), expect_address);
|
||||||
|
|
||||||
bool expect_timestamp;
|
bool expect_timestamp;
|
||||||
if ((index == 0 && MacOSVersionNumber() < 12'00'00) || index == modules.size() - 1) {
|
if ((index == 0 && MacOSVersionNumber() < 12'00'00) ||
|
||||||
// Pre-dyld4, dyld didn’t set the main executable's timestamp, and it
|
index == modules.size() - 1) {
|
||||||
// was reported as 0.
|
// Pre-dyld4, dyld didn’t set the main executable's timestamp, and it
|
||||||
// The last module is dyld.
|
// was reported as 0.
|
||||||
EXPECT_EQ(modules[index].timestamp, 0);
|
// The last module is dyld.
|
||||||
}
|
EXPECT_EQ(modules[index].timestamp, 0);
|
||||||
else if (IsMalformedCLKernelsModule(modules[index].reader->FileType(),
|
} else if (IsMalformedCLKernelsModule(modules[index].reader->FileType(),
|
||||||
modules[index].name,
|
modules[index].name,
|
||||||
&expect_timestamp)) {
|
&expect_timestamp)) {
|
||||||
// cl_kernels doesn’t exist as a file, but may still have a timestamp.
|
// cl_kernels doesn’t exist as a file, but may still have a timestamp.
|
||||||
if (!expect_timestamp) {
|
if (!expect_timestamp) {
|
||||||
EXPECT_EQ(modules[index].timestamp, 0);
|
EXPECT_EQ(modules[index].timestamp, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user