aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-09-14 04:51:44 +0000
committerChris Lattner <sabre@nondot.org>2004-09-14 04:51:44 +0000
commitcfe97b78e787d232f4a82f5ff0afadf75ba95f6c (patch)
treedac109b1837e3f81ad59d94dfa731f68b7168cdb /lib
parentb228657acc4afbdc74dc523e9f465d08935f9e8d (diff)
downloadexternal_llvm-cfe97b78e787d232f4a82f5ff0afadf75ba95f6c.zip
external_llvm-cfe97b78e787d232f4a82f5ff0afadf75ba95f6c.tar.gz
external_llvm-cfe97b78e787d232f4a82f5ff0afadf75ba95f6c.tar.bz2
Don't print newlines between each library in the deplibs list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16331 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/AsmWriter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 7f862df..ea19477 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -765,15 +765,15 @@ void AssemblyWriter::printModule(const Module *M) {
Out << "target triple = \"" << M->getTargetTriple() << "\"\n";
// Loop over the dependent libraries and emit them
- Module::lib_iterator LI= M->lib_begin();
- Module::lib_iterator LE= M->lib_end();
+ Module::lib_iterator LI = M->lib_begin();
+ Module::lib_iterator LE = M->lib_end();
if (LI != LE) {
- Out << "deplibs = [\n";
- while ( LI != LE ) {
+ Out << "deplibs = [ ";
+ while (LI != LE) {
Out << "\"" << *LI << "\"";
++LI;
- if ( LI != LE )
- Out << ",\n";
+ if (LI != LE)
+ Out << ", ";
}
Out << " ]\n";
}