summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
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/Platform/Linux/PlatformLinux.cpp
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/Platform/Linux/PlatformLinux.cpp')
-rw-r--r--lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp b/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
index c30211c886a..3e42b6adb42 100644
--- a/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
+++ b/lldb/source/Plugins/Platform/Linux/PlatformLinux.cpp
@@ -307,6 +307,7 @@ PlatformLinux::PlatformLinux (bool is_host) :
Platform(is_host), // This is the local host platform
m_remote_platform_sp ()
{
+ m_trap_handlers.push_back (ConstString ("_sigtramp"));
}
//------------------------------------------------------------------
OpenPOWER on IntegriCloud