mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 02:25:19 +00:00
System/Path: Add x86-64 COFF to IdentifyFileType.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114037 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -127,6 +127,10 @@ sys::IdentifyFileType(const char *magic, unsigned length) {
|
|||||||
if (magic[1] == 0x02)
|
if (magic[1] == 0x02)
|
||||||
return COFF_FileType;
|
return COFF_FileType;
|
||||||
break;
|
break;
|
||||||
|
case 0x64: // x86-64 Windows.
|
||||||
|
if (magic[1] == char(0x86))
|
||||||
|
return COFF_FileType;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user