Richard Smith <rich...@metafoo.co.uk> writes: > My 2c: `-nodefaultlibs` means "don't link against any libraries I > didn't explicitly tell you to". `-fsanitize=*` as a driver argument > *when linking* is an explicit request to link against the sanitizer > runtimes. So that should win. If you don't want to link against the > sanitizer runtimes, link without the `-fsanitize=` flag, or append > `-fno-sanitize=all` to the link line.
+1 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits