summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-02-13 07:11:08 +0000
committerJason Molenda <jmolenda@apple.com>2014-02-13 07:11:08 +0000
commit6223db27780ec34421fa9b22f44119aae68e1024 (patch)
treea369dd864c36569fe97cf706d35afc8aa2abbee3 /lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
parent69e245c01d0dcbaeb9b0fc6c502729acbf12f3fc (diff)
downloadbcm5719-llvm-6223db27780ec34421fa9b22f44119aae68e1024.tar.gz
bcm5719-llvm-6223db27780ec34421fa9b22f44119aae68e1024.zip
The Platform base class now maintains a list of trap handlers
aka asynchronous signal handlers, which subclasses should fill in as appropriate. For most Unix user process environments, the one entry in this list is _sigtramp. For bare-board and kernel environments, there will be different sets of trap handlers. The unwinder needs to know when a frame is a trap handler because the rules it enforces for the frame "above" the trap handler is different from most middle-of-the-stack frames. <rdar://problem/15835846> llvm-svn: 201300
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h')
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
index 14797874262..505457260da 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
@@ -73,7 +73,7 @@ public:
IsValid () const;
bool
- IsSigtrampFrame () const;
+ IsTrapHandlerFrame () const;
bool
GetCFA (lldb::addr_t& cfa);
@@ -89,7 +89,7 @@ private:
enum FrameType
{
eNormalFrame,
- eSigtrampFrame,
+ eTrapHandlerFrame,
eDebuggerFrame, // a debugger inferior function call frame; we get caller's registers from debugger
eSkipFrame, // The unwind resulted in a bogus frame but may get back on track so we don't want to give up yet
eNotAValidFrame // this frame is invalid for some reason - most likely it is past the top (end) of the stack
OpenPOWER on IntegriCloud