[llvm] r244327 - Use 'signed char' instead of 'char'

Frederic Riss via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 7 09:32:00 PDT 2015


Author: friss
Date: Fri Aug  7 11:31:59 2015
New Revision: 244327

URL: http://llvm.org/viewvc/llvm-project?rev=244327&view=rev
Log:
Use 'signed char' instead of 'char'

Hope this fixes the s390 and aarch64 bots.

Modified:
    llvm/trunk/include/llvm/MC/MCDwarf.h

Modified: llvm/trunk/include/llvm/MC/MCDwarf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCDwarf.h?rev=244327&r1=244326&r2=244327&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCDwarf.h (original)
+++ llvm/trunk/include/llvm/MC/MCDwarf.h Fri Aug  7 11:31:59 2015
@@ -190,7 +190,7 @@ struct MCDwarfLineTableParams {
   unsigned char DWARF2LineOpcodeBase = 13;
   /// Minimum line offset in a special line info. opcode.  The value
   /// -5 was chosen to give a reasonable range of values.
-  char DWARF2LineBase = -5;
+  signed char DWARF2LineBase = -5;
   /// Range of line offsets in a special line info. opcode.
   unsigned char DWARF2LineRange = 14;
 };




More information about the llvm-commits mailing list