Fix left shifts by too large exponents in MCParser
authorAlexey Samsonov <vonosmas@gmail.com>
Tue, 2 Sep 2014 17:25:29 +0000 (17:25 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Tue, 2 Sep 2014 17:25:29 +0000 (17:25 +0000)
commit251da88db88aba0393470694a1a2739f0daf3182
treeda1ee52e132af6c7f66ab94c502ae15f9488d539
parentca514a41ea91c14b02bcb95691ae6c8c36f50706
Fix left shifts by too large exponents in MCParser
(which happened only on error recovery path).

This bug was reported by UBSan.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216915 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp