mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-18 13:34:04 +00:00
Speculatively fix some code handling Power64 MachO files
MSVC was warning on a switch containing only default labels. In this instance, it looks like it uncovered a real bug. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212062 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3b15c970ab
commit
b23ae55c4d
@ -1565,9 +1565,9 @@ Triple MachOObjectFile::getArch(uint32_t CPUType, uint32_t CPUSubType) {
|
||||
return Triple();
|
||||
}
|
||||
case MachO::CPU_TYPE_POWERPC64:
|
||||
switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) {
|
||||
case MachO::CPU_SUBTYPE_POWERPC_ALL:
|
||||
return Triple("ppc64-apple-darwin");
|
||||
switch (CPUSubType & ~MachO::CPU_SUBTYPE_MASK) {
|
||||
default:
|
||||
return Triple();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user