[PATCH] D63239: [llvm-objcopy] Refactor output target parsing

Seiya Nuta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 03:30:16 PDT 2019


seiya added a comment.

In D63239#1541208 <https://reviews.llvm.org/D63239#1541208>, @jhenderson wrote:

> Could you explain a bit more the motivation behind this change, please? If I'm not mistaken, it's to allow using input and output format with non-ELF (e.g. COFF and Mach-O) targets?


Yes, that's correct. I'd like to use `FileFormat` instead of a target string for `Config.OutputFormat` to allow calling non-ELF implementations in `executeObjcopyOnRawBinary`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63239/new/

https://reviews.llvm.org/D63239





More information about the llvm-commits mailing list