summaryrefslogtreecommitdiff
path: root/include/llvm/MC/MCAsmInfo.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-06-23 18:31:11 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-06-23 18:31:11 +0000
commitfe2e66a6dab6162fb10ed2d576cd122f34d2626f (patch)
treee5a3ced413efe71d005f3acf6159f4e8af54b198 /include/llvm/MC/MCAsmInfo.h
parent7130a9561787cf14d5349d22cde1e0b3a4d5c21d (diff)
downloadllvm-fe2e66a6dab6162fb10ed2d576cd122f34d2626f.tar.gz
llvm-fe2e66a6dab6162fb10ed2d576cd122f34d2626f.tar.bz2
llvm-fe2e66a6dab6162fb10ed2d576cd122f34d2626f.tar.xz
DebugInfo: PR14404: Avoid truncating 64 bit values into 32 bits for ULEB128/SLEB128 generation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCAsmInfo.h')
-rw-r--r--include/llvm/MC/MCAsmInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/MC/MCAsmInfo.h b/include/llvm/MC/MCAsmInfo.h
index 781a9d010b..201b2eb182 100644
--- a/include/llvm/MC/MCAsmInfo.h
+++ b/include/llvm/MC/MCAsmInfo.h
@@ -344,8 +344,8 @@ namespace llvm {
virtual ~MCAsmInfo();
// FIXME: move these methods to DwarfPrinter when the JIT stops using them.
- static unsigned getSLEB128Size(int Value);
- static unsigned getULEB128Size(unsigned Value);
+ static unsigned getSLEB128Size(int64_t Value);
+ static unsigned getULEB128Size(uint64_t Value);
/// getPointerSize - Get the pointer size in bytes.
unsigned getPointerSize() const {