Allow ObjectFilePECOFF to initialize with ARM binaries.
Summary: This is required to start debugging WinPhone ARM targets. Reviewers: compnerd, zturner, omjavaid Reviewed By: compnerd Subscribers: jasonmolenda, aemerson, rengolin, lldb-commits Differential Revision: https://reviews.llvm.org/D19604 llvm-svn: 316532
This commit is contained in:
@@ -136,6 +136,11 @@ size_t ObjectFilePECOFF::GetModuleSpecifications(
|
||||
spec.SetTriple("i686-pc-windows");
|
||||
specs.Append(ModuleSpec(file, spec));
|
||||
}
|
||||
else if (coff_header.machine == MachineArmNt)
|
||||
{
|
||||
spec.SetTriple("arm-pc-windows");
|
||||
specs.Append(ModuleSpec(file, spec));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user