Fix: tracepoint.h: Disable address sanitizer on pointer array section variables
[lttng-ust.git] / include / lttng / tracepoint.h
index a91faa42c475bc0c34a16fcc5f65eb22bb401f7b..7cfae3e4c10cd65c557a525fdbee063cd6d23c53 100644 (file)
@@ -441,7 +441,8 @@ extern struct lttng_ust_tracepoint * const __stop___tracepoints_ptrs[]
                };                                                              \
        static struct lttng_ust_tracepoint *                                    \
                __tracepoint_ptr_##_provider##___##_name                        \
-               __attribute__((used, section("__tracepoints_ptrs"))) =          \
+               __attribute__((section("__tracepoints_ptrs"), used))            \
+               __lttng_ust_variable_attribute_no_sanitize_address =            \
                        &__tracepoint_##_provider##___##_name;
 
 static void lttng_ust_notrace __attribute__((constructor))
This page took 0.02317 seconds and 4 git commands to generate.