[llvm-nm] Fix r264247
authorJames Molloy <james.molloy@arm.com>
Thu, 24 Mar 2016 09:23:51 +0000 (09:23 +0000)
committerJames Molloy <james.molloy@arm.com>
Thu, 24 Mar 2016 09:23:51 +0000 (09:23 +0000)
I committed the test changes successfully but managed to miss the actual code change! (lack of git -a)

llvm-svn: 264249

llvm/tools/llvm-nm/llvm-nm.cpp

index 50405a9..65e9156 100644 (file)
@@ -658,7 +658,7 @@ static void sortAndPrintSymbolList(SymbolicFile &Obj, bool printName,
       if (MachO)
         outs() << I->Address << " " << "0" /* SymbolSizeStr */ << "\n";
       else
-        outs() << SymbolAddrStr << SymbolSizeStr << "\n";
+        outs() << SymbolAddrStr << " " << SymbolSizeStr << "\n";
     } else if (OutputFormat == bsd || (OutputFormat == darwin && !MachO)) {
       if (PrintAddress)
         outs() << SymbolAddrStr << ' ';