summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2012-10-04 22:24:27 +0000
committerSean Callanan <scallanan@apple.com>2012-10-04 22:24:27 +0000
commit48954c95a732c39d9d59680f94e1e33b711e7171 (patch)
treec116190d35a17b042adcfd54e13cff9937e3c954
parent84b163cf66215252e5f2567382168eb8881b2538 (diff)
downloadbcm5719-llvm-48954c95a732c39d9d59680f94e1e33b711e7171.tar.gz
bcm5719-llvm-48954c95a732c39d9d59680f94e1e33b711e7171.zip
Made the i386 ABI mark EBP as non-volatile,
because the unwinders typically can find its value. llvm-svn: 165266
-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