[PATCH] Initial support for Mach-O universal binaries in LLVMObject
Rafael Ávila de Espíndola
rafael.espindola at gmail.com
Fri Jun 14 17:58:41 PDT 2013
It is probably better to extend the patch to the point were we can get macho-dump or llvm-readobject to print something so that we can add a test.
================
Comment at: include/llvm/Object/MachOUniversal.h:40
@@ +39,3 @@
+ ObjectFile *getObjectForArch(Triple::ArchType Arch) const;
+ ObjectFile *getObjectForArch(StringRef ArchName) const;
+
----------------
Why both? Why not let the caller get Triple::ArchType?
http://llvm-reviews.chandlerc.com/D978
More information about the llvm-commits
mailing list