[Support] Fix the overflow bug in ULEB128 decoding.
authorAlex Lorenz <arphaman@gmail.com>
Fri, 22 Aug 2014 16:29:45 +0000 (16:29 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Fri, 22 Aug 2014 16:29:45 +0000 (16:29 +0000)
commit4ef54c3f85f296ea5c80969ce47a1d80856ebc8a
treea150f3a7c6f0015f688a921faffb384a1832fb5c
parentcc59c3f33500022940a12522a877204a70718866
[Support] Fix the overflow bug in ULEB128 decoding.

Differential Revision: http://reviews.llvm.org/D5029

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216268 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/LEB128.h
unittests/Support/LEB128Test.cpp