[lld] [lld][COFF] Fix: Merge `.drectve` sections in ObjFile::readSections (PR #86380)

Alexandre Ganea via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 25 04:33:08 PDT 2024


================

----------------
aganea wrote:

> So if there are multiple `.drectve` sections like this, it is up to who generates them to make sure there is proper separation at the end (ending each of them with a space or a null byte or similar).

That’s probably why MSVC always adds extra spaces at the beginning of .drectve sections.



https://github.com/llvm/llvm-project/pull/86380


More information about the llvm-commits mailing list