1#include "sanitizer_common/sanitizer_common.h"
2#include "gtest/gtest.h"
3
4TEST(ModuleUUID, kModuleUUIDSize) {
5#if SANITIZER_APPLE
6 EXPECT_EQ(__sanitizer::kModuleUUIDSize, 16ULL);
7#else
8 EXPECT_EQ(__sanitizer::kModuleUUIDSize, 32ULL);
9#endif
10}
11

source code of compiler-rt/lib/sanitizer_common/tests/sanitizer_module_uuid_size.cpp