forked from OSchip/llvm-project
[DWARFLinker] Print the unsupport DWARF form as part of the warning
This commit is contained in:
parent
f62b93b9a2
commit
7a204362f5
|
@ -1217,9 +1217,10 @@ unsigned DWARFLinker::DIECloner::cloneAttribute(
|
|||
return cloneScalarAttribute(Die, InputDIE, File, Unit, AttrSpec, Val,
|
||||
AttrSize, Info);
|
||||
default:
|
||||
Linker.reportWarning(
|
||||
"Unsupported attribute form in cloneAttribute. Dropping.", File,
|
||||
&InputDIE);
|
||||
Linker.reportWarning("Unsupported attribute form " +
|
||||
dwarf::FormEncodingString(AttrSpec.Form) +
|
||||
" in cloneAttribute. Dropping.",
|
||||
File, &InputDIE);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue