Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
mc: move some files related to ELF, DWARF or unwind reading into their own directory
[simgrid.git] / src / mc / inspect / mc_member.cpp
similarity index 85%
rename from src/mc/mc_member.cpp
rename to src/mc/inspect/mc_member.cpp
index c92ab41..6349362 100644 (file)
@@ -23,16 +23,16 @@ void* resolve_member(const void* base, simgrid::mc::Type* /*type*/, simgrid::mc:
                      simgrid::mc::AddressSpace* address_space, int process_index)
 {
   ExpressionContext state;
-  state.frame_base = nullptr;
-  state.cursor = nullptr;
+  state.frame_base    = nullptr;
+  state.cursor        = nullptr;
   state.address_space = address_space;
   state.process_index = process_index;
 
   ExpressionStack stack;
-  stack.push((ExpressionStack::value_type) base);
+  stack.push((ExpressionStack::value_type)base);
   simgrid::dwarf::execute(member->location_expression, state, stack);
-  return (void*) stack.top();
+  return (void*)stack.top();
 }
 
-}
-}
+} // namespace dwarf
+} // namespace simgrid