aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2014-10-08 01:48:10 +0000
committerNick Kledzik <kledzik@apple.com>2014-10-08 01:48:10 +0000
commit14b5d208cba5ff5c5d779c104efa62be48ae4134 (patch)
tree4d9b38f1ae7965fc62468d252b9302d99955a07b /llvm/lib/CodeGen/MachineFunction.cpp
parentf20143825cf97e581334a57c1c69d5914601a1ea (diff)
downloadllvm-14b5d208cba5ff5c5d779c104efa62be48ae4134.zip
llvm-14b5d208cba5ff5c5d779c104efa62be48ae4134.tar.gz
llvm-14b5d208cba5ff5c5d779c104efa62be48ae4134.tar.bz2
[mach-o] Support fat archives
mach-o supports "fat" files which are a header/table-of-contents followed by a concatenation of mach-o files (or archives of mach-o files) built for different architectures. Previously, the support for fat files was in the MachOReader, but that only supported fat .o files and dylibs (not archives). The fix is to put the fat handing into MachOFileNode. That way any input file kind (including archives) can be fat. MachOFileNode selects the sub-range of the fat file that matches the arch being linked and creates a MemoryBuffer for just that subrange. llvm-svn: 219268
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions