diff options
author | Kevin Enderby <enderby@apple.com> | 2014-06-23 20:27:53 +0000 |
---|---|---|
committer | Kevin Enderby <enderby@apple.com> | 2014-06-23 20:27:53 +0000 |
commit | 138222e56fae061b063203b502e1bd5241ea2584 (patch) | |
tree | b681ad6dc7a3bd2ebc8bbbc92c75c1289b7cbf68 /tools | |
parent | 5e761eb4ae99c222765a0b4939aac6372daa8b1e (diff) | |
download | llvm-138222e56fae061b063203b502e1bd5241ea2584.tar.gz llvm-138222e56fae061b063203b502e1bd5241ea2584.tar.bz2 llvm-138222e56fae061b063203b502e1bd5241ea2584.tar.xz |
Change the default input for llvm-nm to be a.out instead of standard input
to match llvm-size and other UNIX systems for their nm(1).
Tweak test cases that used llvm-nm with standard input to add a "-" to
indicate that and add a test case to check the default of a.out for llvm-nm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211529 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/llvm-nm/llvm-nm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-nm/llvm-nm.cpp b/tools/llvm-nm/llvm-nm.cpp index 5221d4d18d..f706bcdc2b 100644 --- a/tools/llvm-nm/llvm-nm.cpp +++ b/tools/llvm-nm/llvm-nm.cpp @@ -845,7 +845,7 @@ int main(int argc, char **argv) { switch (InputFilenames.size()) { case 0: - InputFilenames.push_back("-"); + InputFilenames.push_back("a.out"); case 1: break; default: |