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:
parent
bc1d56eafa
commit
7b6e8ef64b
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue