mimalloc
mimalloc copied to clipboard
mimalloc MI_TRACK_ASAN option can not be used together with MI_USE_CXX
I am using mimalloc v2.1.7 and compile & running it on Ubuntu, Linux 5.15.0. When I turn on both two options, with MI_OVERRIDE turned on, compile my own program with asan options, the program can not run as expected, but failed in mimalloc instead.
I just tried:
$ cmake ../.. -DMI_TRACK_ASAN=ON -DMI_USE_CXX=ON
$ make -j
$ ./mimalloc-test-stress
and it seems to work. Can you provide more info?