For lld-link, unknown '/'-style flags are treated as filenames on POSIX
systems, so only '-'-style flags get typo correction for now. This
matches clang-cl.
PR37006.
Paths
| Differential D61443
Add typo correction for command-line flags to ELF and COFF lld drivers ClosedPublic Authored by thakis on May 2 2019, 7:48 AM.
Details
Summary For lld-link, unknown '/'-style flags are treated as filenames on POSIX PR37006.
Diff Detail Event TimelineThis revision is now accepted and ready to land.May 7 2019, 1:34 AM Closed by commit rLLD360145: Add typo correction for command-line flags to ELF and COFF lld drivers (authored by nico). · Explain WhyMay 7 2019, 6:46 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 197786 lld/COFF/DriverUtils.cpp
lld/ELF/DriverUtils.cpp
lld/test/COFF/color-diagnostics.test
lld/test/COFF/driver.test
lld/test/COFF/wx.s
lld/test/ELF/basic.s
lld/test/ELF/color-diagnostics.test
lld/test/ELF/driver.test
|