Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Revert "[mc] Move libdw binding code in its own file"
[simgrid.git] / src / mc / mc_object_info.h
diff --git a/src/mc/mc_object_info.h b/src/mc/mc_object_info.h
new file mode 100644 (file)
index 0000000..1da12e8
--- /dev/null
@@ -0,0 +1,32 @@
+/* Copyright (c) 2007-2015. The SimGrid Team.
+ * All rights reserved.                                                     */
+
+/* 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. */
+
+#ifndef SIMGRID_MC_OBJECT_INFO_H
+#define SIMGRID_MC_OBJECT_INFO_H
+
+#include <vector>
+#include <memory>
+
+#include <xbt/base.h>
+
+#include "mc_forward.hpp"
+#include "mc_memory_map.h"
+
+XBT_PRIVATE std::shared_ptr<simgrid::mc::ObjectInformation> MC_find_object_info(
+  std::vector<simgrid::mc::VmMap> const& maps, const char* name, int executable);
+XBT_PRIVATE  void MC_post_process_object_info(simgrid::mc::Process* process, simgrid::mc::ObjectInformation* info);
+
+XBT_PRIVATE  void MC_dwarf_get_variables(simgrid::mc::ObjectInformation* info);
+XBT_PRIVATE  void MC_dwarf_get_variables_libdw(simgrid::mc::ObjectInformation* info);
+
+XBT_PRIVATE  const char* MC_dwarf_attrname(int attr);
+XBT_PRIVATE  const char* MC_dwarf_tagname(int tag);
+
+XBT_PRIVATE  void* mc_member_resolve(
+  const void* base, simgrid::mc::Type* type, simgrid::mc::Type* member,
+  simgrid::mc::AddressSpace* snapshot, int process_index);
+
+#endif