Add mips64el trap opcode to PlatformFreeBSD as well

llvm-svn: 237315
This commit is contained in:
Ed Maste 2015-05-13 23:12:51 +00:00
parent a22b250c6f
commit da04cb2643
1 changed files with 7 additions and 0 deletions

View File

@ -612,6 +612,13 @@ PlatformFreeBSD::GetSoftwareBreakpointTrapOpcode (Target &target, BreakpointSite
trap_opcode_size = sizeof(g_hex_opcode);
}
break;
case llvm::Triple::mips64el:
{
static const uint8_t g_hex_opcode[] = { 0x0d, 0x00, 0x00, 0x00 };
trap_opcode = g_hex_opcode;
trap_opcode_size = sizeof(g_hex_opcode);
}
break;
case llvm::Triple::ppc:
case llvm::Triple::ppc64:
{