File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
lib/ToolDrivers/llvm-dlltool Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ MachineTypes getEmulation(StringRef S) {
7676 .Case (" arm" , IMAGE_FILE_MACHINE_ARMNT)
7777 .Case (" arm64" , IMAGE_FILE_MACHINE_ARM64)
7878 .Case (" arm64ec" , IMAGE_FILE_MACHINE_ARM64EC)
79+ .Case (" mipsel" , IMAGE_FILE_MACHINE_R4000)
7980 .Default (IMAGE_FILE_MACHINE_UNKNOWN);
8081}
8182
Original file line number Diff line number Diff line change 66; RUN: llvm-readobj %t.a | FileCheck --check-prefix=ARM %s
77; RUN: llvm-dlltool -m arm64 -d %s -l %t.a
88; RUN: llvm-readobj %t.a | FileCheck --check-prefix=ARM64 %s
9+ ; RUN: llvm-dlltool -m mipsel -d %s -l %t.a
10+ ; RUN: llvm-readobj %t.a | FileCheck --check-prefix=MIPSEL %s
911
1012LIBRARY test.dll
1113EXPORTS
@@ -15,3 +17,4 @@ TestFunction
1517; X86_64: Format: COFF-x86-64
1618; ARM: Format: COFF-ARM{{$}}
1719; ARM64: Format: COFF-ARM64
20+ ; MIPSEL: Format: COFF-R4000
You can’t perform that action at this time.
0 commit comments