LLDB mainline
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, and m_opaque_up.

Referenced by operator=(), SBExpressionOptions(), and ~SBExpressionOptions().

◆ SBExpressionOptions() [2/2]

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

◆ ~SBExpressionOptions()

Member Function Documentation

◆ get()

EvaluateExpressionOptions * SBExpressionOptions::get ( ) const
protected

Definition at line 259 of file SBExpressionOptions.cpp.

References m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ GetAllowJIT()

bool SBExpressionOptions::GetAllowJIT ( )

◆ GetAutoApplyFixIts()

bool SBExpressionOptions::GetAutoApplyFixIts ( )

Definition at line 209 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ GetCoerceResultToId()

bool SBExpressionOptions::GetCoerceResultToId ( ) const

Definition at line 40 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ GetFetchDynamicValue()

◆ GetGenerateDebugInfo()

bool SBExpressionOptions::GetGenerateDebugInfo ( )

Definition at line 173 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ GetIgnoreBreakpoints()

bool SBExpressionOptions::GetIgnoreBreakpoints ( ) const

Definition at line 64 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ GetOneThreadTimeoutInMicroSeconds()

uint32_t SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds ( ) const

Definition at line 101 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

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

Referenced by ~SBExpressionOptions().

◆ GetStopOthers()

bool SBExpressionOptions::GetStopOthers ( ) const

Definition at line 129 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ GetSuppressPersistentResult()

bool SBExpressionOptions::GetSuppressPersistentResult ( )

Definition at line 185 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ GetTimeoutInMicroSeconds()

uint32_t SBExpressionOptions::GetTimeoutInMicroSeconds ( ) const

Definition at line 88 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

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

Referenced by ~SBExpressionOptions().

◆ GetTryAllThreads()

bool SBExpressionOptions::GetTryAllThreads ( ) const

Definition at line 117 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ GetUnwindOnError()

bool SBExpressionOptions::GetUnwindOnError ( ) const

Definition at line 52 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ operator=()

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

◆ ref()

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

Referenced by ~SBExpressionOptions().

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

Referenced by ~SBExpressionOptions().

◆ SetCoerceResultToId()

void SBExpressionOptions::SetCoerceResultToId ( bool coerce = true)

Definition at line 46 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ SetFetchDynamicValue()

◆ SetGenerateDebugInfo()

void SBExpressionOptions::SetGenerateDebugInfo ( bool b = true)

Definition at line 179 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ SetIgnoreBreakpoints()

◆ SetLanguage() [1/2]

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

Referenced by ~SBExpressionOptions().

◆ SetPrefix()

void SBExpressionOptions::SetPrefix ( const char * prefix)

Definition at line 203 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ SetRetriesWithFixIts()

void SBExpressionOptions::SetRetriesWithFixIts ( uint64_t retries)

Definition at line 227 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ SetStopOthers()

void SBExpressionOptions::SetStopOthers ( bool stop_others = true)

Definition at line 135 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ SetSuppressPersistentResult()

void SBExpressionOptions::SetSuppressPersistentResult ( bool b = false)

Definition at line 191 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ SetTimeoutInMicroSeconds()

void SBExpressionOptions::SetTimeoutInMicroSeconds ( uint32_t timeout = 0)

Definition at line 94 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

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

Referenced by ~SBExpressionOptions().

◆ SetTryAllThreads()

void SBExpressionOptions::SetTryAllThreads ( bool run_others = true)

Definition at line 123 of file SBExpressionOptions.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_up.

Referenced by ~SBExpressionOptions().

◆ SetUnwindOnError()

◆ SBFrame

friend class SBFrame
friend

Definition at line 115 of file SBExpressionOptions.h.

References SBFrame.

Referenced by SBFrame.

◆ SBTarget

friend class SBTarget
friend

Definition at line 117 of file SBExpressionOptions.h.

References SBTarget.

Referenced by SBTarget.

◆ SBValue

friend class SBValue
friend

Definition at line 116 of file SBExpressionOptions.h.

References SBValue.

Referenced by SBValue.

Member Data Documentation

◆ m_opaque_up


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