Esempio n. 1
0
 /** Whether the member is at a fixed offset from the base address */
 bool has_offset_location() const
 {
   // Recognize the expression `DW_OP_plus_uconst(offset)`:
   return location_expression.size() == 1 &&
     location_expression[0].atom == DW_OP_plus_uconst;
 }
Esempio n. 2
0
inline
void execute(simgrid::dwarf::DwarfExpression const& expression,
  ExpressionContext const& context, ExpressionStack& stack)
{
  execute(expression.data(), expression.size(), context, stack);
}