Each field of auxiliary debug entry is only 1 byte long.
authorSanjiv Gupta <sanjiv.gupta@microchip.com>
Thu, 25 Feb 2010 03:54:49 +0000 (03:54 +0000)
committerSanjiv Gupta <sanjiv.gupta@microchip.com>
Thu, 25 Feb 2010 03:54:49 +0000 (03:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97108 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PIC16/PIC16DebugInfo.cpp

index c517b1bff6e0934fd1c2f2b1e9194dd8bc3e7478..877e4ffc6d76bfc0548bbc7938a0f7649c28742a 100644 (file)
@@ -419,7 +419,7 @@ void PIC16DbgInfo::EmitAuxEntry(const std::string VarName, int Aux[], int Num,
   if (TagName != "")
     O << ", " << TagName;
   for (int i = 0; i<Num; i++)
-    O << "," << Aux[i];
+    O << "," << (Aux[i] && 0xff);
 }
 
 /// EmitSymbol - Emit .def for a symbol. Value is offset for the member.