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.

-- 
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/address-sanitizer/03a10741-46ce-4b79-b485-f55d334cae98n%40googlegroups.com.

Reply via email to