forked from OSchip/llvm-project
[LLDB] [Windows] Map COFF ARM machine ids to the right triple architectures
Differential Revision: https://reviews.llvm.org/D67913 llvm-svn: 372658
This commit is contained in:
parent
638f072f87
commit
e64849b11e
|
@ -56,6 +56,10 @@ bool GetTripleForProcess(const FileSpec &executable, llvm::Triple &triple) {
|
|||
triple.setArch(llvm::Triple::x86_64);
|
||||
else if (machineType == 0x14c)
|
||||
triple.setArch(llvm::Triple::x86);
|
||||
else if (machineType == 0x1c4)
|
||||
triple.setArch(llvm::Triple::arm);
|
||||
else if (machineType == 0xaa64)
|
||||
triple.setArch(llvm::Triple::aarch64);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue