[llvm] [llvm-ar] Use COFF archive format for COFF targets. (PR #82642)

via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 23 12:11:03 PST 2024


bd1976bris wrote:

After years of shipping llvm-ar this change has brought up some interesting questions :) The main question I have is: do we really want the behaviour where the input file type determines the output file type? I'm not sure why this was implemented - and now that I think about it is seems indefensible. For some reason I accepted this behaviour without questioning it, but, looking at it with fresh eyes, I think that the behaviour *should be* that the output type has a fixed default and can be overridden by an explicit --target option?

https://github.com/llvm/llvm-project/pull/82642


More information about the llvm-commits mailing list