[ORC] Add MachO universal binary support to StaticLibraryDefinitionGenerator.
authorLang Hames <lhames@gmail.com>
Sat, 4 Apr 2020 16:50:56 +0000 (09:50 -0700)
committerLang Hames <lhames@gmail.com>
Mon, 6 Apr 2020 03:21:05 +0000 (20:21 -0700)
commit1b39c6f62c7c0345f2260f1cca26f93c0fb2f75a
tree2c7174d9a592b1e253dae43e617c106fbcb62c54
parent322c235a522b880a830fd2f22da5f9591fa1d468
[ORC] Add MachO universal binary support to StaticLibraryDefinitionGenerator.

Add a new overload of StaticLibraryDefinitionGenerator::Load that takes a triple
argument and supports loading archives from MachO universal binaries in addition
to regular archives.

The LLI tool is updated to use this overload.
llvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
llvm/include/llvm/Object/MachOUniversal.h
llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
llvm/test/ExecutionEngine/OrcLazy/macho-universal-static-library-support.ll [new file with mode: 0644]
llvm/tools/lli/lli.cpp
llvm/utils/lit/lit/llvm/config.py