Commit Graph

2 Commits

Author SHA1 Message Date
Vincent Lee 79e5c5004e [llvm-lipo] Fix create-arch-asm test by requiring x86 and aarch64 target
https://reviews.llvm.org/D133729 broke the buildbots because some
don't build with both x86 and aarch64 targets. Adding REQUIRES
to make sure this test only runs when specifying for both arch.
2022-09-12 18:57:01 -07:00
Vincent Lee 61e5438498 [llvm-lipo] Support object files with bitcode asm
llvm-lipo crashes when trying to use inputs that contain bitcode asm instructions.
This happens when trying to create universal binaries for LLVM with LTO.
https://reviews.llvm.org/D118575 is a similar change that ran into this same issue, and I'm
mirroring the same change by registering the targets to fix this issue.

Reviewed By: alexander-shaposhnikov, keith

Differential Revision: https://reviews.llvm.org/D133729
2022-09-12 18:14:22 -07:00