Previously, /FAsc would emit a warning. Now, it will just do what /FA does.
https://docs.microsoft.com/en-us/cpp/build/reference/fa-fa-listing-file?view=msvc-170
Paths
| Differential D127519
[clang-cl] Accept /FA[c][s][u], but ignore the arguments ClosedPublic Authored by steplong on Jun 10 2022, 11:47 AM.
Details Summary Previously, /FAsc would emit a warning. Now, it will just do what /FA does. https://docs.microsoft.com/en-us/cpp/build/reference/fa-fa-listing-file?view=msvc-170
Diff Detail
Event TimelineComment Actions I'm not sure which test file to modify and how to test this. I do see it generating the .asm file now when I pass /FAsc, not the .codd file though since we are ignoring the c argument. Comment Actions
I suppose we could still warn that the 's' and 'c' parts are ignored.. though I suppose that becomes evident from the output file.. If we're going to treat them the same, how about just making the _SLASH_FA option a CLJoined and dropping _SLASH_FA_joined?
There are some /FA tests in clang/test/Driver/cl-options.c and clang/test/Driver/cl-outputs.c. Comment Actions
This revision is now accepted and ready to land.Jun 13 2022, 9:23 AM This revision was landed with ongoing or failed builds.Jun 13 2022, 12:02 PM Closed by commit rGd4245ed67ce4: [clang-cl] Accept /FA[c][s][u], but ignore the arguments (authored by steplong). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 436436 clang/include/clang/Driver/Options.td
clang/test/Driver/cl-options.c
clang/test/Driver/cl-outputs.c
|