r174565 - Add a *San + modules FIXME.
Richard Smith
richard-llvm at metafoo.co.uk
Wed Feb 6 17:09:30 PST 2013
Author: rsmith
Date: Wed Feb 6 19:09:29 2013
New Revision: 174565
URL: http://llvm.org/viewvc/llvm-project?rev=174565&view=rev
Log:
Add a *San + modules FIXME.
Modified:
cfe/trunk/lib/Basic/LangOptions.cpp
Modified: cfe/trunk/lib/Basic/LangOptions.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/LangOptions.cpp?rev=174565&r1=174564&r2=174565&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/LangOptions.cpp (original)
+++ cfe/trunk/lib/Basic/LangOptions.cpp Wed Feb 6 19:09:29 2013
@@ -31,6 +31,8 @@ void LangOptions::resetNonModularOptions
Name = Default;
#include "clang/Basic/LangOptions.def"
+ // FIXME: This should not be reset; modules can be different with different
+ // sanitizer options (this affects __has_feature(address_sanitizer) etc).
Sanitize = SanitizerOptions::Disabled;
CurrentModule.clear();
More information about the cfe-commits
mailing list