Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git] / src / mc / mc_dwarf_tagnames.cpp
index af6b526..e17cf2f 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,15 @@
 /* Warning: autogenerated, do not edit! */
 
 #include <dwarf.h>
-#include <elfutils/libdw.h>
 
 #include <xbt/base.h>
-#include "mc_object_info.h"
 
 /** \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
+XBT_PRIVATE
 const char *MC_dwarf_tagname(int tag)
 {
   switch (tag) {
@@ -95,8 +93,6 @@ 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";
   }