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 /************ DWARF structures *************/
45 typedef int e_dw_type_type;
47 typedef struct s_dw_type{
49 void *id; /* Offset in the section (in hexadecimal form) */
50 char *name; /* Name of the type */
51 int byte_size; /* Size in bytes */
52 int element_count; /* Number of elements for array type */
53 char *dw_type_id; /* DW_AT_type */
54 xbt_dynar_t members; /* if DW_TAG_structure_type, DW_TAG_union_type*/
57 }s_dw_type_t, *dw_type_t;
59 char* get_type_description(xbt_dict_t types, char *type_name);