[PATCH] D76250: [llvm-objdump] Only reject -long-option in objdump mode

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 2 16:50:18 PDT 2020


compnerd added a comment.

The precedent for behaviour based on the name is long standing and not being introduced here.  In fact the archiver already does this.  `clang` also does this (`clang` vs `clang++`).  This is not at all uncommon I think.  The target triple prefixed tools should be treated as the tool that they specify and implicitly passing `-target ...` which is derived from the prefix.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D76250





More information about the llvm-commits mailing list