7 ms·
While I like -fsanitize=address, the project I spend most of my time on may have tens of thousands of lightweight threads, which makes it a non-starter. Valgri
by aidenn0 11y ago
While I like -fsanitize=address, the project I spend most of my time on may have tens of thousands of lightweight threads, which makes it a non-starter. Valgrind works fine on it (Albeit at a significant performance impact).
- versteegen 11y agoWhy is it that valgrind/memcheck can handle that but AddressSanitizer can't?
- aidenn0 11y ago-fsanitize=address adds significant memory overhead on the stack; each thread has its own stack, so this overhead is multiplied by a large number.