From: Duncan Sands Date: Tue, 15 May 2007 13:54:14 +0000 (+0000) Subject: The index into the actions table is a ULEB128 not a SLEB128. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=49b5c27baa5a7ee0bb5eb8b6b439c30837011fcf;p=oota-llvm.git The index into the actions table is a ULEB128 not a SLEB128. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37084 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index ec19fc208c3..480e9c102bc 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -2975,7 +2975,7 @@ private: SizeSites += M*(sizeof(int32_t) + // Site start. sizeof(int32_t) + // Site length. sizeof(int32_t) + // Landing pad. - Asm->SizeSLEB128(FirstAction)); // Action. + Asm->SizeULEB128(FirstAction)); // Action. } // Final tallies.