[Lldb-commits] [lldb] r165266 - /lldb/trunk/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
Sean Callanan
scallanan at apple.com
Thu Oct 4 15:24:27 PDT 2012
Author: spyffe
Date: Thu Oct 4 17:24:27 2012
New Revision: 165266
URL: http://llvm.org/viewvc/llvm-project?rev=165266&view=rev
Log:
Made the i386 ABI mark EBP as non-volatile,
because the unwinders typically can find its
value.
Modified:
lldb/trunk/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
Modified: lldb/trunk/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp?rev=165266&r1=165265&r2=165266&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp (original)
+++ lldb/trunk/source/Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp Thu Oct 4 17:24:27 2012
@@ -940,7 +940,7 @@
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':
More information about the lldb-commits
mailing list