I would like to know -fsanitize=address option of gcc works with tcmalloc? or do we need to run by disabling tcmalloc? Or is it will be good if sanitizer is run enabling tcmalloc?
Developers usually discourage from combining ASan with non-Glibc allocators (e.g. here) but theoretically there shouldn't be much difference - ASan is capable of intercepting any memory allocator on Linux (via symbol interposition).