Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mc: move some files related to ELF, DWARF or unwind reading into their own directory
[simgrid.git] / src / mc / inspect / mc_dwarf_attrnames.cpp
similarity index 98%
rename from src/mc/mc_dwarf_attrnames.cpp
rename to src/mc/inspect/mc_dwarf_attrnames.cpp
index 248a127..018d9c2 100644 (file)
@@ -158,7 +158,7 @@ const std::unordered_map<int, const char*> attrname_map = {
 }
 
 namespace simgrid {
 }
 
 namespace simgrid {
-namespace dwarf  {
+namespace dwarf {
 
 /** @brief Get the name of an attribute (DW_AT_*) from its code
  *
 
 /** @brief Get the name of an attribute (DW_AT_*) from its code
  *
@@ -166,11 +166,11 @@ namespace dwarf  {
  *  @return name of the attribute
  */
 XBT_PRIVATE
  *  @return name of the attribute
  */
 XBT_PRIVATE
-const char *attrname(int attr)
+const charattrname(int attr)
 {
   auto name = attrname_map.find(attr);
   return name == attrname_map.end() ? "DW_AT_unknown" : name->second;
 }
 
 {
   auto name = attrname_map.find(attr);
   return name == attrname_map.end() ? "DW_AT_unknown" : name->second;
 }
 
-}
-}
+} // namespace dwarf
+} // namespace simgrid