rsmith added a subscriber: rsmith. rsmith added a comment. 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.
https://reviews.llvm.org/D24048 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits