Export __glib_assert_msg
authorRyan Lortie <desrt@desrt.ca>
Fri, 7 Jun 2013 15:41:41 +0000 (11:41 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 17 Aug 2013 16:10:23 +0000 (12:10 -0400)
Put __glib_assert_msg in the dynamic symbol table, but not in any public
headers.

This variable is _not_ part of our API but this way debuggers and
automated crash report utilities will be able to access this variable,
even if debug symbols are not available.

https://bugzilla.gnome.org/show_bug.cgi?id=701800

glib/gtestutils.c

index 0b7be46..3ab4e16 100644 (file)
  * analysis systems like Apport and ABRT to fish out assertion messages from
  * core dumps, instead of having to catch them on screen output.
  */
+GLIB_VAR char *__glib_assert_msg;
 char *__glib_assert_msg = NULL;
 
 /* --- constants --- */