A reproducer replay hit an llvm_unreachable in Target.cpp because the architecture was not set and therefore the ArchSpec was invalid.
Unhandled architecture in Platform::GetSoftwareBreakpointTrapOpcode UNREACHABLE executed at /Users/jonas/llvm/llvm-project/lldb/source/Target/Platform.cpp:1922!
The unhandled case is llvm::Triple::UnknownArch. Alternatively we can add a case for it to the switch statement, but checking IsValid seemed more canonical.
would be nice to log something here on the "lldb break" log channel?