Fix: tracepoint.h: Disable address sanitizer on pointer array section variables
[lttng-ust.git] / include / lttng / tracepoint.h
index 0d978a5f5ebc74e4fc391c4c5d8900172acdec8c..4d56f35abe9421bb927398d8df700d13ce085ddd 100644 (file)
@@ -398,7 +398,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.02288 seconds and 4 git commands to generate.