From 138222e56fae061b063203b502e1bd5241ea2584 Mon Sep 17 00:00:00 2001 From: Kevin Enderby Date: Mon, 23 Jun 2014 20:27:53 +0000 Subject: 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 --- tools/llvm-nm/llvm-nm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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: -- cgit v1.2.3