SpecialCaseList: Add support for parsing multiple input files.
authorAlexey Samsonov <vonosmas@gmail.com>
Wed, 4 Feb 2015 17:39:48 +0000 (17:39 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Wed, 4 Feb 2015 17:39:48 +0000 (17:39 +0000)
commit282314741d9fbd51f99d57cd27ff9c2ae32729d7
tree1be57987ec69749d9e86edccceeb5d7e4e00c817
parent3d82dfa13bf7c88303eb0e0f7ec1f76017302dc3
SpecialCaseList: Add support for parsing multiple input files.

Summary:
This change allows users to create SpecialCaseList objects from
multiple local files. This is needed to implement a proper support
for -fsanitize-blacklist flag (allow users to specify multiple blacklists,
in addition to default blacklist, see PR22431).

DFSan can also benefit from this change, as DFSan instrumentation pass now
accepts ABI-lists both from -fsanitize-blacklist= and -mllvm -dfsan-abilist flags.

Go bindings are fixed accordingly.

Test Plan: regression test suite

Reviewers: pcc

Subscribers: llvm-commits, axw, kcc

Differential Revision: http://reviews.llvm.org/D7367

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228155 91177308-0d34-0410-b5e6-96231b3b80d8
bindings/go/llvm/InstrumentationBindings.cpp
bindings/go/llvm/InstrumentationBindings.h
bindings/go/llvm/transforms_instrumentation.go
include/llvm/Support/SpecialCaseList.h
include/llvm/Transforms/Instrumentation.h
lib/Support/SpecialCaseList.cpp
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
unittests/Support/SpecialCaseListTest.cpp