From 48954c95a732c39d9d59680f94e1e33b711e7171 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Thu, 4 Oct 2012 22:24:27 +0000 Subject: [PATCH] Made the i386 ABI mark EBP as non-volatile, because the unwinders typically can find its value. llvm-svn: 165266 --- lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp b/lldb/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp index c2f674b..862ea39 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': -- 2.7.4