summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp b/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
index c2f674b5131..862ea398890 100644
--- a/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
+++ b/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
@@ -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':
OpenPOWER on IntegriCloud