[PATCH] D24091: [Driver] Warn on -nodefaultlibs and -fsanitize
Bruno Cardoso Lopes via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 31 15:43:01 PDT 2016
bruno added inline comments.
================
Comment at: include/clang/Basic/DiagnosticDriverKinds.td:276
@@ +275,3 @@
+def warn_drv_sanitizers_and_nodefaultlibs : Warning<
+ "Passing -nodefaultlibs and -fsanitize has resulted in linking sanitizer runtimes.">,
+ InGroup<DiagGroup<"unexpected-driver-behavior">>;
----------------
What about something like: "-nodefaultlibs does not skip sanitizer runtime libs when used with -fsanitize." ?
https://reviews.llvm.org/D24091
More information about the cfe-commits
mailing list