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

#include <SBExpressionOptions.h>

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_INSTRUMENT_VA.

◆ SBExpressionOptions() [2/2]

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

Definition at line 23 of file SBExpressionOptions.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ~SBExpressionOptions()

SBExpressionOptions::~SBExpressionOptions ( )
default

Member Function Documentation

◆ get()

EvaluateExpressionOptions * SBExpressionOptions::get ( ) const
protected

Definition at line 252 of file SBExpressionOptions.cpp.

References m_opaque_up.

◆ GetAllowJIT()

bool SBExpressionOptions::GetAllowJIT ( )

◆ GetAutoApplyFixIts()

bool SBExpressionOptions::GetAutoApplyFixIts ( )

Definition at line 202 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetCoerceResultToId()

bool SBExpressionOptions::GetCoerceResultToId ( ) const

Definition at line 40 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetFetchDynamicValue()

lldb::DynamicValueType SBExpressionOptions::GetFetchDynamicValue ( ) const

◆ GetGenerateDebugInfo()

bool SBExpressionOptions::GetGenerateDebugInfo ( )

Definition at line 166 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetIgnoreBreakpoints()

bool SBExpressionOptions::GetIgnoreBreakpoints ( ) const

Definition at line 64 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetOneThreadTimeoutInMicroSeconds()

uint32_t SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds ( ) const

Definition at line 101 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetPrefix()

const char * SBExpressionOptions::GetPrefix ( ) const

◆ GetRetriesWithFixIts()

uint64_t SBExpressionOptions::GetRetriesWithFixIts ( )

Definition at line 214 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetStopOthers()

bool SBExpressionOptions::GetStopOthers ( ) const

Definition at line 129 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetSuppressPersistentResult()

bool SBExpressionOptions::GetSuppressPersistentResult ( )

Definition at line 178 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetTimeoutInMicroSeconds()

uint32_t SBExpressionOptions::GetTimeoutInMicroSeconds ( ) const

Definition at line 88 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetTopLevel()

bool SBExpressionOptions::GetTopLevel ( )

◆ GetTrapExceptions()

bool SBExpressionOptions::GetTrapExceptions ( ) const

Definition at line 141 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetTryAllThreads()

bool SBExpressionOptions::GetTryAllThreads ( ) const

Definition at line 117 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ GetUnwindOnError()

bool SBExpressionOptions::GetUnwindOnError ( ) const

Definition at line 52 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ operator=()

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

Definition at line 29 of file SBExpressionOptions.cpp.

References lldb_private::clone(), LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ ref()

EvaluateExpressionOptions & SBExpressionOptions::ref ( ) const
protected

◆ SetAllowJIT()

void SBExpressionOptions::SetAllowJIT ( bool  allow)

◆ SetAutoApplyFixIts()

void SBExpressionOptions::SetAutoApplyFixIts ( bool  b = true)

Definition at line 208 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetCancelCallback()

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

Definition at line 159 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetCoerceResultToId()

void SBExpressionOptions::SetCoerceResultToId ( bool  coerce = true)

Definition at line 46 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetFetchDynamicValue()

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

◆ SetGenerateDebugInfo()

void SBExpressionOptions::SetGenerateDebugInfo ( bool  b = true)

Definition at line 172 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetIgnoreBreakpoints()

void SBExpressionOptions::SetIgnoreBreakpoints ( bool  ignore = true)

◆ SetLanguage()

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

Definition at line 153 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

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

◆ SetOneThreadTimeoutInMicroSeconds()

void SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds ( uint32_t  timeout = 0)

Definition at line 109 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetPrefix()

void SBExpressionOptions::SetPrefix ( const char *  prefix)

Definition at line 196 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetRetriesWithFixIts()

void SBExpressionOptions::SetRetriesWithFixIts ( uint64_t  retries)

Definition at line 220 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetStopOthers()

void SBExpressionOptions::SetStopOthers ( bool  stop_others = true)

Definition at line 135 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetSuppressPersistentResult()

void SBExpressionOptions::SetSuppressPersistentResult ( bool  b = false)

Definition at line 184 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetTimeoutInMicroSeconds()

void SBExpressionOptions::SetTimeoutInMicroSeconds ( uint32_t  timeout = 0)

Definition at line 94 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetTopLevel()

void SBExpressionOptions::SetTopLevel ( bool  b = true)

◆ SetTrapExceptions()

void SBExpressionOptions::SetTrapExceptions ( bool  trap_exceptions = true)

Definition at line 147 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetTryAllThreads()

void SBExpressionOptions::SetTryAllThreads ( bool  run_others = true)

Definition at line 123 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetUnwindOnError()

void SBExpressionOptions::SetUnwindOnError ( bool  unwind = true)

Friends And Related Function Documentation

◆ SBFrame

friend class SBFrame
friend

Definition at line 110 of file SBExpressionOptions.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 112 of file SBExpressionOptions.h.

◆ SBValue

friend class SBValue
friend

Definition at line 111 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: