Made the i386 ABI mark EBP as non-volatile,
because the unwinders typically can find its value. llvm-svn: 165266
This commit is contained in:
parent
84b163cf66
commit
48954c95a7
|
@ -940,7 +940,7 @@ ABIMacOSX_i386::RegisterIsCalleeSaved (const RegisterInfo *reg_info)
|
|||
switch (name[1])
|
||||
{
|
||||
case 'b':
|
||||
if (name[2] == 'x' || name[2] == 'p')
|
||||
if (name[2] == 'x') // ebp is volatile in the ABI, but the unwinders can find it
|
||||
return name[3] == '\0';
|
||||
break;
|
||||
case 'd':
|
||||
|
|
Loading…
Reference in New Issue