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
Differential D127519
[clang-cl] Accept /FA[c][s][u], but ignore the arguments steplong on Jun 10 2022, 11:47 AM. Authored by
Details 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
|