X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e7c91bff0bd806356165411e2d81c047ab243028..a2cf3a7cbbc69e69e7c18c7168c7bb2396122cd1:/src/mc/LocationList.cpp diff --git a/src/mc/LocationList.cpp b/src/mc/LocationList.cpp index 7ce1b1e424..fdf5cd536c 100644 --- 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. */ +#include +#include +#include + +#include +#include + +#include + #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: - range = {0, 0}; + range = { 0, UINT64_MAX }; else range = { base_address + start, base_address + end }; locations.push_back({ DwarfExpression(ops, ops+len), range }); } - return std::move(locations); + return locations; }