diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-08-09 12:43:25 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-08-09 12:43:25 +0000 |
commit | 991834a51616799456a5e65cefde2f41c350aca2 (patch) | |
tree | 2d3ed7e2609e250005b9af9d51ff74d1dc5b3386 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 8616a7702636b17deebf182146a84d3f2458b94d (diff) | |
download | llvm-991834a51616799456a5e65cefde2f41c350aca2.zip llvm-991834a51616799456a5e65cefde2f41c350aca2.tar.gz llvm-991834a51616799456a5e65cefde2f41c350aca2.tar.bz2 |
[GlobalOpt] prevent crashing on large integer types (PR42932)
This is a minimal fix (copy the predicate for the assert) to
prevent the crashing seen in:
https://bugs.llvm.org/show_bug.cgi?id=42932
...when converting a constant integer of arbitrary width to uint64_t.
Differential Revision: https://reviews.llvm.org/D65970
llvm-svn: 368437
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions