[Q] how to use address sanitizer?
Sorry, it would a silly question. I think many developers already have tried to use asan for weston. So I've like to get advice regarding this.
I've just tried to enable address sanitizer for weston build like the following.
$ CC=clang CXX=clang++ meson --reconfigure build-clang -Ddoc=true -Db_sanitize=address
And tried ninja build
$ ninja -C build-clang -v
But undefined error occurred.
undefined reference to `__asan_init'
Plz, could you let me have an advice for this?