[llvm] r363065 - [docs][llvm-nm] Fix documentation regarding llvm-nm reading stdin

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 11 06:46:52 PDT 2019


Author: jhenderson
Date: Tue Jun 11 06:46:52 2019
New Revision: 363065

URL: http://llvm.org/viewvc/llvm-project?rev=363065&view=rev
Log:
[docs][llvm-nm] Fix documentation regarding llvm-nm reading stdin

llvm-nm reads a.out NOT stdin when no input file is specified. This
patch fixes the doc accordingly, and rephrases the surrounding sentence
slightly.

Reviewed by: grimar

Differential Revision: https://reviews.llvm.org/D63135

Modified:
    llvm/trunk/docs/CommandGuide/llvm-nm.rst

Modified: llvm/trunk/docs/CommandGuide/llvm-nm.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CommandGuide/llvm-nm.rst?rev=363065&r1=363064&r2=363065&view=diff
==============================================================================
--- llvm/trunk/docs/CommandGuide/llvm-nm.rst (original)
+++ llvm/trunk/docs/CommandGuide/llvm-nm.rst Tue Jun 11 06:46:52 2019
@@ -12,8 +12,9 @@ DESCRIPTION
 The :program:`llvm-nm` utility lists the names of symbols from the LLVM bitcode
 files, object files, or :program:`ar` archives containing them, named on the
 command line.  Each symbol is listed along with some simple information about
-its provenance.  If no file name is specified, or *-* is used as a file name,
-:program:`llvm-nm` will process a file on its standard input stream.
+its provenance.  If no filename is specified, *a.out* is used as the input.
+If *-* is used as a filename, :program:`llvm-nm` will read a file from its
+standard input stream.
 
 :program:`llvm-nm`'s default output format is the traditional BSD :program:`nm`
 output format.  Each such output record consists of an (optional) 8-digit




More information about the llvm-commits mailing list