A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[mc] Fix #includes
[simgrid.git]
/
src
/
mc
/
mc_dwarf_tagnames.cpp
diff --git
a/src/mc/mc_dwarf_tagnames.cpp
b/src/mc/mc_dwarf_tagnames.cpp
index
983f111
..
cb73e9d
100644
(file)
--- a/
src/mc/mc_dwarf_tagnames.cpp
+++ b/
src/mc/mc_dwarf_tagnames.cpp
@@
-8,9
+8,12
@@
#include <dwarf.h>
#include <elfutils/libdw.h>
#include <dwarf.h>
#include <elfutils/libdw.h>
+#include "src/mc/mc_dwarf.hpp"
#include <xbt/base.h>
#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
*
/** \brief Get the name of a dwarf tag (DW_TAG_*) from its code
*
@@
-18,7
+21,7
@@
* \return name of the tag
*/
XBT_PRIVATE
* \return name of the tag
*/
XBT_PRIVATE
-const char *
MC_dwarf_
tagname(int tag)
+const char *tagname(int tag)
{
switch (tag) {
case 0x01: return "DW_TAG_array_type";
{
switch (tag) {
case 0x01: return "DW_TAG_array_type";
@@
-101,3
+104,6
@@
const char *MC_dwarf_tagname(int tag)
return "DW_TAG_unknown";
}
}
return "DW_TAG_unknown";
}
}
+
+}
+}