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 SetLanguage (lldb::SBSourceLanguageName name, uint32_t version)
 Set the language using a pair of language code and version as defined by the DWARF 6 specification.
 
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 19 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 259 of file SBExpressionOptions.cpp.

References m_opaque_up.

◆ GetAllowJIT()

bool SBExpressionOptions::GetAllowJIT ( )

◆ GetAutoApplyFixIts()

bool SBExpressionOptions::GetAutoApplyFixIts ( )

Definition at line 209 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 173 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 221 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 185 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 215 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetCancelCallback()

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

Definition at line 166 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 179 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetIgnoreBreakpoints()

void SBExpressionOptions::SetIgnoreBreakpoints ( bool  ignore = true)

◆ SetLanguage() [1/2]

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().

◆ SetLanguage() [2/2]

void SBExpressionOptions::SetLanguage ( lldb::SBSourceLanguageName  name,
uint32_t  version 
)

Set the language using a pair of language code and version as defined by the DWARF 6 specification.

WARNING: These codes may change until DWARF 6 is finalized.

Definition at line 159 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ 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 203 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

◆ SetRetriesWithFixIts()

void SBExpressionOptions::SetRetriesWithFixIts ( uint64_t  retries)

Definition at line 227 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 191 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 115 of file SBExpressionOptions.h.

◆ SBTarget

friend class SBTarget
friend

Definition at line 117 of file SBExpressionOptions.h.

◆ SBValue

friend class SBValue
friend

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