LLDB mainline
|
#include <SBExpressionOptions.h>
Public Member Functions | |
SBExpressionOptions () | |
SBExpressionOptions (const lldb::SBExpressionOptions &rhs) | |
~SBExpressionOptions () | |
const SBExpressionOptions & | operator= (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::EvaluateExpressionOptions * | get () const |
lldb_private::EvaluateExpressionOptions & | ref () const |
Private Attributes | |
std::unique_ptr< lldb_private::EvaluateExpressionOptions > | m_opaque_up |
Friends | |
class | SBFrame |
class | SBValue |
class | SBTarget |
Definition at line 19 of file SBExpressionOptions.h.
SBExpressionOptions::SBExpressionOptions | ( | ) |
Definition at line 18 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA.
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.
|
default |
|
protected |
Definition at line 259 of file SBExpressionOptions.cpp.
References m_opaque_up.
bool SBExpressionOptions::GetAllowJIT | ( | ) |
Definition at line 246 of file SBExpressionOptions.cpp.
References lldb_private::eExecutionPolicyNever, LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBExpressionOptions::GetAutoApplyFixIts | ( | ) |
Definition at line 209 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBExpressionOptions::GetCoerceResultToId | ( | ) | const |
Definition at line 40 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
lldb::DynamicValueType SBExpressionOptions::GetFetchDynamicValue | ( | ) | const |
Definition at line 76 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by lldb::SBFrame::EvaluateExpression(), lldb::SBTarget::EvaluateExpression(), and lldb::SBValue::EvaluateExpression().
bool SBExpressionOptions::GetGenerateDebugInfo | ( | ) |
Definition at line 173 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBExpressionOptions::GetIgnoreBreakpoints | ( | ) | const |
Definition at line 64 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
uint32_t SBExpressionOptions::GetOneThreadTimeoutInMicroSeconds | ( | ) | const |
Definition at line 101 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
const char * SBExpressionOptions::GetPrefix | ( | ) | const |
Definition at line 197 of file SBExpressionOptions.cpp.
References lldb_private::ConstString::GetCString(), LLDB_INSTRUMENT_VA, and m_opaque_up.
uint64_t SBExpressionOptions::GetRetriesWithFixIts | ( | ) |
Definition at line 221 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBExpressionOptions::GetStopOthers | ( | ) | const |
Definition at line 129 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBExpressionOptions::GetSuppressPersistentResult | ( | ) |
Definition at line 185 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
uint32_t SBExpressionOptions::GetTimeoutInMicroSeconds | ( | ) | const |
Definition at line 88 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBExpressionOptions::GetTopLevel | ( | ) |
Definition at line 233 of file SBExpressionOptions.cpp.
References lldb_private::eExecutionPolicyTopLevel, LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBExpressionOptions::GetTrapExceptions | ( | ) | const |
Definition at line 141 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBExpressionOptions::GetTryAllThreads | ( | ) | const |
Definition at line 117 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
bool SBExpressionOptions::GetUnwindOnError | ( | ) | const |
Definition at line 52 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
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.
|
protected |
Definition at line 263 of file SBExpressionOptions.cpp.
References m_opaque_up.
Referenced by lldb::SBValue::CreateValueFromExpression(), lldb::SBFrame::EvaluateExpression(), lldb::SBTarget::EvaluateExpression(), and lldb::SBValue::EvaluateExpression().
void SBExpressionOptions::SetAllowJIT | ( | bool | allow | ) |
Definition at line 252 of file SBExpressionOptions.cpp.
References lldb_private::eExecutionPolicyNever, LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetAutoApplyFixIts | ( | bool | b = true | ) |
Definition at line 215 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetCancelCallback | ( | lldb::ExpressionCancelCallback | callback, |
void * | baton | ||
) |
Definition at line 166 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetCoerceResultToId | ( | bool | coerce = true | ) |
Definition at line 46 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetFetchDynamicValue | ( | lldb::DynamicValueType | dynamic = lldb::eDynamicCanRunTarget | ) |
Definition at line 82 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by lldb::SBFrame::EvaluateExpression(), lldb::SBTarget::EvaluateExpression(), and lldb::SBValue::EvaluateExpression().
void SBExpressionOptions::SetGenerateDebugInfo | ( | bool | b = true | ) |
Definition at line 179 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetIgnoreBreakpoints | ( | bool | ignore = true | ) |
Definition at line 70 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by lldb::SBFrame::EvaluateExpression(), and lldb::SBValue::EvaluateExpression().
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().
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.
void SBExpressionOptions::SetOneThreadTimeoutInMicroSeconds | ( | uint32_t | timeout = 0 | ) |
Definition at line 109 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetPrefix | ( | const char * | prefix | ) |
Definition at line 203 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetRetriesWithFixIts | ( | uint64_t | retries | ) |
Definition at line 227 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetStopOthers | ( | bool | stop_others = true | ) |
Definition at line 135 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetSuppressPersistentResult | ( | bool | b = false | ) |
Definition at line 191 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetTimeoutInMicroSeconds | ( | uint32_t | timeout = 0 | ) |
Definition at line 94 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetTopLevel | ( | bool | b = true | ) |
Definition at line 239 of file SBExpressionOptions.cpp.
References lldb_private::eExecutionPolicyTopLevel, LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetTrapExceptions | ( | bool | trap_exceptions = true | ) |
Definition at line 147 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetTryAllThreads | ( | bool | run_others = true | ) |
Definition at line 123 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
void SBExpressionOptions::SetUnwindOnError | ( | bool | unwind = true | ) |
Definition at line 58 of file SBExpressionOptions.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_up.
Referenced by lldb::SBFrame::EvaluateExpression(), lldb::SBTarget::EvaluateExpression(), and lldb::SBValue::EvaluateExpression().
|
friend |
Definition at line 115 of file SBExpressionOptions.h.
|
friend |
Definition at line 117 of file SBExpressionOptions.h.
|
friend |
Definition at line 116 of file SBExpressionOptions.h.
|
mutableprivate |
Definition at line 121 of file SBExpressionOptions.h.
Referenced by get(), GetAllowJIT(), GetAutoApplyFixIts(), GetCoerceResultToId(), GetFetchDynamicValue(), GetGenerateDebugInfo(), GetIgnoreBreakpoints(), GetOneThreadTimeoutInMicroSeconds(), GetPrefix(), GetRetriesWithFixIts(), GetStopOthers(), GetSuppressPersistentResult(), GetTimeoutInMicroSeconds(), GetTopLevel(), GetTrapExceptions(), GetTryAllThreads(), GetUnwindOnError(), operator=(), ref(), SBExpressionOptions(), SetAllowJIT(), SetAutoApplyFixIts(), SetCancelCallback(), SetCoerceResultToId(), SetFetchDynamicValue(), SetGenerateDebugInfo(), SetIgnoreBreakpoints(), SetLanguage(), SetOneThreadTimeoutInMicroSeconds(), SetPrefix(), SetRetriesWithFixIts(), SetStopOthers(), SetSuppressPersistentResult(), SetTimeoutInMicroSeconds(), SetTopLevel(), SetTrapExceptions(), SetTryAllThreads(), and SetUnwindOnError().