mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-02 21:31:41 +00:00
[llvm-dlltool] Map the "arm64" machine type
Differential Revision: https://reviews.llvm.org/D36365 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310223 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4e37712e3b
commit
157c9319f6
@ -76,6 +76,7 @@ static MachineTypes getEmulation(StringRef S) {
|
||||
.Case("i386", IMAGE_FILE_MACHINE_I386)
|
||||
.Case("i386:x86-64", IMAGE_FILE_MACHINE_AMD64)
|
||||
.Case("arm", IMAGE_FILE_MACHINE_ARMNT)
|
||||
.Case("arm64", IMAGE_FILE_MACHINE_ARM64)
|
||||
.Default(IMAGE_FILE_MACHINE_UNKNOWN);
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
; RUN: llvm-dlltool -m i386:x86-64 --input-def %s --output-lib %t.a
|
||||
; RUN: llvm-readobj -coff-exports %t.a | FileCheck %s
|
||||
; RUN: llvm-dlltool -m arm64 --input-def %s --output-lib %t.a
|
||||
; RUN: llvm-readobj -coff-exports %t.a | FileCheck %s
|
||||
|
||||
LIBRARY test.dll
|
||||
EXPORTS
|
||||
|
Loading…
x
Reference in New Issue
Block a user