[PATCH] Initial support for Mach-O universal binaries in LLVMObject

Alexey Samsonov samsonov at google.com
Fri Jun 14 02:34:47 PDT 2013


Hi rafael,

This change allows LLVMObject library to correctly parse
Mach-O universal binaries and return contained Mach-O object files
for a given architecture. The goal is to be able to handle universal binaries
in LLVM tools, such as llvm-nm (to dump symbol tables from all contained objects)
or llvm-symbolizer.

http://llvm-reviews.chandlerc.com/D978

Files:
  include/llvm/Support/FileSystem.h
  include/llvm/Object/MachOFormat.h
  include/llvm/Object/MachOUniversal.h
  include/llvm/Object/Binary.h
  lib/Object/ObjectFile.cpp
  lib/Object/MachOUniversal.cpp
  lib/Object/Binary.cpp
  lib/Object/CMakeLists.txt
  lib/Support/PathV2.cpp
  lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D978.1.patch
Type: text/x-patch
Size: 10240 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130614/9648f696/attachment.bin>


More information about the llvm-commits mailing list