mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-22 13:32:09 +00:00
System/Path: Add x86-64 COFF to IdentifyFileType.
llvm-svn: 114037
This commit is contained in:
parent
445e4de610
commit
4b7f13a515
@ -127,6 +127,10 @@ sys::IdentifyFileType(const char *magic, unsigned length) {
|
||||
if (magic[1] == 0x02)
|
||||
return COFF_FileType;
|
||||
break;
|
||||
case 0x64: // x86-64 Windows.
|
||||
if (magic[1] == char(0x86))
|
||||
return COFF_FileType;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user