Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix documentation
authorGabriel Corona <gabriel.corona@loria.fr>
Mon, 14 Mar 2016 08:33:06 +0000 (09:33 +0100)
committerGabriel Corona <gabriel.corona@loria.fr>
Tue, 15 Mar 2016 09:37:01 +0000 (10:37 +0100)
src/mc/Variable.hpp

index a4f048a..f3b8e0a 100644 (file)
@@ -27,15 +27,16 @@ public:
   unsigned type_id = 0;
   simgrid::mc::Type* type = nullptr;
 
   unsigned type_id = 0;
   simgrid::mc::Type* type = nullptr;
 
-  /** Address of the variable -if it is fixed) */
+  /** Address of the variable (if it is fixed) */
   void* address = nullptr;
 
   void* address = nullptr;
 
-  /** Description of the location of the variable if it's not fixed */
+  /** Description of the location of the variable (if it's not fixed) */
   simgrid::dwarf::LocationList location_list;
 
   /** Offset of validity of the variable (DW_AT_start_scope)
    *
   simgrid::dwarf::LocationList location_list;
 
   /** Offset of validity of the variable (DW_AT_start_scope)
    *
-   *  This variable is not valid since the beginning of its scope.
+   *  This is an offset from the variable scope beginning. This variable
+   *  is only valid starting from this offset.
    */
   std::size_t start_scope = 0;
 
    */
   std::size_t start_scope = 0;