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 198459 COFF/DriverUtils.cpp
ELF/DriverUtils.cpp
test/COFF/color-diagnostics.test
test/COFF/driver.test
test/COFF/wx.s
test/ELF/basic.s
test/ELF/color-diagnostics.test
test/ELF/driver.test
|