summaryrefslogtreecommitdiffstats
path: root/libdimension/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/profile.c')
-rw-r--r--libdimension/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/profile.c b/libdimension/profile.c
index f9dd2d9..8fca36a 100644
--- a/libdimension/profile.c
+++ b/libdimension/profile.c
@@ -169,7 +169,7 @@ dmnsn_print_bad_prediction(void *ptr)
dmnsn_free(branch->location);
}
-static void __attribute__((destructor))
+DMNSN_DESTRUCTOR static void
dmnsn_print_bad_predictions(void)
{
dmnsn_dictionary *thread_profile = dmnsn_get_thread_profile();