mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-23 17:28:54 +00:00
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
This commit is contained in:
@@ -765,15 +765,15 @@ void AssemblyWriter::printModule(const Module *M) {
|
|||||||
Out << "target triple = \"" << M->getTargetTriple() << "\"\n";
|
Out << "target triple = \"" << M->getTargetTriple() << "\"\n";
|
||||||
|
|
||||||
// Loop over the dependent libraries and emit them
|
// Loop over the dependent libraries and emit them
|
||||||
Module::lib_iterator LI= M->lib_begin();
|
Module::lib_iterator LI = M->lib_begin();
|
||||||
Module::lib_iterator LE= M->lib_end();
|
Module::lib_iterator LE = M->lib_end();
|
||||||
if (LI != LE) {
|
if (LI != LE) {
|
||||||
Out << "deplibs = [\n";
|
Out << "deplibs = [ ";
|
||||||
while ( LI != LE ) {
|
while (LI != LE) {
|
||||||
Out << "\"" << *LI << "\"";
|
Out << "\"" << *LI << "\"";
|
||||||
++LI;
|
++LI;
|
||||||
if ( LI != LE )
|
if (LI != LE)
|
||||||
Out << ",\n";
|
Out << ", ";
|
||||||
}
|
}
|
||||||
Out << " ]\n";
|
Out << " ]\n";
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user