Let's ignore MDStrings also!
[oota-llvm.git] / lib / Target / Mips / AsmPrinter / MipsAsmPrinter.cpp
index f3dc7efcc11a69b2f5268883cdc776a412813b8c..431630b146543439ed66f05b616da69e159291cd 100644 (file)
@@ -484,7 +484,7 @@ printModuleLevelGV(const GlobalVariable* GVar) {
   O << "\n\n";
   std::string name = Mang->getValueName(GVar);
   Constant *C = GVar->getInitializer();
-  if (isa<MDNode>(C))
+  if (isa<MDNode>(C) || isa<MDString>(C))
     return;
   const Type *CTy = C->getType();
   unsigned Size = TD->getTypeAllocSize(CTy);