This is an automated email from the git hooks/post-receive script.
tcwg-buildslave pushed a change to branch linaro-local/ci/tcwg_kernel/llvm-master-aarch64-next-allmodconfig in repository toolchain/ci/llvm-project.
from a271acbf793 [lit] Try yet again to fix new tests that fail on Windows bots adds 64c00893fae [lit] Adjust error handling for decode introduced by r374665 adds 6446079add8 [X86] Use any_of/all_of patterns in shuffle mask pattern re [...] adds 37041c7d226 Fix cppcheck shadow variable name warnings. NFCI. adds 66417a9f036 Replace for-loop of SmallVector::push_back with SmallVector [...] adds c8ac97edc89 [NFC][LoopIdiom] Adjust FIXME to be self-explanatory adds 1e98a6c57a0 [lit] Try errors="ignore" for decode introduced by r374665 adds 936c6b57be1 SymbolRecord - fix uninitialized variable warnings. NFCI. adds 5f2543f8dc0 SymbolRecord - consistently use explicit for single operand [...] adds 67165126703 [X86] scaleShuffleMask - use size_t Scale to avoid overflow [...] adds 459a93659a9 Revert r374671: "[lit] Try errors="ignore" for decode intro [...] adds b005d9e86ff Revert r374666: "[lit] Adjust error handling for decode int [...] adds e9d3b8192ed Revert r374665: "[lit] Try yet again to fix new tests that [...] adds 9abfa581711 Revert r374653: "[lit] Fix a few oversights in r374651 that [...] adds 57046e8fd9b Revert r374652: "[lit] Fix internal diff's --strip-trailing [...] adds b3f157a9008 Revert 374651: "Reland r374392: [lit] Extend internal diff [...] adds f6210fc24f2 Revert r374650: "Reland r374390: [lit] Extend internal diff [...] adds 199f5cd8636 Revert r374649: "Reland r374389: [lit] Clean up internal di [...] adds 3049748e15b Revert r374648: "Reland r374388: [lit] Make internal diff w [...] adds e198823b87b [libc++][test] Silence MSVC warning in std::optional test adds b12012cc980 gn build: (manually) merge r374663 adds e95d1ca1e2e Revert r374663 "[clang-format] Proposal for clang-format to [...] adds 92694eba933 [SROA] Reuse existing lifetime markers if possible adds ea1e81f54b9 [Attributor][FIX] Avoid modifying naked/optnone functions adds 9daf51910b1 [Attributor][FIX] Add missing function declaration in test case adds d20f80780e0 [Attributor][FIX] Do not apply h2s for arbitrary mallocs adds af6e4797330 [Attributor][FIX] Ensure h2s doesn't trigger on escaped pointers adds 3753aa75d2f [Attributor][NFC] Expose call site traversal without QueryingAA adds e9d3f708220 [Attributor] Remove unused verification flag adds 4868841ee4f [Attributor][FIX] Remove leftover, now unused, variable adds 4056e7f02a4 [Attributor][FIX] Avoid splitting blocks if possible adds 8fe8adb9f19 [X86] Add v2i64->v2i32/v2i16/v2i8 test cases to the trunc p [...] adds bf57aa2b25c [X86] Enable v4i32->v4i16 and v8i16->v8i8 saturating trunca [...] adds d50cb9ac8ca [X86] Add a one use check on the setcc to the min/max canon [...] adds 82f8f8b44cd [clang-tidy] New checker for not null-terminated result cau [...] adds 0fb5a1ee97a gn build: Merge r374707 adds 2e77fcb05b3 [clang-tidy] bugprone-not-null-terminated-result: Sphinx ad [...] adds adac533d957 [clang-tidy] bugprone-not-null-terminated-result: Sphinx ad [...] adds 3965c76abcc [clang-tidy] bugprone-not-null-terminated-result: checker a [...] adds 78037577f12 [clang-tidy] bugprone-not-null-terminated-result: checker a [...] adds b56989bcc7d [clang-tidy] bugprone-not-null-terminated-result: checker a [...] adds d2b790eb680 [clang-tidy] bugprone-not-null-terminated-result: checker a [...] adds 944a051ebbd IRTranslator - silence static analyzer null dereference war [...] adds 2c775709f6c BlockInCriticalSectionChecker - silence static analyzer dyn [...] adds 51fa7409e7b Make most clangd unittests pass on Windows adds e84916d8917 [X86][AVX] Add i686 avx splat tests adds 6a1f7d6c9ff [clang-format] Proposal for clang-format to give compiler s [...] adds d0b8db9ab8c gn build: (manually) merge r374720
No new revisions were added by this update.
Summary of changes: .../clang-tidy/bugprone/BugproneTidyModule.cpp | 3 + .../clang-tidy/bugprone/CMakeLists.txt | 1 + .../bugprone/NotNullTerminatedResultCheck.cpp | 1007 ++++++++++++++++++ .../bugprone/NotNullTerminatedResultCheck.h | 67 ++ .../clangd/unittests/FindTargetTests.cpp | 16 + .../clangd/unittests/ParsedASTTests.cpp | 3 + .../clangd/unittests/SelectionTests.cpp | 10 +- .../clangd/unittests/SemanticHighlightingTests.cpp | 10 +- .../clangd/unittests/TweakTesting.cpp | 2 + clang-tools-extra/clangd/unittests/TweakTesting.h | 3 + clang-tools-extra/clangd/unittests/TweakTests.cpp | 11 +- clang-tools-extra/clangd/unittests/XRefsTests.cpp | 9 +- clang-tools-extra/docs/ReleaseNotes.rst | 9 + .../checks/bugprone-not-null-terminated-result.rst | 132 +++ clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + .../not-null-terminated-result-c.h | 39 + .../not-null-terminated-result-cxx.h | 65 ++ ...ll-terminated-result-in-initialization-strlen.c | 84 ++ ...not-null-terminated-result-memcpy-before-safe.c | 71 ++ ...-not-null-terminated-result-memcpy-safe-cxx.cpp | 124 +++ ...-not-null-terminated-result-memcpy-safe-other.c | 112 ++ ...gprone-not-null-terminated-result-memcpy-safe.c | 124 +++ .../bugprone-not-null-terminated-result-strlen.c | 123 +++ .../bugprone-not-null-terminated-result-wcslen.cpp | 111 ++ ...not-null-terminated-result-wmemcpy-safe-cxx.cpp | 111 ++ .../Checkers/BlockInCriticalSectionChecker.cpp | 2 +- clang/test/Format/dry-run-alias.cpp | 2 +- clang/test/Format/dry-run.cpp | 2 +- .../make_optional_explicit.pass.cpp | 2 +- .../include/llvm/DebugInfo/CodeView/SymbolRecord.h | 252 ++--- llvm/include/llvm/Transforms/IPO/Attributor.h | 25 +- llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 7 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 63 +- llvm/lib/Target/X86/X86ISelLowering.h | 8 +- llvm/lib/Transforms/IPO/Attributor.cpp | 127 ++- llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp | 2 +- llvm/lib/Transforms/Scalar/SROA.cpp | 10 +- llvm/test/CodeGen/X86/avx-splat.ll | 165 ++- llvm/test/CodeGen/X86/midpoint-int.ll | 605 +++++------ llvm/test/CodeGen/X86/vector-trunc-packus.ll | 1064 ++++++++++++++++++- llvm/test/CodeGen/X86/vector-trunc-ssat.ll | 1100 ++++++++++++++++++-- llvm/test/CodeGen/X86/vector-trunc-usat.ll | 718 +++++++++++++ llvm/test/MC/ARM/preserve-comments-arm.s | 2 +- llvm/test/MC/AsmParser/preserve-comments.s | 2 +- .../test/Transforms/FunctionAttrs/heap_to_stack.ll | 124 ++- llvm/test/Transforms/FunctionAttrs/liveness.ll | 4 +- llvm/test/Transforms/FunctionAttrs/nonnull.ll | 26 + .../Transforms/FunctionAttrs/noreturn_async.ll | 8 +- .../test/Transforms/FunctionAttrs/noreturn_sync.ll | 4 +- .../test/Transforms/SROA/reuse_lifetime_markers.ll | 69 ++ llvm/test/tools/llvm-cxxmap/remap.test | 2 +- .../tools/llvm-profdata/profile-symbol-list.test | 2 +- llvm/test/tools/llvm-profdata/roundtrip.test | 10 +- llvm/test/tools/llvm-profdata/sample-remap.test | 2 +- .../clang-tools-extra/clang-tidy/bugprone/BUILD.gn | 1 + .../gn/secondary/clang/tools/clang-format/BUILD.gn | 1 + llvm/utils/lit/lit/TestRunner.py | 224 +++- llvm/utils/lit/lit/builtin_commands/diff.py | 244 ----- .../tests/Inputs/shtest-shell/diff-encodings.txt | 15 - .../lit/tests/Inputs/shtest-shell/diff-error-0.txt | 3 + .../lit/tests/Inputs/shtest-shell/diff-in.bin | Bin 26 -> 0 bytes .../lit/tests/Inputs/shtest-shell/diff-in.dos | 3 - .../lit/tests/Inputs/shtest-shell/diff-in.unix | 3 - .../lit/tests/Inputs/shtest-shell/diff-in.utf16 | Bin 24 -> 0 bytes .../lit/tests/Inputs/shtest-shell/diff-in.utf8 | 3 - .../lit/tests/Inputs/shtest-shell/diff-pipes.txt | 25 - .../tests/Inputs/shtest-shell/diff-r-error-7.txt | 2 - .../tests/Inputs/shtest-shell/diff-r-error-8.txt | 2 - .../Inputs/shtest-shell/diff-strip-trailing-cr.txt | 10 - .../lit/tests/Inputs/shtest-shell/diff-unified.txt | 38 - llvm/utils/lit/tests/max-failures.py | 2 +- llvm/utils/lit/tests/shtest-shell.py | 339 +----- 72 files changed, 6059 insertions(+), 1513 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/bugprone/NotNullTerminatedResultCheck.h create mode 100644 clang-tools-extra/docs/clang-tidy/checks/bugprone-not-null-term [...] create mode 100644 clang-tools-extra/test/clang-tidy/Inputs/bugprone-not-null-term [...] create mode 100644 clang-tools-extra/test/clang-tidy/Inputs/bugprone-not-null-term [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-not-null-terminated- [...] create mode 100644 llvm/test/Transforms/SROA/reuse_lifetime_markers.ll delete mode 100644 llvm/utils/lit/lit/builtin_commands/diff.py delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-encodings.txt create mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-in.bin delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-in.dos delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-in.unix delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf16 delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-in.utf8 delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-pipes.txt delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-7.txt delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-8.txt delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-strip-trailing-cr.txt delete mode 100644 llvm/utils/lit/tests/Inputs/shtest-shell/diff-unified.txt