]> granicus.if.org Git - clang/commit
Decouple llvm::SpecialCaseList text representation and its LLVM IR semantics.
authorAlexey Samsonov <vonosmas@gmail.com>
Wed, 9 Jul 2014 19:40:08 +0000 (19:40 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Wed, 9 Jul 2014 19:40:08 +0000 (19:40 +0000)
commite21afe131a825f27d71230f4cca327945207a08c
treeafd54be30e6428b7df5bb47f8526353662ceb2f3
parent48f80aa9abf55d5a2e195e2e8a58fb6e12f3887c
Decouple llvm::SpecialCaseList text representation and its LLVM IR semantics.

Turn llvm::SpecialCaseList into a simple class that parses text files in
a specified format and knows nothing about LLVM IR. Move this class into
LLVMSupport library. Implement two users of this class:
  * DFSanABIList in DFSan instrumentation pass.
  * SanitizerBlacklist in Clang CodeGen library.
The latter will be modified to use actual source-level information from frontend
(source file names) instead of unstable LLVM IR things (LLVM Module identifier).

Remove dependency edge from ClangCodeGen/ClangDriver to LLVMTransformUtils.

No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212643 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CMakeLists.txt
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/SanitizerBlacklist.cpp [new file with mode: 0644]
lib/CodeGen/SanitizerBlacklist.h [new file with mode: 0644]
lib/Driver/CMakeLists.txt
lib/Driver/SanitizerArgs.cpp