From 60c81354b1d3fced1bd284d334f118d2d792ab4b Mon Sep 17 00:00:00 2001 From: Alex Brachet Date: Fri, 12 Jul 2019 10:20:01 +0000 Subject: [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 --- llvm/docs/CommandGuide/llvm-nm.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'llvm/docs/CommandGuide') 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 -- cgit v1.2.3