[LLVMdev] [PATCH] Mach-O Identify File Type

Chris Lattner sabre at nondot.org
Wed Jun 25 22:17:58 PDT 2008


On Jun 25, 2008, at 4:59 PM, Jean-Daniel Dupas wrote:

> An improved Mach-O file type detection for sys::IdentifyFileType()
> This patch add supports for single architecture mach-o files (the  
> current implementation only support Universal Binary), and solve the  
> signature conflict between java class and Universal Binary magics.
>
> Note that this function will always returned dynamic library for  
> Universal Binaries (like the current implementation) because the  
> binary type is not include in the file header.

Applied, thanks!
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20080623/064180.html

-Chris



More information about the llvm-dev mailing list