Author: Jonas Devlieghere Date: 2021-01-08T18:51:40-08:00 New Revision: 7a204362f5c6cb97308be543f77ace8d8285ffef
URL: https://github.com/llvm/llvm-project/commit/7a204362f5c6cb97308be543f77ace8d8285ffef DIFF: https://github.com/llvm/llvm-project/commit/7a204362f5c6cb97308be543f77ace8d8285ffef.diff LOG: [DWARFLinker] Print the unsupport DWARF form as part of the warning Added: Modified: llvm/lib/DWARFLinker/DWARFLinker.cpp Removed: ################################################################################ diff --git a/llvm/lib/DWARFLinker/DWARFLinker.cpp b/llvm/lib/DWARFLinker/DWARFLinker.cpp index e285773dfd5a..1595b31cb4f9 100644 --- a/llvm/lib/DWARFLinker/DWARFLinker.cpp +++ b/llvm/lib/DWARFLinker/DWARFLinker.cpp @@ -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; _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits