LLDB  mainline
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
lldb::SBExpressionOptions Class Reference

#include <SBExpressionOptions.h>

Collaboration diagram for lldb::SBExpressionOptions:
Collaboration graph
[legend]

Public Member Functions

 SBExpressionOptions ()
 
 SBExpressionOptions (const lldb::SBExpressionOptions &rhs)
 
 ~SBExpressionOptions ()
 
const SBExpressionOptionsoperator= (const lldb::SBExpressionOptions &rhs)
 
bool GetCoerceResultToId () const
 
void SetCoerceResultToId (bool coerce=true)
 
bool GetUnwindOnError () const
 
void SetUnwindOnError (bool unwind=true)
 
bool GetIgnoreBreakpoints () const
 
void SetIgnoreBreakpoints (bool ignore=true)
 
lldb::DynamicValueType GetFetchDynamicValue () const
 
void SetFetchDynamicValue (lldb::DynamicValueType dynamic=lldb::eDynamicCanRunTarget)
 
uint32_t GetTimeoutInMicroSeconds () const
 
void SetTimeoutInMicroSeconds (uint32_t timeout=0)
 
uint32_t GetOneThreadTimeoutInMicroSeconds () const
 
void SetOneThreadTimeoutInMicroSeconds (uint32_t timeout=0)
 
bool GetTryAllThreads () const
 
void SetTryAllThreads (bool run_others=true)
 
bool GetStopOthers () const
 
void SetStopOthers (bool stop_others=true)
 
bool GetTrapExceptions () const
 
void SetTrapExceptions (bool trap_exceptions=true)
 
void SetLanguage (lldb::LanguageType language)
 
void SetCancelCallback (lldb::ExpressionCancelCallback callback, void *baton)
 
bool GetGenerateDebugInfo ()
 
void SetGenerateDebugInfo (bool b=true)
 
bool GetSuppressPersistentResult ()
 
void SetSuppressPersistentResult (bool b=false)
 
const char * GetPrefix () const
 
void SetPrefix (const char *prefix)
 
void SetAutoApplyFixIts (bool b=true)
 
bool GetAutoApplyFixIts ()
 
void SetRetriesWithFixIts (uint64_t retries)
 
uint64_t GetRetriesWithFixIts ()
 
bool GetTopLevel ()
 
void SetTopLevel (bool b=true)
 
bool GetAllowJIT ()
 
void SetAllowJIT (bool allow)
 

Protected Member Functions

lldb_private::EvaluateExpressionOptionsget () const
 
lldb_private::EvaluateExpressionOptionsref () const
 

Private Attributes

std::unique_ptr< lldb_private::EvaluateExpressionOptionsm_opaque_up
 

Friends

class SBFrame
 
class SBValue
 
class SBTarget
 

Detailed Description

Definition at line 18 of file SBExpressionOptions.h.

Constructor & Destructor Documentation

◆ SBExpressionOptions() [1/2]

SBExpressionOptions::SBExpressionOptions ( )

Definition at line 18 of file SBExpressionOptions.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBExpressionOptions() [2/2]

SBExpressionOptions::SBExpressionOptions ( const lldb::SBExpressionOptions rhs)

◆ ~SBExpressionOptions()

SBExpressionOptions::~SBExpressionOptions ( )
default

Member Function Documentation

◆ get()

EvaluateExpressionOptions * SBExpressionOptions::get ( ) const
protected

Definition at line 280 of file SBExpressionOptions.cpp.

References m_opaque_up.

◆ GetAllowJIT()

bool SBExpressionOptions::GetAllowJIT ( )

◆ GetAutoApplyFixIts()

bool SBExpressionOptions::GetAutoApplyFixIts ( )

Definition at line 228 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_up.

◆ GetCoerceResultToId()

bool SBExpressionOptions::GetCoerceResultToId ( ) const

Definition at line 44 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_up.

◆ GetFetchDynamicValue()

lldb::DynamicValueType SBExpressionOptions::GetFetchDynamicValue ( ) const

◆ GetGenerateDebugInfo()

bool SBExpressionOptions::GetGenerateDebugInfo ( )

Definition at line 187 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_up.

◆ GetIgnoreBreakpoints()

bool SBExpressionOptions::GetIgnoreBreakpoints ( ) const

Definition at line 71 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_up.

◆ GetOneThreadTimeoutInMicroSeconds()

uint32_t SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds ( ) const

Definition at line 114 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_up.

◆ GetPrefix()

const char * SBExpressionOptions::GetPrefix ( ) const

Definition at line 214 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_up.

◆ GetRetriesWithFixIts()

uint64_t SBExpressionOptions::GetRetriesWithFixIts ( )

Definition at line 240 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_up.

◆ GetStopOthers()

bool SBExpressionOptions::GetStopOthers ( ) const

Definition at line 145 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_up.

◆ GetSuppressPersistentResult()

bool SBExpressionOptions::GetSuppressPersistentResult ( )

Definition at line 200 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_up.

◆ GetTimeoutInMicroSeconds()

uint32_t SBExpressionOptions::GetTimeoutInMicroSeconds ( ) const

Definition at line 99 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_up.

◆ GetTopLevel()

bool SBExpressionOptions::GetTopLevel ( )

◆ GetTrapExceptions()

bool SBExpressionOptions::GetTrapExceptions ( ) const

Definition at line 158 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_up.

◆ GetTryAllThreads()

bool SBExpressionOptions::GetTryAllThreads ( ) const

Definition at line 132 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_up.

◆ GetUnwindOnError()

bool SBExpressionOptions::GetUnwindOnError ( ) const

Definition at line 58 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS, and m_opaque_up.

◆ operator=()

const SBExpressionOptions & SBExpressionOptions::operator= ( const lldb::SBExpressionOptions rhs)

◆ ref()

EvaluateExpressionOptions & SBExpressionOptions::ref ( ) const
protected

◆ SetAllowJIT()

void SBExpressionOptions::SetAllowJIT ( bool  allow)

◆ SetAutoApplyFixIts()

void SBExpressionOptions::SetAutoApplyFixIts ( bool  b = true)

Definition at line 234 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

◆ SetCancelCallback()

void SBExpressionOptions::SetCancelCallback ( lldb::ExpressionCancelCallback  callback,
void *  baton 
)

Definition at line 179 of file SBExpressionOptions.cpp.

References LLDB_RECORD_DUMMY, and m_opaque_up.

◆ SetCoerceResultToId()

void SBExpressionOptions::SetCoerceResultToId ( bool  coerce = true)

Definition at line 51 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

◆ SetFetchDynamicValue()

void SBExpressionOptions::SetFetchDynamicValue ( lldb::DynamicValueType  dynamic = lldb::eDynamicCanRunTarget)

◆ SetGenerateDebugInfo()

void SBExpressionOptions::SetGenerateDebugInfo ( bool  b = true)

Definition at line 193 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

◆ SetIgnoreBreakpoints()

void SBExpressionOptions::SetIgnoreBreakpoints ( bool  ignore = true)

◆ SetLanguage()

void SBExpressionOptions::SetLanguage ( lldb::LanguageType  language)

Definition at line 172 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

Referenced by lldb::SBFrame::EvaluateExpression().

◆ SetOneThreadTimeoutInMicroSeconds()

void SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds ( uint32_t  timeout = 0)

Definition at line 123 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

◆ SetPrefix()

void SBExpressionOptions::SetPrefix ( const char *  prefix)

Definition at line 221 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

◆ SetRetriesWithFixIts()

void SBExpressionOptions::SetRetriesWithFixIts ( uint64_t  retries)

Definition at line 247 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

◆ SetStopOthers()

void SBExpressionOptions::SetStopOthers ( bool  stop_others = true)

Definition at line 151 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

◆ SetSuppressPersistentResult()

void SBExpressionOptions::SetSuppressPersistentResult ( bool  b = false)

Definition at line 207 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

◆ SetTimeoutInMicroSeconds()

void SBExpressionOptions::SetTimeoutInMicroSeconds ( uint32_t  timeout = 0)

Definition at line 106 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

◆ SetTopLevel()

void SBExpressionOptions::SetTopLevel ( bool  b = true)

◆ SetTrapExceptions()

void SBExpressionOptions::SetTrapExceptions ( bool  trap_exceptions = true)

Definition at line 165 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

◆ SetTryAllThreads()

void SBExpressionOptions::SetTryAllThreads ( bool  run_others = true)

Definition at line 138 of file SBExpressionOptions.cpp.

References LLDB_RECORD_METHOD, and m_opaque_up.

◆ SetUnwindOnError()

void SBExpressionOptions::SetUnwindOnError ( bool  unwind = true)

Friends And Related Function Documentation

◆ SBFrame

friend class SBFrame
friend

Definition at line 108 of file SBExpressionOptions.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 110 of file SBExpressionOptions.h.

◆ SBValue

friend class SBValue
friend

Definition at line 109 of file SBExpressionOptions.h.

Member Data Documentation

◆ m_opaque_up

std::unique_ptr<lldb_private::EvaluateExpressionOptions> lldb::SBExpressionOptions::m_opaque_up
mutableprivate

The documentation for this class was generated from the following files: