This is an archive of the discontinued LLVM Phabricator instance.

[lldb][COFF] Try to detect GNU ABI by checking for DWARF debug info
DraftPublic

Authored by alvinhochun on Jun 4 2022, 11:36 AM.
This is a draft revision that has not yet been submitted for review.

Details

Reviewers
None
Summary

If the object file contains any DWARF debug info or a gnu-debuglink
section, it is likely using the GNU ABI. If the default target is MSVC,
we should set the module triple to GNU in this case.

Depends on D127048

Diff Detail