How do you use Valgrind/Helgrind on macOS?

Viewed 264

I'm learning C on a macOS machine, and having lots of issues with getting Valgrind to work, particularly with threading and Helgrind. It doesn't look like there's any support for this, which makes me wonder if:

  1. Nobody develops C/C++ with macOS.

  2. People do, but they don't use Valgrind/Helgrind.

  3. There's a way to use Valgrind/Helgrind, and I just haven't figured it out.

Or am I missing something?

The best support for Valgrind I could find on macOS is Valgrind for macOS, which doesn't support support threads/signals:

using threads and signals is undefined

0 Answers
Related