llvm.org GIT mirror llvm / f9e5430
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363065 91177308-0d34-0410-b5e6-96231b3b80d8 James Henderson a month ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1111 The :program:`llvm-nm` utility lists the names of symbols from the LLVM bitcode
1212 files, object files, or :program:`ar` archives containing them, named on the
1313 command line. Each symbol is listed along with some simple information about
14 its provenance. If no file name is specified, or *-* is used as a file name,
15 :program:`llvm-nm` will process a file on its standard input stream.
14 its provenance. If no filename is specified, *a.out* is used as the input.
15 If *-* is used as a filename, :program:`llvm-nm` will read a file from its
16 standard input stream.
1718 :program:`llvm-nm`'s default output format is the traditional BSD :program:`nm`
1819 output format. Each such output record consists of an (optional) 8-digit