X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9eb844c3fac1bd3dc35f46bda1134b633378fb2d..0306c1d1de62ea1a118115476092d66cf6fe04b1:/src/mc/mc_dwarf_attrnames.cpp diff --git a/src/mc/mc_dwarf_attrnames.cpp b/src/mc/mc_dwarf_attrnames.cpp index 0462c0db81..ce4ddd4432 100644 --- a/src/mc/mc_dwarf_attrnames.cpp +++ b/src/mc/mc_dwarf_attrnames.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 @@ -6,17 +6,21 @@ /* Warning: autogenerated, do not edit! */ -#include #include +#include -#include "mc_object_info.h" +#include "xbt/base.h" + +namespace simgrid { +namespace dwarf { /** \brief Get the name of an attribute (DW_AT_*) from its code * * \param attr attribute code (see the DWARF specification) * \return name of the attribute */ -const char *MC_dwarf_attrname(int attr) +XBT_PRIVATE +const char *attrname(int attr) { switch (attr) { case 0x01: return "DW_AT_sibling"; @@ -162,3 +166,6 @@ const char *MC_dwarf_attrname(int attr) return "DW_AT_unknown"; } } + +} +}