Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Complete error message.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 26 Oct 2021 19:00:51 +0000 (21:00 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Tue, 26 Oct 2021 20:48:26 +0000 (22:48 +0200)
src/mc/inspect/LocationList.cpp

index 7bfb61f..28821e4 100644 (file)
@@ -75,7 +75,7 @@ LocationList location_list(const simgrid::mc::ObjectInformation& info, Dwarf_Att
 
     if (offset == 0)
       break;
-    xbt_assert(offset != -1, "Error while loading location list");
+    xbt_assert(offset != -1, "Error while loading location list: %s", dwarf_errmsg(-1));
 
     auto base_address = reinterpret_cast<std::uint64_t>(info.base_address());