Print the array flag
authorChris Lattner <sabre@nondot.org>
Sun, 20 Oct 2002 20:29:10 +0000 (20:29 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 20 Oct 2002 20:29:10 +0000 (20:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4231 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DataStructure/Printer.cpp

index 1c377f6f1e7b4718015606dab58f783a8e80cff2..b37adc895dfb1aa83f4f0e4490d50e8461864d7e 100644 (file)
@@ -31,6 +31,8 @@ static string getCaption(const DSNode *N, const DSGraph *G) {
     WriteTypeSymbolic(OS, N->getTypeEntries()[i].Ty, M);
     if (N->getTypeEntries()[i].Offset)
       OS << "@" << N->getTypeEntries()[i].Offset;
+    if (N->getTypeEntries()[i].isArray)
+      Os << " array";
     OS << "\n";
   }