How to use clang's LeakSanitizer on MacOS?

后端 未结 0 1135
青春惊慌失措
青春惊慌失措 2020-12-13 20:42

I\'m macOS Big Sur. AFAIK, Valgrind doesn\'t support this OS yet. At least I\'ve tried this.

After some Googling, I switched to LeakSanitizier and tested this C code:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题