aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-05-15 13:54:14 +0000
committerDuncan Sands <baldrick@free.fr>2007-05-15 13:54:14 +0000
commit49b5c27baa5a7ee0bb5eb8b6b439c30837011fcf (patch)
tree703fe4a042ef93270521f9731eec8d5b080cdd37 /lib/CodeGen/DwarfWriter.cpp
parente4285dc1db3b830814ac153b6ee0d9b0b069991d (diff)
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
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--lib/CodeGen/DwarfWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp
index ec19fc208c..480e9c102b 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.