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
proper check for the -std=gnu++11 standard, and take in on clang too
[simgrid.git]
/
src
/
mc
/
mc_dwarf.cpp
diff --git
a/src/mc/mc_dwarf.cpp
b/src/mc/mc_dwarf.cpp
index
0b0e2e4
..
3ac63ab
100644
(file)
--- a/
src/mc/mc_dwarf.cpp
+++ b/
src/mc/mc_dwarf.cpp
@@
-610,14
+610,11
@@
static simgrid::mc::Type MC_dwarf_die_to_type(
Dwarf_Die * unit, simgrid::mc::Frame* frame,
const char *ns)
{
Dwarf_Die * unit, simgrid::mc::Frame* frame,
const char *ns)
{
-
simgrid::mc::Type type;
simgrid::mc::Type type;
- type.type =
-1
;
+ type.type =
dwarf_tag(die)
;
type.name = std::string();
type.element_count = -1;
type.name = std::string();
type.element_count = -1;
- type.type = dwarf_tag(die);
-
// Global Offset
type.id = dwarf_dieoffset(die);
// Global Offset
type.id = dwarf_dieoffset(die);
@@
-1141,7
+1138,7
@@
std::shared_ptr<simgrid::mc::ObjectInformation> MC_find_object_info(
std::shared_ptr<simgrid::mc::ObjectInformation> result =
std::make_shared<simgrid::mc::ObjectInformation>();
if (executable)
std::shared_ptr<simgrid::mc::ObjectInformation> result =
std::make_shared<simgrid::mc::ObjectInformation>();
if (executable)
- result->flags |=
MC_OBJECT_INFO_EXECUTABLE
;
+ result->flags |=
simgrid::mc::ObjectInformation::Executable
;
result->file_name = name;
MC_find_object_address(maps, result.get());
MC_dwarf_get_variables(result.get());
result->file_name = name;
MC_find_object_address(maps, result.get());
MC_dwarf_get_variables(result.get());