use both the Mangler and the CBE's mangler for identifiers,
[oota-llvm.git] / lib / MC / MCAssembler.cpp
index 4f39f1e03f682f5e69ac0519a33da6151011143e..f0f5a47eb2c92c64521f6f17aac13f5533d1874f 100644 (file)
@@ -180,7 +180,7 @@ public:
     OS << StringRef(Zeros, N % 16);
   }
 
-  void WriteString(const StringRef &Str, unsigned ZeroFillSize = 0) {
+  void WriteString(StringRef Str, unsigned ZeroFillSize = 0) {
     OS << Str;
     if (ZeroFillSize)
       WriteZeros(ZeroFillSize - Str.size());
@@ -679,8 +679,6 @@ public:
       UndefinedSymbolData[i].SymbolData->setIndex(Index++);
 
     // The string table is padded to a multiple of 4.
-    //
-    // FIXME: Check to see if this varies per arch.
     while (StringTable.size() % 4)
       StringTable += '\x00';
   }