99 : std::chrono::microseconds(timeout));
115 : std::chrono::microseconds(timeout));
195 return m_opaque_up->SetSuppressPersistentResult(b);
270 auto value_or_err =
m_opaque_up->GetBooleanLanguageOption(option_name);
272 error.SetErrorString(llvm::toString(value_or_err.takeError()).c_str());
276 return *value_or_err;
285 if (llvm::Error err =
286 m_opaque_up->SetBooleanLanguageOption(option_name, value))
287 error.SetErrorString(llvm::toString(std::move(err)).c_str());
static llvm::raw_ostream & error(Stream &strm)
#define LLDB_INSTRUMENT_VA(...)
void SetCancelCallback(lldb::ExpressionCancelCallback callback, void *baton)
void SetAllowJIT(bool allow)
bool GetBooleanLanguageOption(const char *option_name, SBError &error) const
void SetFetchDynamicValue(lldb::DynamicValueType dynamic=lldb::eDynamicCanRunTarget)
void SetLanguage(lldb::LanguageType language)
bool GetTryAllThreads() const
const char * GetPrefix() const
lldb_private::EvaluateExpressionOptions & ref() const
void SetSuppressPersistentResult(bool b=false)
bool GetCoerceResultToId() const
bool GetIgnoreBreakpoints() const
bool GetUnwindOnError() const
void SetTryAllThreads(bool run_others=true)
bool GetGenerateDebugInfo()
void SetRetriesWithFixIts(uint64_t retries)
std::unique_ptr< lldb_private::EvaluateExpressionOptions > m_opaque_up
bool GetAutoApplyFixIts()
void SetTrapExceptions(bool trap_exceptions=true)
bool GetStopOthers() const
void SetTimeoutInMicroSeconds(uint32_t timeout=0)
void SetStopOthers(bool stop_others=true)
bool GetSuppressPersistentResult()
uint64_t GetRetriesWithFixIts()
void SetIgnoreBreakpoints(bool ignore=true)
void SetOneThreadTimeoutInMicroSeconds(uint32_t timeout=0)
uint32_t GetTimeoutInMicroSeconds() const
void SetCoerceResultToId(bool coerce=true)
SBError SetBooleanLanguageOption(const char *option_name, bool value)
void SetTopLevel(bool b=true)
void SetGenerateDebugInfo(bool b=true)
void SetAutoApplyFixIts(bool b=true)
const SBExpressionOptions & operator=(const lldb::SBExpressionOptions &rhs)
bool GetTrapExceptions() const
lldb_private::EvaluateExpressionOptions * get() const
void SetUnwindOnError(bool unwind=true)
lldb::DynamicValueType GetFetchDynamicValue() const
void SetPrefix(const char *prefix)
uint32_t GetOneThreadTimeoutInMicroSeconds() const
A uniqued constant string class.
const char * GetCString() const
Get the string value as a C string.
A class that represents a running process on the host machine.
@ eExecutionPolicyTopLevel
std::unique_ptr< T > clone(const std::unique_ptr< T > &src)
LanguageType
Programming language type.
bool(* ExpressionCancelCallback)(lldb::ExpressionEvaluationPhase phase, void *baton)