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

Bill Wendling isanbard at gmail.com
Thu Jun 26 01:32:54 PDT 2008


On Jun 26, 2008, at 1:03 AM, Jean-Daniel Dupas wrote:

>
> Le 26 juin 08 à 07:17, Chris Lattner a écrit :
>
>>
>> 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
>
> Woops, sorry, I miss a "type can be used uninitialized" warning.
>
Applied. Merci encore! ;-)

-bw



More information about the llvm-dev mailing list