[Sanitizers] UUID/Build ID is 16 bytes on Darwin.
authorusama hameed <u_hameed@apple.com>
Wed, 7 Jun 2023 21:29:53 +0000 (14:29 -0700)
committerusama hameed <u_hameed@apple.com>
Wed, 7 Jun 2023 21:32:41 +0000 (14:32 -0700)
commite487713a21f780bf7150f86f42718be4d0342beb
tree3abec6621d3a35a11ef92445b898aa5bbe4b1da3
parentd2627cf88d2553a4c2e850430bdb908a4b7d2e52
[Sanitizers] UUID/Build ID is 16 bytes on Darwin.

https://reviews.llvm.org/D114294 changed the kModuleUUIDSize from 16 to 32 for
all platforms. This is not true for Darwin where the UUID is 16 bytes.

Differential Revision: https://reviews.llvm.org/D152309
rdar://110346025
compiler-rt/lib/sanitizer_common/sanitizer_common.h
compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
compiler-rt/lib/sanitizer_common/tests/sanitizer_module_uuid_size.cpp [new file with mode: 0644]