[PATCH] D146878: [Docs][llvm-mc] Add documentation on --filetype flag

Aiden Grossman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 25 10:27:51 PDT 2023


aidengrossman added reviewers: lattner, aabhinavg, MaskRay.
aidengrossman added a comment.

I've also noticed that when doing assembly without setting a `--filetype`, it still defaults to `asm`, which doesn't make a lot of sense. There should probably be some input validation to ensure that the various modes (eg `--assemble` and `--disassemble`) are run with the correct filetypes and automatically provide sensible defaults, since outputting text assembly by default when trying to assemble text assembly doesn't make a lot of sense. I'm planning on opening another patch to fix this behavior.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146878



More information about the llvm-commits mailing list