mirror of
https://github.com/webmproject/libwebp.git
synced 2025-10-11 13:06:50 +02:00
Restrict MSAN fixes to old clang versions
Bug: 448420960 Change-Id: Ia9cb762bc9f5d9415a28ddebaf39855c46a51768
This commit is contained in:
@@ -184,7 +184,8 @@
|
||||
#endif
|
||||
|
||||
#if defined(__has_feature)
|
||||
#if __has_feature(memory_sanitizer)
|
||||
// Clang 21 should have all the MSAN fixes needed for WebP.
|
||||
#if __has_feature(memory_sanitizer) && !LOCAL_CLANG_PREREQ(21, 0)
|
||||
#define WEBP_MSAN
|
||||
#endif
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user