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
actually we need GCC > v4.8.5 for LTO
[simgrid.git]
/
src
/
mc
/
Frame.cpp
diff --git
a/src/mc/Frame.cpp
b/src/mc/Frame.cpp
index
448cfa1
..
40f9ed3
100644
(file)
--- a/
src/mc/Frame.cpp
+++ b/
src/mc/Frame.cpp
@@
-4,7
+4,11
@@
/* 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. */
/* 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. */
-#include <mc/Frame.hpp>
+#include <libunwind.h>
+
+#include <xbt/sysdep.h>
+
+#include "src/mc/Frame.hpp"
namespace simgrid {
namespace mc {
namespace simgrid {
namespace mc {
@@
-13,7
+17,7
@@
void* Frame::frame_base(unw_cursor_t& unw_cursor) const
{
simgrid::dwarf::Location location = simgrid::dwarf::resolve(
frame_base_location, object_info,
{
simgrid::dwarf::Location location = simgrid::dwarf::resolve(
frame_base_location, object_info,
- &unw_cursor,
NULL, NULL
, -1);
+ &unw_cursor,
nullptr, nullptr
, -1);
if (location.in_memory())
return location.address();
else if (location.in_register()) {
if (location.in_memory())
return location.address();
else if (location.in_register()) {