Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Valgrind #4

Merged
merged 7 commits into from
Aug 3, 2023
Merged

Add Valgrind #4

merged 7 commits into from
Aug 3, 2023

Conversation

juancarlospaco
Copy link
Owner

@juancarlospaco juancarlospaco commented Jul 29, 2023

  • Add Valgrind for C and C++ targets to find memory leaks ASAP. JS just uses --run.
  • This can be reverted if the Valgrind does not work or is not needed in the future.

Use

  • Iff using ARC/ORC/AtomicARC and useMalloc then uses Valgrind.
  • Example !nim c --gc:arc -d:useMalloc (automatically sets --debugger:native etc).

Requisites

Why?

Features

@ringabout Feel free to revert if you see any problems.

@juancarlospaco juancarlospaco changed the title Valgrind Add Valgrind Jul 29, 2023
@juancarlospaco juancarlospaco marked this pull request as draft July 30, 2023 14:00
@juancarlospaco

This comment was marked as resolved.

@juancarlospaco juancarlospaco marked this pull request as ready for review August 3, 2023 20:48
@juancarlospaco juancarlospaco merged commit 36d93e0 into nim Aug 3, 2023
@juancarlospaco juancarlospaco deleted the valgrind branch August 3, 2023 22:04
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