diff options
author | Alex Brachet <alexbrachetmialot@gmail.com> | 2019-07-12 10:20:01 +0000 |
---|---|---|
committer | Alex Brachet <alexbrachetmialot@gmail.com> | 2019-07-12 10:20:01 +0000 |
commit | 60c81354b1d3fced1bd284d334f118d2d792ab4b (patch) | |
tree | 5be3d996b330be474380f4ecbc772bf15c5dd56a /llvm/docs/CommandGuide | |
parent | 0f7146db9b2c7b90883f0a6e0b044fc1c6548ef5 (diff) | |
download | bcm5719-llvm-60c81354b1d3fced1bd284d334f118d2d792ab4b.tar.gz bcm5719-llvm-60c81354b1d3fced1bd284d334f118d2d792ab4b.zip |
[tools] [llvm-nm] Default to reading from stdin not a.out
Summary: This moves away from defaulting to a.out and uses stdin only if stdin has a file redirected to it. This has been discussed on the llvm-dev mailing list [[ https://lists.llvm.org/pipermail/llvm-dev/2019-July/133642.html | here ]].
Reviewers: jhenderson, rupprecht, MaskRay, chrisjackson
Reviewed By: jhenderson, MaskRay
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D64290
llvm-svn: 365889
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r-- | llvm/docs/CommandGuide/llvm-nm.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/docs/CommandGuide/llvm-nm.rst b/llvm/docs/CommandGuide/llvm-nm.rst index e3b3658ef1e..3b7ea93a0d2 100644 --- a/llvm/docs/CommandGuide/llvm-nm.rst +++ b/llvm/docs/CommandGuide/llvm-nm.rst @@ -13,9 +13,8 @@ DESCRIPTION The :program:`llvm-nm` utility lists the names of symbols from LLVM bitcode files, object files, and archives. Each symbol is listed along with some simple -information about 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. +information about its provenance. If no filename is specified, or *-* 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 |