X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/31a461643fe82c00e0fe4efc8941eee20b0838ea..756df47074b2d7b0721f234077f5ef8d75e13932:/src/mc/mc_dwarf_tagnames.cpp diff --git a/src/mc/mc_dwarf_tagnames.cpp b/src/mc/mc_dwarf_tagnames.cpp index af6b526990..cb73e9d2c1 100644 --- a/src/mc/mc_dwarf_tagnames.cpp +++ b/src/mc/mc_dwarf_tagnames.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2014. The SimGrid Team. +/* Copyright (c) 2014-2015. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -8,17 +8,20 @@ #include #include +#include "src/mc/mc_dwarf.hpp" #include -#include "mc_object_info.h" + +namespace simgrid { +namespace dwarf { /** \brief Get the name of a dwarf tag (DW_TAG_*) from its code * * \param tag tag code (see the DWARF specification) * \return name of the tag */ -XBT_INTERNAL -const char *MC_dwarf_tagname(int tag) +XBT_PRIVATE +const char *tagname(int tag) { switch (tag) { case 0x01: return "DW_TAG_array_type"; @@ -101,3 +104,6 @@ const char *MC_dwarf_tagname(int tag) return "DW_TAG_unknown"; } } + +} +}