Skip to content
Unverified Commit 37a8cfb4 authored by Job Noorman's avatar Job Noorman Committed by GitHub
Browse files

[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.
parent 17414eae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment