eugenis added a comment.

I would also expect -nodefaultlibs and -nostdlib to remove all standard 
libraries from the link command line, including the sanitizer ones.

I like the idea of -flink-sanitizer-runtime=address, but may be without 
"address" - the set of sanitizer runtime libraries can be found from 
-fsanitize=* flags.

Alternatively, we could extend (or add something like) -print-libgcc-name to 
report the set of sanitizer link flags (there may be multiple libraries and 
possible other flags).


https://reviews.llvm.org/D24048



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to