mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-01 13:20:25 +00:00
[ELF] More self-explanatory error message when e_machine can't be inferred.
Thanks to Sean Silva for the suggestion! llvm-svn: 274134
This commit is contained in:
parent
7108db7714
commit
e3fa8f64da
@ -583,7 +583,7 @@ static uint8_t getMachineKind(MemoryBufferRef MB) {
|
||||
case Triple::x86_64:
|
||||
return EM_X86_64;
|
||||
default:
|
||||
fatal("unsupported architecture: " + TripleStr);
|
||||
fatal("could not infer e_machine from bitcode target triple " + TripleStr);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user