From eddbb0756195dea954a80dfd0a30e77b75790e1e Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 15 May 2007 13:54:14 +0000 Subject: [PATCH] The index into the actions table is a ULEB128 not a SLEB128. llvm-svn: 37084 --- lib/CodeGen/DwarfWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.