[all-commits] [llvm/llvm-project] c6f7ac: [llvm-lipo] Add support for bitcode files
Adrien Guinet via All-commits
all-commits at lists.llvm.org
Tue Aug 25 21:11:46 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c6f7ac0071a1849a9f8046e2045e1631e224f1bd
https://github.com/llvm/llvm-project/commit/c6f7ac0071a1849a9f8046e2045e1631e224f1bd
Author: Adrien Guinet <adrien at guinet.me>
Date: 2020-08-25 (Tue, 25 Aug 2020)
Changed paths:
M llvm/include/llvm/Object/Binary.h
M llvm/include/llvm/Object/MachOUniversal.h
M llvm/include/llvm/Object/MachOUniversalWriter.h
M llvm/lib/Object/Binary.cpp
M llvm/lib/Object/MachOUniversal.cpp
M llvm/lib/Object/MachOUniversalWriter.cpp
A llvm/test/tools/llvm-lipo/Inputs/arm64-ios.ll
A llvm/test/tools/llvm-lipo/Inputs/armv7-ios.ll
A llvm/test/tools/llvm-lipo/Inputs/x64-osx.ll
A llvm/test/tools/llvm-lipo/archs-ir-binary.test
A llvm/test/tools/llvm-lipo/create-arch-ir.test
M llvm/test/tools/llvm-lipo/create-archive-input.test
A llvm/test/tools/llvm-lipo/info-universal-binary-ir.test
A llvm/test/tools/llvm-lipo/thin-universal-binary-ir.test
M llvm/tools/llvm-lipo/CMakeLists.txt
M llvm/tools/llvm-lipo/LLVMBuild.txt
M llvm/tools/llvm-lipo/llvm-lipo.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list