repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
compiler-rt
/
lib
/
sanitizer_common
/
tests
/
sanitizer_module_uuid_size.cpp
blob
feb17dc3d77e201b16ea3fff9aea8d5ea046c2b4
1
#include
"sanitizer_common/sanitizer_common.h"
2
#include
"gtest/gtest.h"
3
4
TEST
(
ModuleUUID
,
kModuleUUIDSize
) {
5
#if SANITIZER_APPLE
6
EXPECT_EQ
(
__sanitizer
::
kModuleUUIDSize
,
16ULL
);
7
#else
8
EXPECT_EQ
(
__sanitizer
::
kModuleUUIDSize
,
32ULL
);
9
#endif
10
}