};
RegionSnapshot privatized_region(
- RegionType type, void *start_addr, void* data_addr, std::size_t size);
+ RegionType region_type, void *start_addr, void* permanent_addr,
+ std::size_t size, const RegionSnapshot* ref_region);
RegionSnapshot dense_region(
RegionType type, void *start_addr, void* data_addr, std::size_t size);
simgrid::mc::RegionSnapshot sparse_region(
#include "src/mc/mc_smx.h"
#include "mc_hash.hpp"
+#include "src/mc/RegionSnapshot.hpp"
#include "src/mc/ObjectInformation.hpp"
#include "src/mc/Frame.hpp"
#include "src/mc/Variable.hpp"
namespace mc {
#ifdef HAVE_SMPI
-simgrid::mc::RegionSnapshot privatized_region(
+RegionSnapshot privatized_region(
RegionType region_type, void *start_addr, void* permanent_addr,
- std::size_t size, const simgrid::mc::RegionSnapshot* ref_region
+ std::size_t size, const RegionSnapshot* ref_region
)
{
size_t process_count = MC_smpi_process_count();
RangeListPtr
};
-XBT_PRIVATE
+static
TagClass classify_tag(int tag)
{
switch (tag) {
* \param form The form (values taken from the DWARF spec)
* \return An internal representation for the corresponding class
* */
-XBT_PRIVATE
+static
FormClass classify_form(int form)
{
switch (form) {
}
}
-}
\ No newline at end of file
+}
/* Warning: autogenerated, do not edit! */
#include <dwarf.h>
+#include <src/mc/mc_dwarf.hpp>
#include <xbt/base.h>
#include <dwarf.h>
#include <elfutils/libdw.h>
+#include "src/mc/mc_dwarf.hpp"
#include <xbt/base.h>
}
// TODO, fix cross-process access (this function is not used)
-void MC_dump_stacks(FILE* file)
+static void MC_dump_stacks(FILE* file)
{
int nstack = 0;
for (auto const& stack : mc_model_checker->process().stack_areas()) {
#include "src/mc/mc_object_info.h"
#include "src/mc/mc_private.h"
#include "src/mc/Type.hpp"
+#include "src/mc/mc_dwarf.hpp"
+
namespace simgrid {
namespace dwarf {