]> AND Public Git Repository - simgrid.git/blobdiff - src/mc/LocationList.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix comment/TODO
[simgrid.git] / src / mc / LocationList.cpp
index 7ce1b1e42468322f2a7d4b0e8b17b24bcd7149d5..2797bc00b42ae4f4c91969d93e34f6d4bb521424 100644 (file)
@@ -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 <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"
@@ -96,7 +105,7 @@ 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 };