X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f43536687685f8e4ff5c43fa22e571750327e5ed..a49a03122b2def71ff741e78d15b38cd1d171184:/src/mc/mc_dwarf_tagnames.cpp diff --git a/src/mc/mc_dwarf_tagnames.cpp b/src/mc/mc_dwarf_tagnames.cpp index e17cf2f2f2..f19d0f497f 100644 --- a/src/mc/mc_dwarf_tagnames.cpp +++ b/src/mc/mc_dwarf_tagnames.cpp @@ -7,8 +7,13 @@ /* Warning: autogenerated, do not edit! */ #include +#include +#include "src/mc/mc_dwarf.hpp" -#include +#include "xbt/base.h" + +namespace simgrid { +namespace dwarf { /** \brief Get the name of a dwarf tag (DW_TAG_*) from its code * @@ -16,7 +21,7 @@ * \return name of the tag */ XBT_PRIVATE -const char *MC_dwarf_tagname(int tag) +const char *tagname(int tag) { switch (tag) { case 0x01: return "DW_TAG_array_type"; @@ -93,7 +98,12 @@ const char *MC_dwarf_tagname(int tag) case 0x4109: return "DW_TAG_GNU_call_site"; case 0x410a: return "DW_TAG_GNU_call_site_parameter"; case 0xffff: return "DW_TAG_hi_user"; + case DW_TAG_invalid: + return "DW_TAG_invalid"; default: return "DW_TAG_unknown"; } } + +} +}