/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
public:
LocationListEntry() = default;
LocationListEntry(DwarfExpression expression, range_type range) : expression_(std::move(expression)), range_(range) {}
public:
LocationListEntry() = default;
LocationListEntry(DwarfExpression expression, range_type range) : expression_(std::move(expression)), range_(range) {}
DwarfExpression& expression() { return expression_; }
DwarfExpression const& expression() const { return expression_; }
bool valid_for_ip(unw_word_t ip) const { return range_.contain(ip); }
};
DwarfExpression& expression() { return expression_; }
DwarfExpression const& expression() const { return expression_; }
bool valid_for_ip(unw_word_t ip) const { return range_.contain(ip); }
};
// Type of location:
bool in_register() const { return memory_ == nullptr; }
bool in_memory() const { return memory_ != nullptr; }
// Type of location:
bool in_register() const { return memory_ == nullptr; }
bool in_memory() const { return memory_ != nullptr; }
XBT_PRIVATE
Location resolve(simgrid::dwarf::DwarfExpression const& expression, simgrid::mc::ObjectInformation* object_info,
XBT_PRIVATE
Location resolve(simgrid::dwarf::DwarfExpression const& expression, simgrid::mc::ObjectInformation* object_info,
Location resolve(simgrid::dwarf::LocationList const& locations, simgrid::mc::ObjectInformation* object_info,
Location resolve(simgrid::dwarf::LocationList const& locations, simgrid::mc::ObjectInformation* object_info,