Fix llvm_unreachable in TestWriteMemory
authorPavel Labath <pavel@labath.sk>
Tue, 2 Apr 2019 08:56:22 +0000 (08:56 +0000)
committerPavel Labath <pavel@labath.sk>
Tue, 2 Apr 2019 08:56:22 +0000 (08:56 +0000)
commit821263faa56af1ac2e0466d1c41df48018963bcb
tree7e4c77ff5ad0408c3eec104603f8060524642a64
parent1c4ee1601260d3dfc73c7c69b2f02fc4888a5e6e
Fix llvm_unreachable in TestWriteMemory

The test was hitting llvm_unreachable in
Platform::GetSoftwareBreakpointTrapOpcode because it could not figure
out the architecture of the process. Since that is not the purpose of
the test, I change the test to use an explicit
CreateTargetWithFileAndTargetTriple command to specify it.

llvm-svn: 357456
lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWriteMemory.py