-/* Copyright (c) 2014-2019. The SimGrid Team.
- * All rights reserved. */
+/* Copyright (c) 2014-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* Warning: autogenerated, do not edit! */
+#include "src/mc/inspect/mc_dwarf.hpp"
+
#include <string>
#include <unordered_map>
-#include "src/mc/mc_dwarf.hpp"
-
namespace {
const std::unordered_map<int, const char*> tagname_map = {
{0x00, "DW_TAG_invalid"},
};
}
-namespace simgrid {
-namespace dwarf {
+namespace simgrid::dwarf {
/** @brief Get the name of a dwarf tag (DW_TAG_*) from its code
*
return name == tagname_map.end() ? "DW_TAG_unknown" : name->second;
}
-} // namespace dwarf
-} // namespace simgrid
+} // namespace simgrid::dwarf