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
leaks -- with smp algos
[simgrid.git]
/
src
/
mc
/
LocationList.cpp
diff --git
a/src/mc/LocationList.cpp
b/src/mc/LocationList.cpp
index
7ce1b1e
..
fdf5cd5
100644
(file)
--- a/
src/mc/LocationList.cpp
+++ b/
src/mc/LocationList.cpp
@@
-4,6
+4,15
@@
/* 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 <cstddef>
+#include <cstdint>
+#include <utility>
+
+#include <xbt/asserts.h>
+#include <xbt/sysdep.h>
+
+#include <libunwind.h>
+
#include "src/mc/mc_dwarf.hpp"
#include "src/mc/ObjectInformation.hpp"
#include "src/mc/LocationList.hpp"
#include "src/mc/mc_dwarf.hpp"
#include "src/mc/ObjectInformation.hpp"
#include "src/mc/LocationList.hpp"
@@
-96,14
+105,14
@@
LocationList location_list(
LocationListEntry::range_type range;
if (start == 0)
// If start == 0, this is not a location list:
LocationListEntry::range_type range;
if (start == 0)
// If start == 0, this is not a location list:
- range = {
0, 0
};
+ range = {
0, UINT64_MAX
};
else
range = { base_address + start, base_address + end };
locations.push_back({ DwarfExpression(ops, ops+len), range });
}
else
range = { base_address + start, base_address + end };
locations.push_back({ DwarfExpression(ops, ops+len), range });
}
- return
std::move(locations)
;
+ return
locations
;
}
}