[all-commits] [llvm/llvm-project] d8cef4: [MC] Detect out of range jumps further than 2^32 b...
Daniel Hoekwater via All-commits
all-commits at lists.llvm.org
Thu Jun 22 15:00:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d8cef4f8fa9c122fb86d1953a754b37bdcfeb053
https://github.com/llvm/llvm-project/commit/d8cef4f8fa9c122fb86d1953a754b37bdcfeb053
Author: Daniel Hoekwater <hoekwater at google.com>
Date: 2023-06-22 (Thu, 22 Jun 2023)
Changed paths:
M llvm/lib/MC/MCAssembler.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list