-/* 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
/* Warning: autogenerated, do not edit! */
-#include <xbt/base.h>
#include <dwarf.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 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";
return "DW_AT_unknown";
}
}
+
+}
+}