mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-23 03:59:12 +00:00
Don't print newlines between each library in the deplibs list.
llvm-svn: 16331
This commit is contained in:
parent
aee36bb527
commit
c131f05ebb
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user