Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
move parts of the kernel to the right subdir
[simgrid.git] / src / mc / mc_dwarf_tagnames.cpp
index 0ea1de0..cb73e9d 100644 (file)
@@ -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
@@ -7,17 +7,21 @@
 /* Warning: autogenerated, do not edit! */
 
 #include <dwarf.h>
+#include <elfutils/libdw.h>
+#include "src/mc/mc_dwarf.hpp"
 
 #include <xbt/base.h>
-#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";
@@ -100,3 +104,6 @@ const char *MC_dwarf_tagname(int tag)
     return "DW_TAG_unknown";
   }
 }
+
+}
+}