forked from OSchip/llvm-project
rdar://problem/11374963
Fix a subtle ArchSpec::cores_match() logic issue which prevents the add-dsym command to add a debug symbol file to one of the target's current modules. llvm-svn: 162802
This commit is contained in:
parent
272b7dc8ae
commit
1083b0dea6
|
@ -862,6 +862,15 @@ cores_match (const ArchSpec::Core core1, const ArchSpec::Core core2, bool try_in
|
|||
return true;
|
||||
break;
|
||||
|
||||
case ArchSpec::eCore_arm_armv7:
|
||||
case ArchSpec::eCore_arm_armv7f:
|
||||
case ArchSpec::eCore_arm_armv7k:
|
||||
case ArchSpec::eCore_arm_armv7s:
|
||||
try_inverse = false;
|
||||
if (core2 == ArchSpec::eCore_arm_armv7)
|
||||
return true;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue