summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2010-02-25 03:54:49 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2010-02-25 03:54:49 +0000
commitad117dac4b89482afa471ae2dc41f26765b481fc (patch)
tree7d1599a3e6c58517348f1c659160939c2d5efbf9 /llvm/lib/Target
parent422f778ba1ad323a3f5e396a9c7469d7aa3ac572 (diff)
downloadbcm5719-llvm-ad117dac4b89482afa471ae2dc41f26765b481fc.tar.gz
bcm5719-llvm-ad117dac4b89482afa471ae2dc41f26765b481fc.zip
Each field of auxiliary debug entry is only 1 byte long.
llvm-svn: 97108
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/PIC16/PIC16DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp b/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
index c517b1bff6e..877e4ffc6d7 100644
--- a/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
+++ b/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
@@ -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.
OpenPOWER on IntegriCloud