1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/tools/llvm-lipo/archs-ir-binary.test
Adrien Guinet add1ee3a12 [llvm-lipo] Add support for bitcode files
A Mach-O universal binary may contain bitcode as a slice.
This diff adds proper handling of such binaries to llvm-lipo.

Test plan: make check-all

Differential revision: https://reviews.llvm.org/D85740
2020-08-25 21:11:18 -07:00

5 lines
118 B
Plaintext

# RUN: llvm-as %p/Inputs/armv7-ios.ll -o %t-armv7.o
# RUN: llvm-lipo -archs %t-armv7.o | FileCheck %s
# CHECK: armv7