This also delays setting the output filename based on the first input
argument until after processing /def.
Fixes PR32354
Differential D31152
[COFF] Don't let /def override /out filename rnk on Mar 20 2017, 3:02 PM. Authored by
Details This also delays setting the output filename based on the first input Fixes PR32354
Diff Detail
Event TimelineComment Actions So the priority of inferring output path is the first object file name, a module definition file, or /out option, in increasing order of priority. I wonder if it is easier to parse arguments in this order and set Config->OutputPath uncoditionally. Comment Actions I think it would be better if Config->OutputFile is always either empty or the true final output name. Otherwise we might query it somewhere in the middle of options processing and get an incorrect value. Comment Actions I'm going to go ahead and land this to try to green the Chromium bots. We can reorganize later if we like. |