diff options
author | Alexey Samsonov <vonosmas@gmail.com> | 2014-10-15 22:17:27 +0000 |
---|---|---|
committer | Alexey Samsonov <vonosmas@gmail.com> | 2014-10-15 22:17:27 +0000 |
commit | 0b15e34bd15e24d6f52bfc259a44e0d149cbf54b (patch) | |
tree | cc9c6972c90ab959b68b370638b2849843cce2a5 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 026aa4962af114dc574f67dc211fb01ff23dc966 (diff) | |
download | llvm-0b15e34bd15e24d6f52bfc259a44e0d149cbf54b.zip llvm-0b15e34bd15e24d6f52bfc259a44e0d149cbf54b.tar.gz llvm-0b15e34bd15e24d6f52bfc259a44e0d149cbf54b.tar.bz2 |
Move SanitizerBlacklist object from CodeGenModule to ASTContext.
Soon we'll need to have access to blacklist before the CodeGen
phase (see http://reviews.llvm.org/D5687), so parse and construct
the blacklist earlier.
llvm-svn: 219857
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index 47ff8cd..c5c9d6ec 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/lib/CodeGen/CodeGenModule.h @@ -475,8 +475,6 @@ class CodeGenModule : public CodeGenTypeCache { GlobalDecl initializedGlobalDecl; - SanitizerBlacklist SanitizerBL; - std::unique_ptr<SanitizerMetadata> SanitizerMD; /// @} @@ -1048,7 +1046,7 @@ public: void AddGlobalAnnotations(const ValueDecl *D, llvm::GlobalValue *GV); const SanitizerBlacklist &getSanitizerBlacklist() const { - return SanitizerBL; + return Context.getSanitizerBlacklist(); } SanitizerMetadata *getSanitizerMetadata() { |