[lldb] Stop passing both i386 and i686 in parallel as architectures on Windows
When an object file returns multiple architectures, it is treated as a fat binary - which really isn't the case of i386 vs i686 where the object file actually has one architecture. This allows getting rid of hardcoded architecture triples in PlatformWindows. The parallel i386 and i686 architecture strings stem from5e6f45201f/ D7120 andad587ae4ca/ D4658. Differential Revision: https://reviews.llvm.org/D128617
This commit is contained in:
@@ -337,9 +337,6 @@ size_t ObjectFilePECOFF::GetModuleSpecifications(
|
||||
spec.SetTriple("i386-pc-windows");
|
||||
spec.GetTriple().setEnvironment(env);
|
||||
specs.Append(module_spec);
|
||||
spec.SetTriple("i686-pc-windows");
|
||||
spec.GetTriple().setEnvironment(env);
|
||||
specs.Append(module_spec);
|
||||
break;
|
||||
case MachineArmNt:
|
||||
spec.SetTriple("armv7-pc-windows");
|
||||
|
||||
Reference in New Issue
Block a user