+/*
+ * Report in debug message whether the compiler correctly supports weak
+ * hidden symbols. This test checks that the address associated with two
+ * weak symbols with hidden visibility is the same when declared within
+ * two compile units part of the same module.
+ */
+static void check_weak_hidden(void)
+{
+ DBG("Your compiler support for weak symbols with hidden visibility is %s",
+ __tracepoint_test_symbol == lttng_ust_tp_check_weak_hidden() ?
+ "OK" :
+ "BROKEN. Please upgrade or fix your compiler to use LTTng-UST tracepoints.");
+}
+