HomePhabricator

[lsan] Use SANITIZER_WORDSIZE when selecting ByteMap

Authored by vitalybuka on Apr 25 2019, 9:20 PM.

Description

[lsan] Use SANITIZER_WORDSIZE when selecting ByteMap

Originally this code as added for 64-bit platform and was never changed.
Add static_assert to make sure that we have correct map on all platforms.

llvm-svn: 359269

Details

Committed
vitalybukaApr 25 2019, 9:20 PM
Parents
rG98b70f6705f5: [ELF] Change std::max<uint64_t> to uint32_t for section alignment
Branches
Unknown
Tags
Unknown