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
Showing
- lib/CodeGen/CMakeLists.txt 1 addition, 1 deletionlib/CodeGen/CMakeLists.txt
- lib/CodeGen/CodeGenModule.cpp 5 additions, 6 deletionslib/CodeGen/CodeGenModule.cpp
- lib/CodeGen/CodeGenModule.h 4 additions, 4 deletionslib/CodeGen/CodeGenModule.h
- lib/CodeGen/SanitizerBlacklist.cpp 48 additions, 0 deletionslib/CodeGen/SanitizerBlacklist.cpp
- lib/CodeGen/SanitizerBlacklist.h 45 additions, 0 deletionslib/CodeGen/SanitizerBlacklist.h
- lib/Driver/CMakeLists.txt 0 additions, 1 deletionlib/Driver/CMakeLists.txt
- lib/Driver/SanitizerArgs.cpp 1 addition, 1 deletionlib/Driver/SanitizerArgs.cpp
Loading
Please register or sign in to comment