[llvm-commits] [llvm] r97108 - /llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp

Sanjiv Gupta sanjiv.gupta at microchip.com
Wed Feb 24 19:54:49 PST 2010


Author: sgupta
Date: Wed Feb 24 21:54:49 2010
New Revision: 97108

URL: http://llvm.org/viewvc/llvm-project?rev=97108&view=rev
Log:
Each field of auxiliary debug entry is only 1 byte long.

Modified:
    llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp

Modified: llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp?rev=97108&r1=97107&r2=97108&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp (original)
+++ llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp Wed Feb 24 21:54:49 2010
@@ -419,7 +419,7 @@
   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.





More information about the llvm-commits mailing list