This is an archive of the discontinued LLVM Phabricator instance.

[lld] Allow unrecognized signatures in debug sections
ClosedPublic

Authored by CyberShadow on Jun 11 2019, 5:06 PM.

Details

Summary

An unrecognized signature (magic) at the beginning of a debug section
should not be a fatal error; it only means that the debug information
is in a format that is not supported by LLD. This can be due to it
being in CodeView versions 3 or earlier. These can occur in old import
libraries from legacy SDKs.

The test case was verified to work with MS link.exe.

Diff Detail

Repository
rL LLVM

Event Timeline

CyberShadow created this revision.Jun 11 2019, 5:06 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 11 2019, 5:06 PM
rnk accepted this revision.Jun 12 2019, 2:14 PM

lgtm, do you want me to land this for you?

This revision is now accepted and ready to land.Jun 12 2019, 2:14 PM

Thank you, and, sure!

This revision was automatically updated to reflect the committed changes.