]> granicus.if.org Git - clang/commit
Move SanitizerArgs to the clang Driver
authorAlexey Samsonov <samsonov@google.com>
Mon, 19 Aug 2013 09:14:21 +0000 (09:14 +0000)
committerAlexey Samsonov <samsonov@google.com>
Mon, 19 Aug 2013 09:14:21 +0000 (09:14 +0000)
commit1b8f12d46c10169bb949372ec5fc4c58afc2ced1
treea48e0eafa296f586b2985020ae1704d16301b539
parentecf119c68b9f20f022965fb4875f3fa1d4ffef70
Move SanitizerArgs to the clang Driver

Summary:
This change turns SanitizerArgs into high-level options
stored in the Driver, which are parsed lazily. This fixes an issue of multiple copies of the same diagnostic message produced by sanitizer arguments parser.

Reviewers: rsmith

Reviewed By: rsmith

CC: chandlerc, eugenis, cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1341

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188660 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Driver.h
include/clang/Driver/SanitizerArgs.h [moved from lib/Driver/SanitizerArgs.h with 98% similarity]
include/clang/Driver/ToolChain.h
lib/Driver/Driver.cpp
lib/Driver/SanitizerArgs.cpp
lib/Driver/ToolChain.cpp
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
lib/Driver/Tools.cpp
test/Driver/fsanitize.c
test/Driver/integrated-as.s