Rename LangOptions members for address sanitizer and thread sanitizer from
*Sanitizer to Sanitize* in preparation for later patches. llvm-svn: 167405
This commit is contained in:
@@ -94,7 +94,7 @@ static void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts,
|
||||
Builder.defineMacro("OBJC_NEW_PROPERTIES");
|
||||
// AddressSanitizer doesn't play well with source fortification, which is on
|
||||
// by default on Darwin.
|
||||
if (Opts.AddressSanitizer) Builder.defineMacro("_FORTIFY_SOURCE", "0");
|
||||
if (Opts.SanitizeAddress) Builder.defineMacro("_FORTIFY_SOURCE", "0");
|
||||
|
||||
if (!Opts.ObjCAutoRefCount) {
|
||||
// __weak is always defined, for use in blocks and with objc pointers.
|
||||
|
||||
Reference in New Issue
Block a user