llvm-project/clang/test
Arthur Eubanks c07339c675 Move *San module passes later in the NPM pipeline
Summary:
This fixes pr33372.cpp under the new pass manager.

ASan adds padding to globals. For example, it will change a {i32, i32, i32} to a {{i32, i32, i32}, [52 x i8]}. However, when loading from the {i32, i32, i32}, InstCombine may (after various optimizations) end up loading 16 bytes instead of 12, likely because it thinks the [52 x i8] padding is ok to load from. But ASan checks that padding should not be loaded from.

Ultimately this is an issue of *San passes wanting to be run after all optimizations. This change moves the module passes right next to the corresponding function passes.

Also remove comment that's no longer relevant, this is the last ASan/MSan/TSan failure under the NPM (hopefully...).

As mentioned in https://reviews.llvm.org/rG1285e8bcac2c54ddd924ffb813b2b187467ac2a6, NPM doesn't support LTO + sanitizers, so modified some tests that test for that.

Reviewers: leonardchan, vitalybuka

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D81323
2020-06-08 12:08:49 -07:00
..
ARCMT
AST PR46209: properly determine whether a copy assignment operator is 2020-06-05 16:05:32 -07:00
ASTMerge
Analysis [analyzer] Ignore calculated indices of <= 0 in VLASizeChecker 2020-06-04 07:25:35 -05:00
CXX Undo removal of test for dr777. 2020-06-02 14:19:42 -07:00
ClangScanDeps
CodeCompletion [Sema][CodeComplete][ObjC] Don't include arrow/dot fixits 2020-06-08 12:46:00 -04:00
CodeGen Move *San module passes later in the NPM pipeline 2020-06-08 12:08:49 -07:00
CodeGenCUDA [CUDA][HIP] Fix constexpr variables for C++17 2020-06-03 21:56:52 -04:00
CodeGenCXX Reland D80966 [codeview] Put !heapallocsite on calls to operator new 2020-06-07 13:35:20 -07:00
CodeGenCoroutines [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
CodeGenHIP
CodeGenObjC Return "[InstCombine] Simplify compare of Phi with constant inputs against a constant" 2020-06-05 20:48:29 +07:00
CodeGenObjCXX [os_log][test] Remove -O1 from a test, NFC 2020-06-01 16:54:16 -07:00
CodeGenOpenCL Fix test on PS4 linux bot. 2020-06-02 20:17:02 +00:00
CodeGenOpenCLCXX [CGCall] Annotate references with "align" attribute. 2020-05-19 20:21:30 -07:00
CodeGenSYCL [SYCL] Update __builtin_unique_stable_name for other backends. 2020-04-17 07:54:18 -07:00
Coverage
CoverageMapping
Driver [Driver] Omit -mthread-model posix which is the CC1 default 2020-06-07 12:27:11 -07:00
FixIt
Format
Frontend [Lexer] Fix invalid suffix diagnostic for fixed-point literals 2020-05-27 16:16:56 -07:00
Headers [OpenMP][SYCL] Improve diagnosing of unsupported types usage 2020-05-29 18:00:48 +03:00
Import
Index [clang][index] Fix a crash for accessing a null field decl. 2020-05-21 09:47:36 +02:00
Integration
InterfaceStubs [llvm][clang][IFS] Enhancing the llvm-ifs yaml format for symbol lists. 2020-04-01 10:49:06 -04:00
Layout [MS] Fix packed struct layout for arrays of aligned non-record types 2020-04-14 18:34:52 -07:00
Lexer [clang][slh] Add test for SLH feature checking macro 2020-05-15 12:23:31 -07:00
Misc [Clang] Add a new warning to warn when passing uninitialized variables as const reference parameters to a function 2020-06-02 10:21:02 -07:00
Modules [clang] Always allow including builtin headers in [no_undeclared_headers] modules. 2020-06-04 08:33:39 +02:00
OpenMP [OPENMP50]Codegen for inscan reductions in worksharing directives. 2020-06-04 16:29:33 -04:00
PCH [ObjC] Fix AST serialization for pseudo-strong parameters 2020-06-08 11:54:01 -04:00
Parser [clang][asm goto][slh] Warn if asm goto + SLH 2020-05-20 09:46:18 -07:00
ParserSYCL [SYCL] Implement __builtin_unique_stable_name. 2020-03-25 07:01:50 -07:00
Preprocessor recommit "[HIP] Add default header and include path" 2020-06-06 14:21:22 -04:00
Profile [PGO] Fix computation of function Hash 2020-05-27 09:15:21 +02:00
Refactor
Rewriter
Sema Reland D80979 [clang] Implement VectorType logic not operator 2020-06-08 09:32:30 -07:00
SemaCUDA [CUDA][HIP] Fix implicit HD function resolution 2020-06-04 16:54:52 -04:00
SemaCXX [AST] Fix a clang crash on an invalid for-range statement. 2020-06-08 17:32:10 +02:00
SemaObjC [Matrix] Implement matrix index expressions ([][]). 2020-06-01 20:08:49 +01:00
SemaObjCXX PR46209: properly determine whether a copy assignment operator is 2020-06-05 16:05:32 -07:00
SemaOpenCL [OpenCL] Add cl_khr_extended_subgroup extensions. 2020-06-04 13:29:30 +01:00
SemaOpenCLCXX [OpenCL] Added addrspace_cast operator in C++ mode. 2020-05-18 12:07:54 +01:00
SemaSYCL [OpenMP][SYCL] Improve diagnosing of unsupported types usage 2020-05-29 18:00:48 +03:00
SemaTemplate PR45589: Properly decompose overloaded `&&` and `||` operators in 2020-05-12 13:45:45 -07:00
TableGen
Templight
Tooling [Tooling] Drop leading/trailing whitespace from compile_flags.txt lines 2020-05-19 11:20:02 +02:00
Unit Revert a few unsuccessful attempts at fixing bots. 2020-04-13 17:09:21 -04:00
VFS
clang-rename
utils/update_cc_test_checks [utils] change default nameless value to "TMP" 2020-06-01 06:54:45 -04:00
.clang-format
CMakeLists.txt Stop passing site cfg files via --param to llvm-lit. 2020-04-07 08:20:40 -04:00
TestRunner.sh
cxx-sections.data
lit.cfg.py [apple clang] disable in-process CC1 to preserve crashlog compatibility 2020-06-05 10:55:42 -07:00
lit.site.cfg.py.in [apple clang] disable in-process CC1 to preserve crashlog compatibility 2020-06-05 10:55:42 -07:00
make_test_dirs.pl