Adding x86 to supported architectures on x86_64.

llvm-svn: 228715
This commit is contained in:
Chaoren Lin 2015-02-10 18:30:31 +00:00
parent df70d8460e
commit 03d30fc7bc
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ RegisterContextLinux_i386::GetRegisterInfo() const
switch (m_target_arch.GetMachine())
{
case llvm::Triple::x86:
case llvm::Triple::x86_64:
return g_register_infos_i386;
default:
assert(false && "Unhandled target architecture.");