From 4f45bc099f2665bc6e4bcbb169aa452390dbf3fe Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Fri, 18 Jan 2013 11:30:38 +0000 Subject: [ubsan] Add support for -fsanitize-blacklist git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172808 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/CompilerInvocation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Frontend/CompilerInvocation.cpp') diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp index e810a22dce..2c02c423c1 100644 --- a/lib/Frontend/CompilerInvocation.cpp +++ b/lib/Frontend/CompilerInvocation.cpp @@ -1300,7 +1300,7 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, .Default(Unknown)) { #define SANITIZER(NAME, ID) \ case ID: \ - Opts.Sanitize##ID = true; \ + Opts.Sanitize.ID = true; \ break; #include "clang/Basic/Sanitizers.def" -- cgit v1.2.3