Correct no_sanitize attribute.

This commit is contained in:
Jief L 2020-05-03 18:26:32 +03:00
parent ab90362ebf
commit 6357aaf299

View File

@ -528,7 +528,7 @@ uint32_t getUptimeInMilliseconds()
#endif #endif
#endif //PRINTF_LITE_TIMESTAMP_SUPPORT #endif //PRINTF_LITE_TIMESTAMP_SUPPORT
#ifdef __GNUC__ #ifdef __clang__
static void print_longlong(INT_BIGGEST_TYPE v, unsigned int base, PrintfParams* printfParams) __attribute__((no_sanitize("undefined"))); // disable sanitize because we'll do -v static void print_longlong(INT_BIGGEST_TYPE v, unsigned int base, PrintfParams* printfParams) __attribute__((no_sanitize("undefined"))); // disable sanitize because we'll do -v
#endif #endif