diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-11-05 21:48:12 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-11-05 21:48:12 +0000 |
commit | ca1b62a33cacee20d3bd756210d3211dd663209e (patch) | |
tree | 3989e7cb6495db2264b3c52b594743cc3f01a22f /lib/CodeGen/CGDeclCXX.cpp | |
parent | 6db024c83917fff4d130eba8bda65d24c7629c11 (diff) |
Rename LangOptions members for address sanitizer and thread sanitizer from
*Sanitizer to Sanitize* in preparation for later patches.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167405 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDeclCXX.cpp')
-rw-r--r-- | lib/CodeGen/CGDeclCXX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGDeclCXX.cpp b/lib/CodeGen/CGDeclCXX.cpp index 872cb11252..4a81d8c9ea 100644 --- a/lib/CodeGen/CGDeclCXX.cpp +++ b/lib/CodeGen/CGDeclCXX.cpp @@ -231,7 +231,7 @@ CreateGlobalInitOrDestructFunction(CodeGenModule &CGM, if (!CGM.getLangOpts().Exceptions) Fn->setDoesNotThrow(); - if (CGM.getLangOpts().AddressSanitizer) + if (CGM.getLangOpts().SanitizeAddress) Fn->addFnAttr(llvm::Attributes::AddressSafety); return Fn; |