Skip to content

Conversation

@clementFoyer
Copy link

@clementFoyer clementFoyer commented Oct 24, 2023

  • Add various small modifications (adding some override to explicit the virtual nature of these functions)
  • Resolve some memory leaks for memkind-pmem allocator
  • Simplify statistics management and reduce code duplication
  • Unify the codes for allocator's header computation
  • Add a new option (and environment variable) to specify the base in which the integer have to be read. This is useful when some software export the stack offset as hexadecimal value, while other export it as decimal.
  • When the library fails and call exit or _exit, an error code value is returned.
  • Add do-while(0) to scope macros and avoid potential errors
  • Allow the use of a user configured base when parsing input location file : the offset may be given either in decimal or hexadecimal (or any base, really, to fit with the input)
  • Unify the use of environment variable by putting all that management in common.cxx

@clementFoyer clementFoyer force-pushed the various-fixes branch 5 times, most recently from 0794c93 to 4e09aef Compare January 19, 2024 16:42
Without the protection of the do-while statement, some instructions may
not be well handled by the compiler in cases of "if" statements with
curly brackets for example.
@clementFoyer clementFoyer force-pushed the various-fixes branch 3 times, most recently from bc77062 to efbc2d5 Compare January 19, 2024 17:08
  * Use size_t instead of unsigned long/unsigned long long.
Setting the fallback allocator, min size fallback allocator, locations
and definitions in options.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant