aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16
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
commitf018cb2e88942c800afd307e055b5418089d7545 (patch)
tree31c720b9e83f37acc2877c6eb45acbbe90a5f20b /lib/Target/PIC16
parentfe73c98af21bccfaa2016ad98aabb10858a16f2c (diff)
downloadexternal_llvm-f018cb2e88942c800afd307e055b5418089d7545.zip
external_llvm-f018cb2e88942c800afd307e055b5418089d7545.tar.gz
external_llvm-f018cb2e88942c800afd307e055b5418089d7545.tar.bz2
Each field of auxiliary debug entry is only 1 byte long.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16')
-rw-r--r--lib/Target/PIC16/PIC16DebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16DebugInfo.cpp b/lib/Target/PIC16/PIC16DebugInfo.cpp
index c517b1b..877e4ff 100644
--- a/lib/Target/PIC16/PIC16DebugInfo.cpp
+++ b/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.