mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-28 06:56:16 +01:00
Merge branch 'cm/no-sanitize-load-word' into 'main'
gutf8: Skip ASan instrumentation for load_word See merge request GNOME/glib!4385
This commit is contained in:
commit
04f6d555b0
@ -1607,6 +1607,12 @@ load_u8 (gconstpointer memory,
|
|||||||
# define _attribute_aligned(n)
|
# define _attribute_aligned(n)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* See the HAVE_WORKING_IFUNC_ATTRIBUTE definition for an explanation of the
|
||||||
|
* no_sanitize_address annotation.
|
||||||
|
*/
|
||||||
|
#if g_macro__has_attribute(no_sanitize_address)
|
||||||
|
__attribute__((no_sanitize_address))
|
||||||
|
#endif
|
||||||
static inline gsize
|
static inline gsize
|
||||||
load_word (gconstpointer memory,
|
load_word (gconstpointer memory,
|
||||||
gsize offset)
|
gsize offset)
|
||||||
|
Loading…
Reference in New Issue
Block a user