Process CUs with a language attribute of DW_LANG_Mips_Assembler.
At the moment ctfconvert(1) does not do much with such CUs, but that may not be true in the future, and we run ctfconvert on several assembly files during the build. X-MFC with: r334883
This commit is contained in:
parent
c34bf30069
commit
ecbde90073
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334961
@ -1982,10 +1982,11 @@ dw_read(tdata_t *td, Elf *elf, char *filename __unused)
|
|||||||
case DW_LANG_C_plus_plus_03:
|
case DW_LANG_C_plus_plus_03:
|
||||||
case DW_LANG_C_plus_plus_11:
|
case DW_LANG_C_plus_plus_11:
|
||||||
case DW_LANG_C_plus_plus_14:
|
case DW_LANG_C_plus_plus_14:
|
||||||
|
case DW_LANG_Mips_Assembler:
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
terminate("file contains DWARF for unsupported "
|
terminate("file contains DWARF for unsupported "
|
||||||
"language %d", lang);
|
"language %#x", lang);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
warning("die %llu: failed to get language attribute: %s\n",
|
warning("die %llu: failed to get language attribute: %s\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user