mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
linux: fix build breakage
2f7d40c4 Removed the last usage of ExpectTestModule() in sanitized builds. Change-Id: I6a894545f07b1c377f88820893c23a2296d74cc7 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2590205 Reviewed-by: Robert Sesek <rsesek@chromium.org> Commit-Queue: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
44de18ca37
commit
8bf3cdd977
@ -542,6 +542,7 @@ void ExpectModulesFromSelf(
|
||||
#endif // !OS_ANDROID || !ARCH_CPU_ARMEL || __ANDROID_API__ >= 21
|
||||
}
|
||||
|
||||
#if !defined(ADDRESS_SANITIZER) && !defined(MEMORY_SANITIZER)
|
||||
void ExpectTestModule(ProcessReaderLinux* reader,
|
||||
const std::string& module_name) {
|
||||
for (const auto& module : reader->Modules()) {
|
||||
@ -560,6 +561,7 @@ void ExpectTestModule(ProcessReaderLinux* reader,
|
||||
}
|
||||
ADD_FAILURE() << "Test module not found";
|
||||
}
|
||||
#endif // !ADDRESS_SANITIZER && !MEMORY_SANITIZER
|
||||
|
||||
TEST(ProcessReaderLinux, SelfModules) {
|
||||
#if !defined(ADDRESS_SANITIZER) && !defined(MEMORY_SANITIZER)
|
||||
|
Loading…
x
Reference in New Issue
Block a user