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

Public GIT Repository
Useless cosmetics while trying to understand that code
[simgrid.git] / src / mc / inspect / Frame.cpp
index 2d8620fc45aaea08d48a5e810c1ae992419c87d6..5934de2a50f3e63b2b9e26c10b3b60e41bed3ddb 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2007-2019. The SimGrid Team.
+/* Copyright (c) 2007-2022. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -8,15 +8,14 @@
 
 #include "xbt/sysdep.h"
 
-#include "src/mc/Frame.hpp"
+#include "src/mc/inspect/Frame.hpp"
 
-namespace simgrid {
-namespace mc {
+namespace simgrid::mc {
 
 void* Frame::frame_base(unw_cursor_t& unw_cursor) const
 {
   simgrid::dwarf::Location location =
-      simgrid::dwarf::resolve(frame_base_location, object_info, &unw_cursor, nullptr, nullptr, -1);
+      simgrid::dwarf::resolve(frame_base_location, object_info, &unw_cursor, nullptr, nullptr);
   if (location.in_memory())
     return location.address();
   else if (location.in_register()) {
@@ -32,5 +31,4 @@ void* Frame::frame_base(unw_cursor_t& unw_cursor) const
     xbt_die("Unexpected location type");
 }
 
-} // namespace mc
-} // namespace simgrid
+} // namespace simgrid::mc