Hello,
What is the right way of using a custom (built by me from llvm sources) asan library?
During compilation I am using
-fsanitize=address.
But what should I use for linking? It is recommended everywhere to use
-static-libasan or
-shared-libasan, but as far as I understand, linker will use the library that comes with compiler (not mine).
Shall I drop
-static-libasan /
-shared-libasan and just link against the
clang_rt.asan-dynamic-x86_64 built by me? Or something else?
Thank you in advance.