diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-09-06 14:32:30 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-09-06 14:32:30 +0000 |
| commit | 027f1c9655391dcb2b0117f931f720211ac933db (patch) | |
| tree | 94980f450aa3daec3e1fec217374704ad62cfe45 /source/API/SBPlatform.cpp | |
| parent | 5e95aa85bb660d45e9905ef1d7180b2678280660 (diff) | |
Notes
Diffstat (limited to 'source/API/SBPlatform.cpp')
| -rw-r--r-- | source/API/SBPlatform.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/source/API/SBPlatform.cpp b/source/API/SBPlatform.cpp index 5662f36b514d..97ffcf149750 100644 --- a/source/API/SBPlatform.cpp +++ b/source/API/SBPlatform.cpp @@ -11,6 +11,7 @@ #include "lldb/API/SBError.h" #include "lldb/API/SBFileSpec.h" #include "lldb/API/SBLaunchInfo.h" +#include "lldb/API/SBUnixSignals.h" #include "lldb/Core/ArchSpec.h" #include "lldb/Core/Error.h" #include "lldb/Host/File.h" @@ -638,3 +639,11 @@ SBPlatform::SetFilePermissions (const char *path, uint32_t file_permissions) } +SBUnixSignals +SBPlatform::GetUnixSignals() const +{ + if (auto platform_sp = GetSP()) + return SBUnixSignals{platform_sp}; + + return {}; +} |
