🚨 suppress UBSAN warning
This commit is contained in:
parent
7d4f2f4ec0
commit
002765c0e0
@ -171,7 +171,7 @@ struct SaxEventLoggerExitAfterStartArray : public SaxEventLogger
|
|||||||
// be done with a function attribute. See
|
// be done with a function attribute. See
|
||||||
// https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#disabling-instrumentation-with-attribute-no-sanitize-undefined
|
// https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html#disabling-instrumentation-with-attribute-no-sanitize-undefined
|
||||||
#if defined(__clang__)
|
#if defined(__clang__)
|
||||||
__attribute__((no_sanitize("undefined")))
|
__attribute__((no_sanitize("undefined")))
|
||||||
#endif
|
#endif
|
||||||
void test_file_exception()
|
void test_file_exception()
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user