mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-13 16:47:58 +08:00
Change UBSAN for undefined instaed of address (#2964)
This commit is contained in:
parent
940bdafacb
commit
c6edc887bc
@ -48,8 +48,8 @@ static const char *FileHeader = "\n\
|
||||
#include "H5Rpublic.h"
|
||||
|
||||
#if defined(__has_attribute)
|
||||
#if __has_attribute(no_sanitize_address)
|
||||
#define HDF_NO_UBSAN __attribute__((no_sanitize_address))
|
||||
#if __has_attribute(no_sanitize)
|
||||
#define HDF_NO_UBSAN __attribute__((no_sanitize("undefined")))
|
||||
#else
|
||||
#define HDF_NO_UBSAN
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user