aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode/Reader/BytecodeReader.cpp
diff options
context:
space:
mode:
authorDaniel Hoekwater <hoekwater@google.com>2023-06-22 03:56:14 +0000
committerDaniel Hoekwater <hoekwater@google.com>2023-06-22 21:56:22 +0000
commitd8cef4f8fa9c122fb86d1953a754b37bdcfeb053 (patch)
treeac53d4bd4ce1a23df7ea7f854d3488df1924fca2 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp
parent16e1b8d6c0756465ce5cf37cc194944d8095d852 (diff)
downloadllvm-d8cef4f8fa9c122fb86d1953a754b37bdcfeb053.zip
llvm-d8cef4f8fa9c122fb86d1953a754b37bdcfeb053.tar.gz
llvm-d8cef4f8fa9c122fb86d1953a754b37bdcfeb053.tar.bz2
[MC] Detect out of range jumps further than 2^32 bytes
On AArch64, object files may be greater than 2^32 bytes. If an offset is greater than the max value of a 32-bit unsigned integer, LLVM silently truncates the offset. Instead, make it return an error. Differential Revision: https://reviews.llvm.org/D153494
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions