hanchenye-llvm-project/clang/lib
Leonard Chan 0cdd3b1d81 [NewPM] Port HWASan and Kernel HWASan
Port hardware assisted address sanitizer to new PM following the same guidelines as msan and tsan.

Changes:
- Separate HWAddressSanitizer into a pass class and a sanitizer class.
- Create new PM wrapper pass for the sanitizer class.
- Use the getOrINsert pattern for some module level initialization declarations.
- Also enable kernel-kwasan in new PM
- Update llvm tests and add clang test.

Differential Revision: https://reviews.llvm.org/D61709

llvm-svn: 360707
2019-05-14 21:17:21 +00:00
..
ARCMigrate Recommit r359859 "[Attribute/Diagnostics] Print macro if definition is an attribute declaration" 2019-05-07 03:20:17 +00:00
AST Make getObjCEncodingForTypeImpl() take a bitmask instead of 8 bools 2019-05-14 12:32:37 +00:00
ASTMatchers Added an AST matcher for declarations that are in the `std` namespace 2019-05-03 12:50:00 +00:00
Analysis [c++20] Implement P1009R2: allow omitting the array bound in an array 2019-05-06 03:47:15 +00:00
Basic [AMDGPU] gfx1010 clang target 2019-05-13 23:15:59 +00:00
CodeGen [NewPM] Port HWASan and Kernel HWASan 2019-05-14 21:17:21 +00:00
CrossTU [analyzer][CrossTU] Extend CTU to VarDecls with initializer 2019-04-23 11:04:41 +00:00
Driver [Driver][Windows] Add dependent lib argument for profile instr generate 2019-05-14 14:01:40 +00:00
Edit Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
Format Revert "Revert "[clang-format] Keep protobuf "package" statement on one line"" 2019-05-10 09:15:11 +00:00
Frontend Temporarily revert "Change -gz and -Wa,--compress-debug-sections to use gABI compression (SHF_COMPRESSED)" 2019-05-14 19:40:42 +00:00
FrontendTool [analyzer] Don't display implementation checkers under -analyzer-checker-help, but do under the new flag -analyzer-checker-help-hidden 2019-05-01 19:56:47 +00:00
Headers [X86] Make `x86intrin.h`, `immintrin.h` includable with `-fno-gnu-inline-asm`. 2019-05-13 22:40:11 +00:00
Index Use llvm::stable_sort 2019-04-24 14:43:05 +00:00
Lex [Preamble] Stop circular inclusion of main file when building preamble 2019-05-10 10:25:35 +00:00
Parse Fix for P41852 where builtin attributes were being caught by FindLocsWithCommonFileID(). 2019-05-12 21:50:01 +00:00
Rewrite Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Sema [c++20] P1064R0: Allow virtual function calls in constant expression 2019-05-13 23:35:21 +00:00
Serialization PR41845: Detect and reject mismatched inner/outer pack expansion sizes 2019-05-13 08:31:14 +00:00
StaticAnalyzer [analyzer] Fix a crash when doing RVO from within blocks. 2019-05-07 22:33:13 +00:00
Tooling [Tooling] Add -x flags when inferring compile commands for files with no/invalid extension. 2019-05-07 14:34:06 +00:00
CMakeLists.txt