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
[windows] pass -m64 when needed
[simgrid.git]
/
tools
/
generate-dwarf-functions
diff --git
a/tools/generate-dwarf-functions
b/tools/generate-dwarf-functions
index
38bd20e
..
984287c
100755
(executable)
--- a/
tools/generate-dwarf-functions
+++ b/
tools/generate-dwarf-functions
@@
-1,5
+1,6
@@
#!/bin/sh
# Generate files from a given dwarf.h
#!/bin/sh
# Generate files from a given dwarf.h
+# Usage: tools/generate-dwarf-functions /usr/include/dwarf.h
cat - > src/mc/mc_dwarf_tagnames.cpp <<EOF
/* Copyright (c) 2014. The SimGrid Team.
cat - > src/mc/mc_dwarf_tagnames.cpp <<EOF
/* Copyright (c) 2014. The SimGrid Team.
@@
-11,6
+12,7
@@
cat - > src/mc/mc_dwarf_tagnames.cpp <<EOF
/* Warning: autogenerated, do not edit! */
#include <dwarf.h>
/* Warning: autogenerated, do not edit! */
#include <dwarf.h>
+#include <elfutils/libdw.h>
#include <xbt/base.h>
#include "mc_object_info.h"
#include <xbt/base.h>
#include "mc_object_info.h"
@@
-20,7
+22,7
@@
cat - > src/mc/mc_dwarf_tagnames.cpp <<EOF
* \param tag tag code (see the DWARF specification)
* \return name of the tag
*/
* \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) {
const char *MC_dwarf_tagname(int tag)
{
switch (tag) {