break;
/* Otherwise validate name and form. */
+ if (attrib_name == 0)
+ {
+ wr_error (where) << "invalid attribute code 0." << std::endl;
+ // We can handle this, so keep going. But this is not
+ // kosher for high-level checks.
+ failed = true;
+ continue;
+ }
+
attribute = ver->get_attribute (attrib_name);
if (attribute == NULL)
{
EOF
testrun_compare ./dwarflint --check=@low garbage-3 <<EOF
-error: .debug_abbrev: abbr. attribute 0xc: invalid or unknown name 0x0.
+error: .debug_abbrev: abbr. attribute 0xc: invalid attribute code 0.
EOF