Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Move some code into simgrid::dwarf namespace
[simgrid.git] / src / mc / mc_dwarf_attrnames.cpp
index 17e4446..193379a 100644 (file)
@@ -6,17 +6,20 @@
 
 /* Warning: autogenerated, do not edit! */
 
-#include <xbt/base.h>
 #include <dwarf.h>
 
-#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 +165,6 @@ const char *MC_dwarf_attrname(int attr)
     return "DW_AT_unknown";
   }
 }
+
+}
+}