Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mc: kill model-check/ksm option. Was not activated because not very useful
[simgrid.git] / src / mc / mc_dwarf.hpp
1 /* Copyright (c) 2008-2019. The SimGrid Team. All rights reserved.          */
2
3 /* This program is free software; you can redistribute it and/or modify it
4  * under the terms of the license (GNU LGPL) which comes with this package. */
5
6 #ifndef SIMGRID_MC_DWARF_HPP
7 #define SIMGRID_MC_DWARF_HPP
8
9 #include "xbt/base.h"
10
11 #define DW_LANG_Objc DW_LANG_ObjC       /* fix spelling error in older dwarf.h */
12 #include <dwarf.h>
13
14 #include "src/mc/mc_forward.hpp"
15
16 namespace simgrid {
17 namespace dwarf {
18
19 XBT_PRIVATE const char* attrname(int attr);
20 XBT_PRIVATE const char* tagname(int tag);
21
22 XBT_PRIVATE void* resolve_member(
23   const void* base, simgrid::mc::Type* type, simgrid::mc::Member* member,
24   simgrid::mc::AddressSpace* snapshot, int process_index);
25
26 XBT_PRIVATE
27 int dwarf_register_to_libunwind(int dwarf_register);
28
29 }
30 }
31
32 #endif