================
@@ -1071,6 +1077,15 @@ void ObjectFilePECOFF::CreateSections(SectionList
&unified_section_list) {
m_sections_up->AddSection(section_sp);
unified_section_list.AddSection(section_sp);
}
+
+ if (!truncated_dwarf_sections.empty())
+ module_sp->ReportWarning(
+ "contains {} truncated DWARF sections ({}).\n"
+ "Executable images on Windows can't include the required names "
+ "when linking with the default link.exe. A third party linker like "
+ "lld-link is required (compile with -fuse-ld=lld-link on Clang).",
----------------
Nerixyz wrote:
Updated the message now to a mix of this and the one @mstorsjo suggested:
```
contains {} DWARF sections with truncated names ({}).\n
Windows executable (PECOFF) images produced by the default link.exe can't
include the required section names. A third party linker like lld-link is
required (compile with -fuse-ld=lld-link when using Clang).
```
https://github.com/llvm/llvm-project/pull/145175
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits