2 * Copyright (C) 2024 Kienan Stewart <kstewart@efficios.com>
4 * SPDX-License-Identifier: LPGL-2.1-only
14 /* Use tracepoints defined and provided by static archive. */
15 void test_constructor_a(void) __attribute__((constructor
));
16 void test_constructor_a(void)
18 tracepoint(tp_a_c
, constructor_c_provider_static_archive
);
21 void test_destructor_a(void) __attribute__((destructor
));
22 void test_destructor_a(void)
24 tracepoint(tp_a_c
, destructor_c_provider_static_archive
);
27 Obja
g_obja_static_archive("global - static archive define and provider");
31 Obj
l_obj("main() local");
32 Obja
l_obja("main() local - static archive define and provider");