[PATCH] D63014: [docs] Add "GNU binutils Replacements" section to command guide

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 02:38:43 PDT 2019


jhenderson accepted this revision.
jhenderson added a comment.

LGTM, with one nit.



================
Comment at: llvm/docs/CommandGuide/index.rst:17
 
    llvm-as
    llvm-dis
----------------
grimar wrote:
> rupprecht wrote:
> > smeenai wrote:
> > > jhenderson wrote:
> > > > grimar wrote:
> > > > > GNU 'as' is also a part of binutils:
> > > > > https://en.wikipedia.org/wiki/GNU_Binutils
> > > > > 
> > > > > Should it also be moved?
> > > > Is llvm-as intended to be a drop-in replacement yet? I have a feeling that it's not ready based on something @rupprecht said a while back.
> > > llvm-as converts textual IR to bitcode, so it's very different from GNU as. llvm-mc would be closer to the functionality of GNU as, but I believe e.g. it doesn't support macros, so it's definitely not a drop-in replacement.
> > Yes, we don't yet have a replacement for `as`, despite the same-sounding name of `llvm-as`.
> Oh, right. I missed I am usually using `llvm-mc` + GNU `as` and not `llvm-as` + GNU `as`.
> 
> And `llvm-mc` is not mentioned at all in this file for some reason, not sure why.
> And `llvm-mc` is not mentioned at all in this file for some reason, not sure why.

Probably because nobody's written documentation for it!


================
Comment at: llvm/docs/CommandGuide/llvm-readelf.md:9-10
+
+**llvm-readelf** is an alias for the [llvm-readobj](llvm-readobj.html) tool with
+command-line interface and output style more closely resembling GNU **readelf**.
+
----------------
Nit "with command-line" -> "with a command-line"


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D63014





More information about the llvm-commits mailing list