forked from OSchip/llvm-project
Make getObjectType() smarter about ranlibbed Mac OS X archives.
llvm-svn: 10493
This commit is contained in:
parent
91ed92fe5f
commit
0a9980582d
|
@ -53,6 +53,8 @@ static enum ObjectType getObjectType(ar_hdr *H, unsigned char *MemberData,
|
|||
// Check for sections with special names...
|
||||
if (!memcmp(H->name, "__.SYMDEF ", 16))
|
||||
return ArchiveSymbolTable;
|
||||
if (!memcmp(H->name, "__.SYMDEF SORTED", 16))
|
||||
return ArchiveSymbolTable;
|
||||
if (!memcmp(H->name, "// ", 16))
|
||||
return SVR4LongFilename;
|
||||
|
||||
|
|
Loading…
Reference in New Issue