From 027f1c9655391dcb2b0117f931f720211ac933db Mon Sep 17 00:00:00 2001 From: Dimitry Andric <dim@FreeBSD.org> Date: Sun, 6 Sep 2015 14:32:30 +0000 Subject: Vendor import of (stripped) lldb trunk r242221: https://llvm.org/svn/llvm-project/lldb/trunk@242221 --- include/lldb/API/SBFrame.h | 4 ++++ include/lldb/API/SBFunction.h | 3 +++ include/lldb/API/SBPlatform.h | 3 +++ include/lldb/API/SBSymbol.h | 3 +++ include/lldb/API/SBTarget.h | 3 +++ include/lldb/API/SBUnixSignals.h | 11 +++++++---- 6 files changed, 23 insertions(+), 4 deletions(-) (limited to 'include/lldb/API') diff --git a/include/lldb/API/SBFrame.h b/include/lldb/API/SBFrame.h index 2ca9e062490d..3177b0cc5a69 100644 --- a/include/lldb/API/SBFrame.h +++ b/include/lldb/API/SBFrame.h @@ -90,6 +90,10 @@ public: /// See also IsInlined(). const char * GetFunctionName(); + + // Get an appropriate function name for this frame that is suitable for display to a user + const char * + GetDisplayFunctionName (); const char * GetFunctionName() const; diff --git a/include/lldb/API/SBFunction.h b/include/lldb/API/SBFunction.h index 7d578393eb2c..86cfeb49bb58 100644 --- a/include/lldb/API/SBFunction.h +++ b/include/lldb/API/SBFunction.h @@ -35,6 +35,9 @@ public: const char * GetName() const; + const char * + GetDisplayName() const; + const char * GetMangledName () const; diff --git a/include/lldb/API/SBPlatform.h b/include/lldb/API/SBPlatform.h index db4a754103ca..80ad1c06e868 100644 --- a/include/lldb/API/SBPlatform.h +++ b/include/lldb/API/SBPlatform.h @@ -189,6 +189,9 @@ namespace lldb { SBError SetFilePermissions (const char *path, uint32_t file_permissions); + SBUnixSignals + GetUnixSignals() const; + protected: friend class SBDebugger; diff --git a/include/lldb/API/SBSymbol.h b/include/lldb/API/SBSymbol.h index 3d259a2c20c6..5acebe975261 100644 --- a/include/lldb/API/SBSymbol.h +++ b/include/lldb/API/SBSymbol.h @@ -37,6 +37,9 @@ public: const char * GetName() const; + const char * + GetDisplayName() const; + const char * GetMangledName () const; diff --git a/include/lldb/API/SBTarget.h b/include/lldb/API/SBTarget.h index dcca4e7b3a19..2ca0b124ce0a 100644 --- a/include/lldb/API/SBTarget.h +++ b/include/lldb/API/SBTarget.h @@ -768,6 +768,9 @@ public: bool GetDescription (lldb::SBStream &description, lldb::DescriptionLevel description_level); + lldb::SBValue + EvaluateExpression (const char *expr); + lldb::SBValue EvaluateExpression (const char *expr, const SBExpressionOptions &options); diff --git a/include/lldb/API/SBUnixSignals.h b/include/lldb/API/SBUnixSignals.h index 9eae30739bb8..ae48b63e1a2f 100644 --- a/include/lldb/API/SBUnixSignals.h +++ b/include/lldb/API/SBUnixSignals.h @@ -65,17 +65,20 @@ public: protected: friend class SBProcess; + friend class SBPlatform; - SBUnixSignals (lldb::ProcessSP &process_sp); + SBUnixSignals(lldb::ProcessSP &process_sp); - lldb::ProcessSP + SBUnixSignals(lldb::PlatformSP &platform_sp); + + lldb::UnixSignalsSP GetSP() const; void - SetSP (const lldb::ProcessSP &process_sp); + SetSP(const lldb::UnixSignalsSP &signals_sp); private: - lldb::ProcessWP m_opaque_wp; + lldb::UnixSignalsWP m_opaque_wp; }; -- cgit v1.2.3