Move -fsanitize-blacklist to LangOpts from CodeGenOpts. NFC.
After http://reviews.llvm.org/D5687 is submitted, we will need SanitizerBlacklist before the CodeGen phase, so make it a LangOpt (as it will actually affect ABI / class layout). llvm-svn: 219842
This commit is contained in:
@@ -90,7 +90,7 @@ CodeGenModule::CodeGenModule(ASTContext &C, const CodeGenOptions &CGO,
|
||||
BlockObjectDispose(nullptr), BlockDescriptorType(nullptr),
|
||||
GenericBlockLiteralType(nullptr), LifetimeStartFn(nullptr),
|
||||
LifetimeEndFn(nullptr), SanitizerBL(llvm::SpecialCaseList::createOrDie(
|
||||
CGO.SanitizerBlacklistFile)),
|
||||
LangOpts.Sanitize.BlacklistFile)),
|
||||
SanitizerMD(new SanitizerMetadata(*this)) {
|
||||
|
||||
// Initialize the type cache.
|
||||
|
||||
Reference in New Issue
Block a user