示例#1
0
文件: Type.hpp 项目: adegomme/simgrid
 /** 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;
 }
示例#2
0
inline
void execute(simgrid::dwarf::DwarfExpression const& expression,
  ExpressionContext const& context, ExpressionStack& stack)
{
  execute(expression.data(), expression.size(), context, stack);
}