mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
1528fde232
This reapplies r366142 with a fix for the failing Windows test. Original commit message: Creates universal binary output file from input files. Currently uses hard coded value for alignment. Want to get the create functionality approved before implementing the alignment function. Patch by Anusha Basana <anusha.basana@gmail.com> Differential Revision: https://reviews.llvm.org/D64102 llvm-svn: 366512
9 lines
498 B
Plaintext
9 lines
498 B
Plaintext
# RUN: yaml2obj %p/Inputs/i386-slice.yaml > %t-32.o
|
|
# RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml > %t-universal.o
|
|
|
|
# RUN: not llvm-lipo %t-32.o -create 2>&1 | FileCheck --check-prefix=NO_OUTPUT %s
|
|
# NO_OUTPUT: error: create expects a single output file to be specified
|
|
|
|
# RUN: not llvm-lipo %t-universal.o %t-32.o -create -output %t.o 2>&1 | FileCheck --check-prefix=DUPLICATE_ARCHS %s
|
|
# DUPLICATE_ARCHS: have the same architecture i386 and therefore cannot be in the same universal binary
|