/* The version of the package.
NB/ This number is expected to be in the form "NNnn" where
"NN" is major version number and "nn" is the minor version number. */
-#define ANNOBIN_VERSION 1010
+#define ANNOBIN_VERSION 1011
/* The version of the annotation specification supported. */
#define SPEC_VERSION 3
else
info (data, TEST_WARNINGS, SOURCE_DW_AT_PRODUCER, "not found in string");
+ if (skip_test (TEST_GLIBCXX_ASSERTIONS))
+ ;
+ else if (strstr (string, "-D_GLIBCXX_ASSERTIONS")
+ || strstr (string, "-D _GLIBCXX_ASSERTIONS"))
+ pass (data, TEST_GLIBCXX_ASSERTIONS, SOURCE_DW_AT_PRODUCER, NULL);
+ else
+ info (data, TEST_GLIBCXX_ASSERTIONS, SOURCE_DW_AT_PRODUCER, "not found in string");
+
+ if (skip_test (TEST_FORTIFY))
+ ;
+ else if (strstr (string, "-D_FORTIFY_SOURCE=2")
+ || strstr (string, "-D _FORTIFY_SOURCE=2")
+ || strstr (string, "-D_FORTIFY_SOURCE=3")
+ || strstr (string, "-D _FORTIFY_SOURCE=3"))
+ pass (data, TEST_FORTIFY, SOURCE_DW_AT_PRODUCER, NULL);
+ else
+ info (data, TEST_FORTIFY, SOURCE_DW_AT_PRODUCER, "not found in string");
+
if (is_x86 ())
{
if (skip_test (TEST_CF_PROTECTION))
{
einfo (VERBOSE2, "gap ignored - special symbol: %s", sym2);
/* See comment above. */
+ free ((char *) first_sym);
continue;
}
{
einfo (VERBOSE2, "gap ignored - special symbol: %s", sym2);
/* See comment above. */
+ free ((char *) first_sym);
continue;
}
gap_found = true;
if (! BE_VERBOSE)
- break;
+ {
+ free ((char *) first_sym);
+ break;
+ }
if (first_sym)
{