1 /* Copyright (c) 2008-2013. The SimGrid Team.
2 * All rights reserved. */
4 /* This program is free software; you can redistribute it and/or modify it
5 * under the terms of the license (GNU LGPL) which comes with this package. */
13 #include <libunwind.h>
18 /******************************* Transitions **********************************/
20 typedef struct s_mc_transition *mc_transition_t;
23 /*********** Structures for snapshot comparison **************************/
25 typedef struct s_mc_heap_ignore_region{
30 }s_mc_heap_ignore_region_t, *mc_heap_ignore_region_t;
32 typedef struct s_stack_region{
38 }s_stack_region_t, *stack_region_t;
40 void heap_ignore_region_free(mc_heap_ignore_region_t r);
41 void heap_ignore_region_free_voidp(void *r);
43 /************ Object info *************/
45 typedef struct s_mc_object_info s_mc_object_info_t, *mc_object_info_t;
47 /************ DWARF structures *************/
49 typedef int e_dw_type_type;
51 typedef struct s_dw_type s_dw_type_t, *dw_type_t;
55 void *id; /* Offset in the section (in hexadecimal form) */
56 char *name; /* Name of the type */
57 int byte_size; /* Size in bytes */
58 int element_count; /* Number of elements for array type */
59 char *dw_type_id; /* DW_AT_type */
60 xbt_dynar_t members; /* if DW_TAG_structure_type, DW_TAG_union_type*/
66 char* get_type_description(mc_object_info_t info, char *type_name);