[llvm] [BOLT] Err when linking objects of different architectures (PR #66770)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 22 12:15:27 PDT 2023


aaupov wrote:

Good catch, thanks for the added check. We should err but that doesn't address the rootcause. In principle, we should support something akin to LLVM_RUNTIME_TARGETS. 

Can you please add a test with x86 host (`REQUIRES: target=x86_64{{.*}}`) instrumenting aarch64 binary?

https://github.com/llvm/llvm-project/pull/66770


More information about the llvm-commits mailing list