Don't make up new directives. (".set_foobar")
authorNick Lewycky <nicholas@mxc.ca>
Thu, 7 Feb 2008 06:36:26 +0000 (06:36 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 7 Feb 2008 06:36:26 +0000 (06:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46848 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter.cpp

index 820d75c4a0b08d856ead3d6a56a1540780e0eefa..b718958f974f579f72215a878bb92a7618ae8804 100644 (file)
@@ -157,7 +157,7 @@ bool AsmPrinter::doFinalization(Module &M) {
       else if (!I->hasInternalLinkage())
         assert(0 && "Invalid alias linkage");
       
-      O << TAI->getSetDirective() << Name << ", " << Target << "\n";
+      O << TAI->getSetDirective() << ' ' << Name << ", " << Target << "\n";
 
       // If the aliasee has external weak linkage it can be referenced only by
       // alias itself. In this case it can be not in ExtWeakSymbols list. Emit