Go to the documentation of this file.
9 #ifndef LLDB_EXPRESSION_DWARFEXPRESSIONLIST_H
10 #define LLDB_EXPRESSION_DWARFEXPRESSIONLIST_H
76 lldb::ModuleSP new_module_sp,
78 &link_address_callback);
113 const Value *object_address_ptr,
Value &result,
150 #endif // LLDB_EXPRESSION_DWARFEXPRESSIONLIST_H
void Sort()
Sort m_expressions.
bool operator()(const DWARFExpression &lhs, const DWARFExpression &rhs) const
bool LinkThreadLocalStorage(lldb::ModuleSP new_module_sp, std::function< lldb::addr_t(lldb::addr_t file_addr)> const &link_address_callback)
DWARFExpressionList(lldb::ModuleSP module_sp, DWARFExpression expr, const DWARFUnit *dwarf_cu)
bool MatchesOperand(StackFrame &frame, const Instruction::Operand &operand) const
bool IsAlwaysValidSingleExpr() const
RangeDataVector< lldb::addr_t, lldb::addr_t, DWARFExpression, 0, DWARFExpressionCompare > ExprVec
ExprVec::Collection::const_iterator const_iterator
lldb::addr_t m_func_file_addr
RangeData< lldb::addr_t, lldb::addr_t, DWARFExpression > Entry
bool AddExpression(lldb::addr_t base, lldb::addr_t end, DWARFExpression expr)
DWARFExpressionList()=default
const_iterator begin() const
bool ContainsThreadLocalStorage() const
typename Collection::const_iterator const_iterator
lldb::addr_t GetFuncFileAddress()
bool IsValid() const
Return true if the location expression contains data.
lldb::ModuleWP m_module_wp
Module which defined this expression.
bool Evaluate(ExecutionContext *exe_ctx, RegisterContext *reg_ctx, lldb::addr_t func_load_addr, const Value *initial_value_ptr, const Value *object_address_ptr, Value &result, Status *error_ptr) const
void SetFuncFileAddress(lldb::addr_t func_file_addr)
void GetDescription(Stream *s, lldb::DescriptionLevel level, ABI *abi) const
Dump all locaitons with each seperated by new line.
const DWARFExpression * GetExpressionAtAddress(lldb::addr_t func_load_addr, lldb::addr_t load_addr) const
const_iterator end() const
#define LLDB_INVALID_ADDRESS
DWARFExpressionList(lldb::ModuleSP module_sp, const DWARFUnit *dwarf_cu, lldb::addr_t func_file_addr)
const_iterator end() const
const_iterator begin() const
A class that represents a running process on the host machine.
bool ContainsAddress(lldb::addr_t func_load_addr, lldb::addr_t addr) const
Search for a load address in the dwarf location list.
const DWARFUnit * m_dwarf_cu
The DWARF compile unit this expression belongs to.
bool DumpLocations(Stream *s, lldb::DescriptionLevel level, lldb::addr_t func_load_addr, lldb::addr_t file_addr, ABI *abi) const
Dump locations that contains file_addr if it's valid.
bool GetExpressionData(DataExtractor &data, lldb::addr_t func_load_addr=LLDB_INVALID_ADDRESS, lldb::addr_t file_addr=0) const
Get the expression data at the file address.
const DWARFExpression * GetAlwaysValidExpr() const
void SetModule(const lldb::ModuleSP &module)
DWARFExpression * GetMutableExpressionAtAddress(lldb::addr_t func_load_addr=LLDB_INVALID_ADDRESS, lldb::addr_t load_addr=0)
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.