[all-commits] [llvm/llvm-project] 37a8cf: [BOLT] Err when linking objects of different archi...
Job Noorman via All-commits
all-commits at lists.llvm.org
Tue Oct 10 02:22:06 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 37a8cfb4f24a1e53d007c0eb2525c737f885949d
https://github.com/llvm/llvm-project/commit/37a8cfb4f24a1e53d007c0eb2525c737f885949d
Author: Job Noorman <jnoorman at igalia.com>
Date: 2023-10-10 (Tue, 10 Oct 2023)
Changed paths:
M bolt/lib/Rewrite/JITLinkLinker.cpp
A bolt/test/runtime/instrument-wrong-target.s
Log Message:
-----------
[BOLT] Err when linking objects of different architectures (#66770)
This could happen, for example, when instrumenting an AArch64 binary on
an x86 host because the instrumentation library is always built for the
host.
Note that this check will probably need to be refined in the future as
merely having the same architecture does not guarantee objects can be
linked. For example, on RISC-V, the float ABI of all objects should
match.
More information about the All-commits
mailing list