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-mainline-allyesconfig in repository toolchain/ci/llvm-monorepo.
from 5ee08faf4b8 [clang] Move two utility functions into SourceManager adds 53ac908918c Mark breaking TSan tests on NetBSD with XFAIL adds 822cb5cc36e [SystemZ] Improve isFoldableLoad() for Sub, SDiv and UDiv. adds f2fd3d91b17 [AST] Only store the needed data in WhileStmt adds bf2a73a5c7e [SelectionDAG] fix build warning for mismatched signs in co [...] adds c241a0d47bf Adapt ASan test heavy_uar_test for NetBSD adds b140d30f835 Disable ASan test asan_and_llvm_coverage_test for NetBSD adds e05a28675e3 [FIX][AArch64] Add support for UDF instruction adds 96a64ca4216 [DAGCombiner] narrow vector binops when extraction is cheap adds cf8eed39afb [LoopVectorizer] Fix for cost values of memory accesses. adds 60fd6f6f47d [PPC64] Handle powerpc64 in OUTPUT_FORMAT. adds 089820f9f8f [AST] Only store data for the NRVO candidate in ReturnStmt [...] adds b6516df6bdb [SchedModel] Fix for read advance cycles with implicit pse [...] adds 3feec417d2e [InstCombine] try to turn shuffle into insertelement adds c418f20f5b6 [LIBOMPTARGET] Add support for mapping of lambda captures. adds 1a156e009a5 [OPENMP] Support for mapping of the lambdas in target regions. adds 87273701876 [clang-tidy] cppcoreguidelines-macro-usage: print macro names adds 8d0ad22735d Add more benchmarks for std::string. adds 660237c61fb [llvm-mca] Move namespace mca inside llvm:: adds f1d70dc82c3 [InstCombine] use getFltSemantics() instead of duplicating it; NFC adds 4391a81f957 [llvm-objcopy] Fix --keep-global-symbol/--globalize-symbol [...] adds 24986ed1400 [InstSimplify] add tests for fcmp folds; NFC adds 9b2e6e6b3b9 [InstCombine] Add preliminary tests for nested min/max comb [...] adds d6d1bc4fab2 [TTI] Fix uses of SK_ExtractSubvector shuffle costs (PR39368) adds 62b8de2ffe2 [SystemZ] Simplify LRV/STRV ISD nodes adds 2abe50a7a67 Mark interception_failure_test with XFAIL for NetBSD adds b1dce6326f4 Cast the return value of _Unwind_GetIP() to uptr adds 1f8b8d25ffa [DebugInfo] Define base function on DWARFDie reverse iterators adds a26f7b340f6 Fix printing bug in pdb2yaml. adds 65b5bfc633a [DAG] Add const variants for BaseIndexOffset functions. adds 6271251f9ae [GCOV] Function counters are wrong when on one line adds 101f033498f [GCOV] Add a test for function defined on one line (follow- [...] adds 0cb1b575209 [X86] In lowerVectorShuffleAsBroadcast, make peeking throug [...] adds aef49dec352 Handle NetBSD alias for pthread_sigmask adds 8557fba5a32 Add the ability to output static analysis results to SARIF. adds 6dd25ba6b9f [NativePDB] Add support for dumping global variables of cla [...] adds 0840a79978e Fixing some build bot failures from r345628; NFC intended. adds eb853d8aeb4 [AArch64] Create proper memoperand for multi-vector stores adds 33138ef4955 [CMake] Check -ffreestanding as C not C++ flag adds bfce6e506b1 Silencing a -Wunused-variable warning; NFC. adds 330153e83b5 [AArch64] [Windows] SEH opcodes should be scheduling boundaries. adds ca0953cb192 Speculatively attempt to fix a failing testbot. adds 848bb25c318 [DAGCombiner] Fix for big endian in ForwardStoreValueToDirectLoad adds 8061bfb4e9c NFC: Remove the ObjC1/ObjC2 distinction from clang (and rel [...] adds 7bd92e3e613 [ScalarizeMaskedMemIntrin] Limit the scope of some variable [...] adds 5810e40da5b [x86] try to make test immune to better div optimization; NFCI adds 57d3a4ba218 [x86] try to make test immune to better div optimization; NFCI adds 6e442b50d41 [COFF, ARM64] Make sure to forward arguments from vararg to [...] adds a4b464738ca [x86] try to make test immune to better div optimization; NFCI adds 45e725c815f Revert "[ASTImporter] Reorder fields after structure import [...] adds 57e9e3e0367 [InstCombine] Teach the move free before null test opti how [...] adds e597414933e [builtins] Re-enable x86-only long double tests adds ebce22608d4 NFC: Merge KEYOBJC and KEYARC adds 2c6ddaae299 [InstCombine] use 'match' to reduce code; NFC adds 981823fc544 [ELF] Fallback to sh_link=0 if neither .dynsym nor .symtab exists adds c48af7628e6 Changing the command line parameters sent to diff for this test. adds 9b2098339b4 [FPEnv] [FPEnv] Add constrained intrinsics for MAXNUM and MINNUM adds a34b513b4d8 Mark breaking sanitizer_common tests on NetBSD adds d36366fc7d1 Update LLVM version used on Appveyor bot, remove MSVC 2015 bot adds 180282f9cc0 Add link to implementation for P1006R0 adds b0e1ab50974 Mark vptr-non-unique-typeinfo as a broken test for NetBSD/i386 adds eaec11b44c6 Switch getline_nohang from XFAIL to UNSUPPORTED for NetBSD adds e6d3cd94c2c [GCOV] Make test path generic so it passes on all machines adds b6d41b10f6f Make libc++'s versioning namespace customizable adds cf39faf6a38 [libcxx] Correct link to code review for P1006 adds 307034c85a4 [compiler-rt][ubsan] Implicit Conversion Sanitizer - intege [...] adds 3cb7f45f26b [clang][ubsan] Implicit Conversion Sanitizer - integer sign [...] adds 0c637275a7e [NFC][compiler-rt] Cleanup Implicit Conversion Sanitizer te [...] adds 6f5ac1ede17 Revert r345542: AMDGPU: Enable code object v3 by default adds 1c3f9a1c234 Mark breaking asan tests on NetBSD adds ca368dc3212 Build with -fvisibility=hidden adds 1aada99b592 [ARM][NFC] Make tests immune to better div optimizations adds 3a2da42efd1 Disable BufferOverflowAfterManyFrees for NetBSD adds c66069de918 Revert "Build with -fvisibility=hidden" adds a455a3214e6 [testsuite] Skip an already failing test on MacOS. adds ae9876f5f2b Silence unused variable warnings. NFC adds d5838982cf9 Correct ABI list change wrongly advertised as being in the [...] adds d57b9be0f18 MachineOperand/MIParser: Do not print debug-use flag, infer it adds 16bb2dd0ad1 DWARFVerifier: make the verifier more comprehensive for objects adds 3e1ca919e21 [Win64] Handle passing i128 by value adds d1614adbe95 [asan] Remove flags for clang-cl before it supported EH adds f3134c9f735 [lldb] Introduce StackFrameRecognizer adds 7aede320b26 ADT/STLExtras: Introduce llvm::empty; NFC adds 5586503140d Revert r345678 (build failure on Linux machines). adds 5c8e8f39b7f Don't duplicate function/class name at the beginning of the [...] adds 47f044c8173 Use the container form llvm::sort(C) adds f0130d9f03c Use llvm::any_of instead std::any_of. NFC adds eddf7045b73 [llvm-objcopy] Delete a redundant override whose base is empty adds 21b7445855f [asan] Remove stale -fno-exceptions flag in sanitizer_commo [...] adds 64ac8185904 [lldb] Introduce StackFrameRecognizer [take 2] adds 10588a19e05 [DWARF] Revert r345546: Refactor range list extraction and dumping adds a8c81775221 Revert r345686 due to build failures adds 0897d0dabf5 Try to fix ambiguities with C++17 headers in unittest adds 1a82e06a38d 2nd attempt to fix ambiguities because of ADL adds f73b4dbf467 Revert r345676 due to test failure. adds 35ae6921391 Create ConstantExpr class adds 199ba733f5a [lldb] Introduce StackFrameRecognizer [take 3] adds 5ba56101430 Fixup the Python-less build of ScriptedRecognizedStackFrame adds 34fa68c7053 Change "struct" to "class" to avoid warnings adds 3cf43cebd9e [ORC] Fix hex printing of uint64_t values. adds 9c5902f4c20 [llvm-objdump] support '--syms' as an alias of -t adds c5115b8fd73 [AArch64] Mark condition flags and x16/x17 as clobbered whe [...] adds 7017549dbda [clang-cl] Inherit dllexport to static locals also in templ [...] adds ba4fa792535 [clangd] fix non linux build adds 6d52a3d495e [ARM64] [Windows] Exception handling support in frame lowering adds 935fafec961 [MSan] another take at instrumenting inline assembly - now [...] adds fc020d37824 [llvm-objdump] Add --reloc alias for -r (PR39407) adds c894a6a29bb [llvm-objdump] Mark syms/t flags as NotHidden. NFC. adds 4d26c91a824 [LV] Support vectorization of interleave-groups that requir [...] adds dcbd12c4014 [LLDB] - Add support for DW_FORM_addrx[1-4]? forms. adds cf7a7c4200a Diable test suppressions-library for NetBSD/i386 adds 22b124493cf [IndVars] Strengthen restricton in rewriteLoopExitValues adds c0668357c0d Follow-up to r345699: Call CheckStaticLocalForDllExport lat [...] adds 986a39be5d8 [AMDGPU] support image load/store a16 adds 9ad3b11d69a [lldb] Fix race condition in framework installation adds 4b1c6026c3c [ADT] Remove illegal comparison of singular iterators from [...] adds 802ec112e9f [NFC] Add tests for loop-simplifycfg for further development new 51112374cea [tblgen][PredicateExpander] Add the ability to describe mor [...]
The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: .../cppcoreguidelines/MacroUsageCheck.cpp | 38 +- .../clang-tidy/cppcoreguidelines/MacroUsageCheck.h | 9 +- .../clang-tidy/google/AvoidCStyleCastsCheck.cpp | 2 +- .../google/AvoidThrowingObjCExceptionCheck.cpp | 3 +- .../google/GlobalVariableDeclarationCheck.cpp | 4 +- .../clang-tidy/objc/AvoidNSErrorInitCheck.cpp | 4 +- .../clang-tidy/objc/ForbiddenSubclassingCheck.cpp | 4 +- .../clang-tidy/objc/PropertyDeclarationCheck.cpp | 4 +- clang-tools-extra/clangd/Threading.cpp | 2 +- .../checks/cppcoreguidelines-macro-usage.rst | 5 + .../cppcoreguidelines-macro-usage-caps-only.cpp | 8 +- ...eguidelines-macro-usage-command-line-macros.cpp | 8 + .../cppcoreguidelines-macro-usage-custom.cpp | 8 +- .../clang-tidy/cppcoreguidelines-macro-usage.cpp | 8 +- clang/docs/ReleaseNotes.rst | 23 + clang/docs/UndefinedBehaviorSanitizer.rst | 29 +- clang/include/clang/AST/Expr.h | 59 + clang/include/clang/AST/ExprCXX.h | 11 +- clang/include/clang/AST/RecursiveASTVisitor.h | 2 + clang/include/clang/AST/Stmt.h | 182 ++- clang/include/clang/Basic/Attr.td | 2 +- clang/include/clang/Basic/Features.def | 22 +- clang/include/clang/Basic/LangOptions.def | 3 +- clang/include/clang/Basic/Sanitizers.def | 18 +- clang/include/clang/Basic/StmtNodes.td | 6 +- clang/include/clang/Basic/TokenKinds.def | 80 +- clang/include/clang/Basic/TokenKinds.h | 3 +- clang/include/clang/Parse/Parser.h | 2 +- clang/include/clang/Sema/Sema.h | 1 + clang/include/clang/Serialization/ASTBitCodes.h | 3 + .../include/clang/StaticAnalyzer/Core/Analyses.def | 1 + .../Core/BugReporter/PathDiagnostic.h | 2 +- clang/lib/ARCMigrate/ARCMT.cpp | 4 +- clang/lib/ARCMigrate/TransAutoreleasePool.cpp | 4 +- clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp | 6 +- clang/lib/ARCMigrate/TransUnbridgedCasts.cpp | 2 +- clang/lib/ARCMigrate/Transforms.cpp | 4 +- clang/lib/AST/ASTContext.cpp | 6 +- clang/lib/AST/ASTDumper.cpp | 7 + clang/lib/AST/ASTImporter.cpp | 55 +- clang/lib/AST/Decl.cpp | 2 +- clang/lib/AST/Expr.cpp | 5 + clang/lib/AST/ExprCXX.cpp | 9 +- clang/lib/AST/ExprClassification.cpp | 3 + clang/lib/AST/ExprConstant.cpp | 7 +- clang/lib/AST/ItaniumMangle.cpp | 4 + clang/lib/AST/NSAPI.cpp | 6 +- clang/lib/AST/ParentMap.cpp | 2 +- clang/lib/AST/Stmt.cpp | 92 +- clang/lib/AST/StmtPrinter.cpp | 4 + clang/lib/AST/StmtProfile.cpp | 4 + clang/lib/Analysis/BodyFarm.cpp | 5 +- clang/lib/Analysis/FormatString.cpp | 2 +- clang/lib/Analysis/LiveVariables.cpp | 4 +- clang/lib/Analysis/ThreadSafety.cpp | 4 +- clang/lib/Analysis/ThreadSafetyCommon.cpp | 2 + clang/lib/Basic/Builtins.cpp | 2 +- clang/lib/Basic/IdentifierTable.cpp | 57 +- clang/lib/Basic/Module.cpp | 2 +- clang/lib/Basic/Targets/OSTargets.cpp | 2 +- clang/lib/CodeGen/CGBlocks.cpp | 16 +- clang/lib/CodeGen/CGDebugInfo.cpp | 6 +- clang/lib/CodeGen/CGDecl.cpp | 6 +- clang/lib/CodeGen/CGException.cpp | 6 +- clang/lib/CodeGen/CGExpr.cpp | 4 +- clang/lib/CodeGen/CGExprScalar.cpp | 260 +++- clang/lib/CodeGen/CGObjC.cpp | 7 +- clang/lib/CodeGen/CGOpenMPRuntime.cpp | 84 ++ clang/lib/CodeGen/CGOpenMPRuntime.h | 6 + clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp | 53 + clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h | 5 + clang/lib/CodeGen/CGStmt.cpp | 7 +- clang/lib/CodeGen/CGStmtOpenMP.cpp | 22 +- clang/lib/CodeGen/CodeGenFunction.h | 8 +- clang/lib/CodeGen/CodeGenModule.cpp | 4 +- clang/lib/CodeGen/TargetInfo.cpp | 1 - clang/lib/Format/Format.cpp | 3 +- clang/lib/Frontend/ASTUnit.cpp | 4 +- clang/lib/Frontend/CompilerInstance.cpp | 2 +- clang/lib/Frontend/CompilerInvocation.cpp | 4 +- clang/lib/Frontend/FrontendAction.cpp | 2 +- clang/lib/Frontend/InitHeaderSearch.cpp | 8 +- clang/lib/Frontend/InitPreprocessor.cpp | 10 +- clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp | 2 +- clang/lib/Frontend/Rewrite/RewriteObjC.cpp | 2 +- clang/lib/Lex/Lexer.cpp | 2 +- clang/lib/Lex/PPDirectives.cpp | 10 +- clang/lib/Parse/ParseDecl.cpp | 16 +- clang/lib/Parse/ParseDeclCXX.cpp | 2 +- clang/lib/Parse/ParseExpr.cpp | 24 +- clang/lib/Parse/ParseExprCXX.cpp | 4 +- clang/lib/Parse/ParseInit.cpp | 6 +- clang/lib/Parse/ParseObjc.cpp | 20 +- clang/lib/Parse/ParseStmt.cpp | 2 +- clang/lib/Parse/ParseTentative.cpp | 10 +- clang/lib/Parse/Parser.cpp | 10 +- clang/lib/Sema/Sema.cpp | 4 +- clang/lib/Sema/SemaCast.cpp | 2 +- clang/lib/Sema/SemaChecking.cpp | 2 +- clang/lib/Sema/SemaCodeComplete.cpp | 32 +- clang/lib/Sema/SemaDecl.cpp | 36 +- clang/lib/Sema/SemaDeclAttr.cpp | 10 +- clang/lib/Sema/SemaDeclCXX.cpp | 2 +- clang/lib/Sema/SemaExceptionSpec.cpp | 3 + clang/lib/Sema/SemaExpr.cpp | 8 +- clang/lib/Sema/SemaExprMember.cpp | 2 +- clang/lib/Sema/SemaExprObjC.cpp | 4 +- clang/lib/Sema/SemaInit.cpp | 10 +- clang/lib/Sema/SemaLambda.cpp | 2 +- clang/lib/Sema/SemaOpenMP.cpp | 62 +- clang/lib/Sema/SemaOverload.cpp | 6 +- clang/lib/Sema/SemaStmt.cpp | 28 +- clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | 3 + clang/lib/Sema/SemaType.cpp | 4 +- clang/lib/Sema/TreeTransform.h | 10 +- clang/lib/Serialization/ASTReaderStmt.cpp | 29 +- clang/lib/Serialization/ASTWriterStmt.cpp | 22 +- .../StaticAnalyzer/Checkers/DeadStoresChecker.cpp | 5 +- .../StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp | 2 +- clang/lib/StaticAnalyzer/Core/BugReporter.cpp | 2 +- .../StaticAnalyzer/Core/BugReporterVisitors.cpp | 8 +- clang/lib/StaticAnalyzer/Core/CMakeLists.txt | 5 +- clang/lib/StaticAnalyzer/Core/Environment.cpp | 3 + clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 3 + clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp | 268 ++++ clang/lib/Tooling/Inclusions/HeaderIncludes.cpp | 3 +- .../sarif-diagnostics-taint-test.c.sarif | 99 ++ .../diagnostics/sarif-diagnostics-taint-test.c | 15 + ...asics.c => catch-implicit-conversions-basics.c} | 16 +- ...licit-integer-arithmetic-value-change-basics.c} | 18 +- .../catch-implicit-integer-conversions-basics.c | 16 +- .../catch-implicit-integer-sign-changes-basics.c | 157 +++ ...-implicit-integer-sign-changes-true-negatives.c | 140 ++ .../CodeGen/catch-implicit-integer-sign-changes.c | 273 ++++ ...icit-signed-integer-truncation-or-sign-change.c | 152 +++ ...mplicit-integer-sign-changes-true-negatives.cpp | 149 +++ clang/test/CodeGenCXX/dllexport.cpp | 12 + clang/test/CodeGenCXX/dllimport.cpp | 23 + clang/test/Driver/fsanitize.c | 37 +- clang/test/Import/while-stmt/test.cpp | 2 - clang/test/Modules/module_file_info.m | 2 +- clang/test/OpenMP/nvptx_lambda_capturing.cpp | 132 ++ clang/tools/arcmt-test/arcmt-test.cpp | 4 +- .../tools/clang-import-test/clang-import-test.cpp | 3 +- clang/tools/libclang/CXCursor.cpp | 4 + clang/tools/libclang/CXType.cpp | 2 +- clang/unittests/AST/ASTImporterTest.cpp | 13 +- compiler-rt/cmake/Modules/AddCompilerRT.cmake | 9 - compiler-rt/cmake/base-config-ix.cmake | 2 - compiler-rt/cmake/config-ix.cmake | 2 +- compiler-rt/lib/asan/tests/CMakeLists.txt | 5 - compiler-rt/lib/asan/tests/asan_test.cc | 2 + compiler-rt/lib/builtins/int_types.h | 12 + .../sanitizer_unwind_linux_libcdep.cc | 2 +- .../lib/sanitizer_common/tests/CMakeLists.txt | 5 - compiler-rt/lib/tsan/rtl/tsan_interceptors.cc | 3 + compiler-rt/lib/tsan/rtl/tsan_interceptors.h | 4 + compiler-rt/lib/ubsan/ubsan_checks.inc | 6 + compiler-rt/lib/ubsan/ubsan_handlers.cc | 6 + compiler-rt/lib/ubsan/ubsan_handlers.h | 2 + .../test/asan/TestCases/Posix/coverage-reset.cc | 2 + compiler-rt/test/asan/TestCases/Posix/coverage.cc | 1 + .../test/asan/TestCases/Posix/dlclose-test.cc | 2 + .../Posix/interception-in-shared-lib-test.cc | 2 + .../asan/TestCases/Posix/stack-use-after-return.cc | 2 +- .../test/asan/TestCases/Posix/tsd_dtor_leak.cc | 1 + .../asan/TestCases/asan_and_llvm_coverage_test.cc | 3 + compiler-rt/test/asan/TestCases/heavy_uar_test.cc | 4 +- .../asan/TestCases/interception_failure_test.cc | 2 +- .../test/asan/TestCases/suppressions-library.cc | 1 + compiler-rt/test/builtins/Unit/fixxfdi_test.c | 2 +- ...nTest.cpp => ImplicitIntegerSignChangeTest.cpp} | 10 +- ...citSignedIntegerTruncationOrSignChangeTest.cpp} | 10 +- .../fuzzer/ImplicitSignedIntegerTruncationTest.cpp | 4 +- .../ImplicitUnsignedIntegerTruncationTest.cpp | 4 +- .../fuzzer-implicit-integer-sign-change.test | 5 + ...t-signed-integer-truncation-or-sign-change.test | 5 + .../fuzzer-implicit-signed-integer-truncation.test | 2 +- ...uzzer-implicit-unsigned-integer-truncation.test | 2 +- .../Inputs/instrprof-gcov-one-line-function.c | 11 + .../Inputs/instrprof-gcov-one-line-function.c.gcov | 16 + .../profile/instrprof-gcov-one-line-function.test | 9 + .../TestCases/NetBSD/getgroupmembership.cc | 2 + .../TestCases/Posix/dedup_token_length_test.cc | 2 + .../sanitizer_common/TestCases/Posix/readlinkat.c | 2 + .../TestCases/get_module_and_offset_for_pc.cc | 1 + compiler-rt/test/tsan/dtls.c | 1 + compiler-rt/test/tsan/getline_nohang.cc | 4 +- compiler-rt/test/tsan/ignored-interceptors-mmap.cc | 2 +- compiler-rt/test/tsan/mutex_lock_destroyed.cc | 3 + .../integer-arithmetic-value-change.c | 345 +++++ .../ImplicitConversion/integer-conversion.c | 117 +- .../integer-sign-change-blacklist.c | 28 + .../integer-sign-change-summary.cpp | 13 + .../ImplicitConversion/integer-sign-change.c | 297 +++++ .../ImplicitConversion/integer-truncation.c | 84 +- .../signed-integer-truncation-blacklist.c | 6 +- ...d-integer-truncation-or-sign-change-blacklist.c | 58 + ...d-integer-truncation-or-sign-change-summary.cpp | 13 + .../ImplicitConversion/signed-integer-truncation.c | 72 +- .../unsigned-integer-truncation-blacklist.c | 6 +- .../unsigned-integer-truncation.c | 44 +- .../TypeCheck/vptr-non-unique-typeinfo.cpp | 1 + .../TestCases/implicit-integer-sign-change.c | 17 + ...icit-signed-integer-truncation-or-sign-change.c | 17 + libcxx/CMakeLists.txt | 10 + libcxx/appveyor-reqs-install.cmd | 2 +- libcxx/appveyor.yml | 8 - libcxx/benchmarks/string.bench.cpp | 347 ++++- libcxx/docs/BuildingLibcxx.rst | 12 + libcxx/include/__config | 8 +- libcxx/include/__config_site.in | 1 + libcxx/lib/abi/CHANGELOG.TXT | 5 +- libcxx/src/iostream.cpp | 18 +- libcxx/www/upcoming_meeting.html | 2 +- lld/ELF/ScriptParser.cpp | 4 + lld/ELF/SyntheticSections.cpp | 14 +- lld/test/ELF/emulation-ppc.s | 8 + lld/test/ELF/gnu-ifunc-relative.s | 16 +- lldb/cmake/modules/AddLLDB.cmake | 2 +- lldb/include/lldb/API/SBVariablesOptions.h | 4 + .../include/lldb/Interpreter/OptionGroupVariable.h | 2 + lldb/include/lldb/Interpreter/ScriptInterpreter.h | 11 + lldb/include/lldb/Target/StackFrame.h | 3 + lldb/include/lldb/Target/StackFrameRecognizer.h | 129 ++ lldb/include/lldb/lldb-forward.h | 7 + lldb/lit/Breakpoint/Inputs/debug_addrx.yaml | 57 + lldb/lit/Breakpoint/debug_addrx.test | 30 + .../NativePDB/Inputs/globals-classes.lldbinit | 14 + lldb/lit/SymbolFile/NativePDB/global-classes.cpp | 275 ++++ lldb/lldb.xcodeproj/project.pbxproj | 6 + .../test/functionalities/frame-recognizer/Makefile | 10 + .../frame-recognizer/TestFrameRecognizer.py | 102 ++ .../test/functionalities/frame-recognizer/main.m | 28 + .../functionalities/frame-recognizer/recognizer.py | 21 + .../Python/lldbsuite/test/lang/cpp/stl/TestSTL.py | 1 + lldb/scripts/Python/python-wrapper.swig | 46 + lldb/scripts/interface/SBVariablesOptions.i | 8 +- lldb/source/API/SBFrame.cpp | 25 +- lldb/source/API/SBVariablesOptions.cpp | 23 +- lldb/source/API/SystemInitializerFull.cpp | 11 +- lldb/source/Commands/CommandObjectFrame.cpp | 388 ++++++ lldb/source/Interpreter/OptionGroupVariable.cpp | 7 + .../Clang/ClangExpressionParser.cpp | 10 +- .../Language/ClangCommon/ClangHighlighter.cpp | 3 +- .../Python/ScriptInterpreterPython.cpp | 65 + .../Python/ScriptInterpreterPython.h | 15 + .../SymbolFile/DWARF/DWARFDebugInfoEntry.cpp | 6 + .../Plugins/SymbolFile/DWARF/DWARFFormValue.cpp | 15 +- lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp | 19 +- lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h | 5 +- .../Plugins/SymbolFile/NativePDB/PdbUtil.cpp | 7 + lldb/source/Plugins/SymbolFile/NativePDB/PdbUtil.h | 2 + .../SymbolFile/NativePDB/SymbolFileNativePDB.cpp | 48 +- .../SymbolFile/NativePDB/SymbolFileNativePDB.h | 2 + lldb/source/Symbol/ClangASTContext.cpp | 2 +- lldb/source/Target/CMakeLists.txt | 1 + lldb/source/Target/StackFrame.cpp | 18 +- lldb/source/Target/StackFrameRecognizer.cpp | 194 +++ lldb/www/python-reference.html | 61 +- llvm/docs/LangRef.rst | 74 + llvm/include/llvm/ADT/STLExtras.h | 6 + llvm/include/llvm/Analysis/TargetTransformInfo.h | 24 +- .../llvm/Analysis/TargetTransformInfoImpl.h | 3 +- llvm/include/llvm/Analysis/VectorUtils.h | 19 +- llvm/include/llvm/CodeGen/BasicTTIImpl.h | 34 +- llvm/include/llvm/CodeGen/ISDOpcodes.h | 2 +- .../llvm/CodeGen/SelectionDAGAddressAnalysis.h | 11 +- llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 2 + llvm/include/llvm/CodeGen/TargetLowering.h | 2 + llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h | 8 +- .../llvm/DebugInfo/DWARF/DWARFDebugRangeList.h | 85 ++ .../llvm/DebugInfo/DWARF/DWARFDebugRnglists.h | 38 +- llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h | 4 + llvm/include/llvm/DebugInfo/DWARF/DWARFListTable.h | 165 +-- llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h | 7 + .../ExecutionEngine/Orc/OrcRemoteTargetClient.h | 48 +- llvm/include/llvm/IR/IntrinsicInst.h | 2 + llvm/include/llvm/IR/Intrinsics.td | 10 + llvm/include/llvm/Target/TargetInstrPredicate.td | 34 +- llvm/include/llvm/Transforms/Utils/Cloning.h | 36 +- llvm/lib/Analysis/LazyCallGraph.cpp | 2 +- llvm/lib/Analysis/TargetTransformInfo.cpp | 9 +- llvm/lib/Analysis/VectorUtils.cpp | 24 +- .../lib/CodeGen/GlobalISel/InstructionSelector.cpp | 2 +- llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp | 3 +- llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp | 2 +- llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp | 2 +- llvm/lib/CodeGen/MIRParser/MIParser.cpp | 2 + llvm/lib/CodeGen/MachineOperand.cpp | 4 +- llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp | 13 +- llvm/lib/CodeGen/ScheduleDAGInstrs.cpp | 20 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 63 +- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 4 + .../lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp | 4 + .../CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 6 + llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 +- .../SelectionDAG/SelectionDAGAddressAnalysis.cpp | 7 +- .../CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 8 + .../CodeGen/SelectionDAG/SelectionDAGDumper.cpp | 2 + llvm/lib/DebugInfo/DWARF/CMakeLists.txt | 1 + llvm/lib/DebugInfo/DWARF/DWARFContext.cpp | 74 +- llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp | 96 ++ llvm/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp | 96 +- llvm/lib/DebugInfo/DWARF/DWARFDie.cpp | 1 + llvm/lib/DebugInfo/DWARF/DWARFListTable.cpp | 74 +- llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp | 101 +- llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp | 2 +- llvm/lib/ExecutionEngine/Orc/Core.cpp | 10 +- llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp | 2 +- llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp | 2 +- llvm/lib/IR/DebugInfo.cpp | 2 +- llvm/lib/IR/SafepointIRVerifier.cpp | 3 +- llvm/lib/IR/Verifier.cpp | 2 + llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp | 2 +- .../lib/Target/AArch64/AArch64CallingConvention.td | 8 + llvm/lib/Target/AArch64/AArch64FrameLowering.cpp | 416 +++++- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 21 +- llvm/lib/Target/AArch64/AArch64InstrInfo.cpp | 57 +- llvm/lib/Target/AArch64/AArch64InstrInfo.h | 9 +- .../Target/AArch64/AArch64MachineFunctionInfo.h | 8 + llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp | 2 + llvm/lib/Target/AArch64/AArch64RegisterInfo.h | 5 + .../Target/AArch64/AArch64TargetTransformInfo.cpp | 9 +- .../Target/AArch64/AArch64TargetTransformInfo.h | 4 +- llvm/lib/Target/AMDGPU/AMDGPU.td | 45 +- llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 6 +- llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 8 +- llvm/lib/Target/ARM/ARMTargetTransformInfo.h | 4 +- .../Target/Hexagon/HexagonTargetTransformInfo.cpp | 8 +- .../Target/Hexagon/HexagonTargetTransformInfo.h | 3 +- llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp | 8 +- llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h | 3 +- llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 12 +- llvm/lib/Target/SystemZ/SystemZISelLowering.h | 14 +- llvm/lib/Target/SystemZ/SystemZInstrInfo.td | 19 +- llvm/lib/Target/SystemZ/SystemZOperators.td | 42 +- .../Target/SystemZ/SystemZTargetTransformInfo.cpp | 13 +- .../Target/SystemZ/SystemZTargetTransformInfo.h | 4 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 3 +- llvm/lib/Target/X86/X86InstrInfo.cpp | 3 + llvm/lib/Target/X86/X86InstrInfo.h | 3 + llvm/lib/Target/X86/X86TargetTransformInfo.cpp | 28 +- llvm/lib/Target/X86/X86TargetTransformInfo.h | 9 +- llvm/lib/Transforms/IPO/PartialInlining.cpp | 4 +- .../Transforms/InstCombine/InstCombineCompares.cpp | 198 ++- .../InstCombine/InstCombineVectorOps.cpp | 70 + .../InstCombine/InstructionCombining.cpp | 48 +- .../Transforms/Instrumentation/GCOVProfiling.cpp | 7 +- .../Transforms/Instrumentation/MemorySanitizer.cpp | 130 +- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 35 +- llvm/lib/Transforms/Scalar/NewGVN.cpp | 2 +- llvm/lib/Transforms/Utils/PredicateInfo.cpp | 4 +- llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 2 +- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 125 +- .../Analysis/CostModel/AArch64/vector-reduce.ll | 44 +- .../CostModel/SystemZ/memop-folding-int-arith.ll | 215 ++- llvm/test/Analysis/CostModel/X86/reduce-add.ll | 72 +- llvm/test/Analysis/CostModel/X86/reduce-and.ll | 293 ++-- llvm/test/Analysis/CostModel/X86/reduce-mul.ll | 104 +- llvm/test/Analysis/CostModel/X86/reduce-or.ll | 293 ++-- llvm/test/Analysis/CostModel/X86/reduce-smax.ll | 40 +- llvm/test/Analysis/CostModel/X86/reduce-smin.ll | 40 +- llvm/test/Analysis/CostModel/X86/reduce-umax.ll | 40 +- llvm/test/Analysis/CostModel/X86/reduce-umin.ll | 40 +- llvm/test/Analysis/CostModel/X86/reduce-xor.ll | 293 ++-- llvm/test/Analysis/CostModel/X86/reduction.ll | 4 +- llvm/test/CodeGen/AArch64/GlobalISel/debug-cpp.ll | 2 +- .../test/CodeGen/AArch64/GlobalISel/debug-insts.ll | 6 +- .../AArch64/GlobalISel/regbankselect-dbg-value.mir | 4 +- .../AArch64/GlobalISel/select-dbg-value.mir | 8 +- llvm/test/CodeGen/AArch64/chkstk.ll | 12 +- llvm/test/CodeGen/AArch64/load-store-forwarding.ll | 77 ++ .../CodeGen/AArch64/multi-vector-store-size.ll | 82 ++ llvm/test/CodeGen/AArch64/phi-dbg.ll | 4 +- llvm/test/CodeGen/AArch64/vararg-tallcall.ll | 34 + llvm/test/CodeGen/AArch64/win64_vararg.ll | 68 +- llvm/test/CodeGen/AArch64/wineh-frame0.mir | 60 + llvm/test/CodeGen/AArch64/wineh-frame1.mir | 94 ++ llvm/test/CodeGen/AArch64/wineh-frame2.mir | 72 + llvm/test/CodeGen/AArch64/wineh-frame3.mir | 59 + llvm/test/CodeGen/AArch64/wineh-frame4.mir | 59 + llvm/test/CodeGen/AArch64/wineh-frame5.mir | 135 ++ llvm/test/CodeGen/AArch64/wineh-frame6.mir | 150 +++ .../AArch64/{wineh5.mir => wineh-frame7.mir} | 153 +-- llvm/test/CodeGen/AArch64/wineh-frame8.mir | 88 ++ llvm/test/CodeGen/AArch64/wineh1.mir | 2 +- llvm/test/CodeGen/AArch64/wineh2.mir | 2 +- llvm/test/CodeGen/AArch64/wineh3.mir | 2 +- llvm/test/CodeGen/AArch64/wineh4.mir | 2 +- llvm/test/CodeGen/AArch64/wineh5.mir | 2 +- llvm/test/CodeGen/AArch64/wineh6.mir | 2 +- llvm/test/CodeGen/AArch64/wineh7.mir | 2 +- llvm/test/CodeGen/AMDGPU/addrspacecast.ll | 4 +- llvm/test/CodeGen/AMDGPU/amdgpu.private-memory.ll | 14 +- .../AMDGPU/attr-amdgpu-flat-work-group-size.ll | 2 +- llvm/test/CodeGen/AMDGPU/call-argument-types.ll | 22 +- .../CodeGen/AMDGPU/call-graph-register-usage.ll | 6 +- .../CodeGen/AMDGPU/call-preserved-registers.ll | 36 +- .../CodeGen/AMDGPU/callee-special-input-sgprs.ll | 7 +- .../CodeGen/AMDGPU/callee-special-input-vgprs.ll | 2 +- llvm/test/CodeGen/AMDGPU/debugger-emit-prologue.ll | 4 +- llvm/test/CodeGen/AMDGPU/elf-notes.ll | 18 +- .../AMDGPU/flat-for-global-subtarget-feature.ll | 4 +- llvm/test/CodeGen/AMDGPU/flat-scratch-reg.ll | 6 +- .../fold-immediate-operand-shrink-with-carry.mir | 4 +- llvm/test/CodeGen/AMDGPU/gfx902-without-xnack.ll | 2 +- llvm/test/CodeGen/AMDGPU/hsa-fp-mode.ll | 14 +- llvm/test/CodeGen/AMDGPU/hsa-func.ll | 12 +- .../CodeGen/AMDGPU/hsa-metadata-enqueue-kernel.ll | 4 +- .../AMDGPU/hsa-metadata-from-llvm-ir-full.ll | 12 +- .../CodeGen/AMDGPU/hsa-metadata-hidden-args.ll | 6 +- llvm/test/CodeGen/AMDGPU/hsa-metadata-images.ll | 6 +- .../AMDGPU/hsa-metadata-kernel-code-props.ll | 6 +- .../AMDGPU/hsa-metadata-kernel-debug-props.ll | 8 +- llvm/test/CodeGen/AMDGPU/hsa-note-no-func.ll | 52 +- llvm/test/CodeGen/AMDGPU/hsa.ll | 12 +- llvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll | 6 +- llvm/test/CodeGen/AMDGPU/inline-asm.ll | 4 +- llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll | 2 +- llvm/test/CodeGen/AMDGPU/kernel-args.ll | 2 +- .../CodeGen/AMDGPU/kernel-argument-dag-lowering.ll | 2 +- llvm/test/CodeGen/AMDGPU/large-alloca-compute.ll | 4 +- .../CodeGen/AMDGPU/llvm.amdgcn.dispatch.ptr.ll | 2 +- .../CodeGen/AMDGPU/llvm.amdgcn.image.a16.dim.ll | 530 ++++++++ .../AMDGPU/llvm.amdgcn.image.load.a16.d16.ll | 128 ++ .../CodeGen/AMDGPU/llvm.amdgcn.image.load.a16.ll | 128 ++ .../AMDGPU/llvm.amdgcn.image.store.a16.d16.ll | 140 ++ .../CodeGen/AMDGPU/llvm.amdgcn.image.store.a16.ll | 128 ++ .../AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll | 2 +- llvm/test/CodeGen/AMDGPU/llvm.amdgcn.queue.ptr.ll | 2 +- .../CodeGen/AMDGPU/llvm.amdgcn.workgroup.id.ll | 8 +- .../test/CodeGen/AMDGPU/llvm.amdgcn.workitem.id.ll | 8 +- llvm/test/CodeGen/AMDGPU/misched-killflags.mir | 12 +- llvm/test/CodeGen/AMDGPU/nested-calls.ll | 4 +- llvm/test/CodeGen/AMDGPU/nop-data.ll | 2 +- llvm/test/CodeGen/AMDGPU/promote-alloca-no-opts.ll | 4 +- .../AMDGPU/promote-alloca-padding-size-estimate.ll | 2 +- llvm/test/CodeGen/AMDGPU/regcoalesce-dbg.mir | 2 +- llvm/test/CodeGen/AMDGPU/sched-crash-dbg-value.mir | 4 +- .../CodeGen/AMDGPU/undefined-subreg-liverange.ll | 12 +- .../vgpr-spill-emergency-stack-slot-compute.ll | 4 +- llvm/test/CodeGen/ARM/ARMLoadStoreDBG.mir | 22 +- .../CodeGen/ARM/Windows/chkstk-movw-movt-isel.ll | 6 +- llvm/test/CodeGen/ARM/Windows/chkstk.ll | 6 +- llvm/test/CodeGen/ARM/Windows/memset.ll | 4 +- llvm/test/CodeGen/ARM/arm-and-tst-peephole.ll | 2 +- llvm/test/CodeGen/ARM/arm-shrink-wrapping.ll | 28 +- .../CodeGen/ARM/cortex-a57-misched-ldm-wrback.ll | 4 +- llvm/test/CodeGen/ARM/cortex-a57-misched-ldm.ll | 2 +- .../CodeGen/ARM/cortex-a57-misched-vldm-wrback.ll | 4 +- llvm/test/CodeGen/ARM/cortex-a57-misched-vldm.ll | 4 +- llvm/test/CodeGen/ARM/dbg-range-extension.mir | 52 +- llvm/test/CodeGen/ARM/fold-sext-sextload.ll | 17 +- llvm/test/CodeGen/ARM/fold-zext-zextload.ll | 13 +- llvm/test/CodeGen/ARM/fp16-instructions.ll | 4 +- llvm/test/CodeGen/ARM/sched-it-debug-nodes.mir | 22 +- llvm/test/CodeGen/ARM/select.ll | 2 +- llvm/test/CodeGen/ARM/twoaddrinstr.ll | 4 +- llvm/test/CodeGen/ARM/vcombine.ll | 8 +- llvm/test/CodeGen/ARM/vector-extend-narrow.ll | 4 +- llvm/test/CodeGen/ARM/vuzp.ll | 242 ++-- llvm/test/CodeGen/Hexagon/early-if-debug.mir | 20 +- llvm/test/CodeGen/MIR/X86/diexpr-win32.mir | 6 +- .../MIR/X86/instructions-debug-location.mir | 6 +- llvm/test/CodeGen/MIR/X86/pr38773.mir | 4 +- llvm/test/CodeGen/PowerPC/debuginfo-split-int.ll | 4 +- llvm/test/CodeGen/PowerPC/debuginfo-stackarg.ll | 2 +- llvm/test/CodeGen/SystemZ/misched-readadvances.mir | 31 + .../Thumb2/umulo-128-legalisation-lowering.ll | 4 +- .../Thumb2/umulo-64-legalisation-lowering.ll | 4 +- llvm/test/CodeGen/X86/2012-04-26-sdglue.ll | 20 +- llvm/test/CodeGen/X86/avx-logic.ll | 32 +- llvm/test/CodeGen/X86/avx-vzeroupper.ll | 12 +- llvm/test/CodeGen/X86/avx512-hadd-hsub.ll | 56 +- llvm/test/CodeGen/X86/avx512-insert-extract.ll | 8 +- llvm/test/CodeGen/X86/avx512-skx-insert-subvec.ll | 4 +- .../X86/coalesce-dbg-value-subreg-rewrite.mir | 4 +- llvm/test/CodeGen/X86/copy-eflags.ll | 94 +- .../X86/dbg-changes-codegen-branch-folding2.mir | 2 +- llvm/test/CodeGen/X86/dbg-value-superreg-copy.mir | 2 +- llvm/test/CodeGen/X86/known-signbits-vector.ll | 12 +- llvm/test/CodeGen/X86/lea-opt-with-debug.mir | 4 +- llvm/test/CodeGen/X86/lsr-loop-exit-cond.ll | 8 +- llvm/test/CodeGen/X86/machine-cp-debug.mir | 2 +- llvm/test/CodeGen/X86/madd.ll | 36 +- llvm/test/CodeGen/X86/memset.ll | 2 +- llvm/test/CodeGen/X86/min-legal-vector-width.ll | 8 +- llvm/test/CodeGen/X86/opt_phis.mir | 2 +- llvm/test/CodeGen/X86/phys-reg-local-regalloc.ll | 4 +- llvm/test/CodeGen/X86/post-ra-sched-with-debug.mir | 14 +- llvm/test/CodeGen/X86/postra-ignore-dbg-instrs.mir | 6 +- llvm/test/CodeGen/X86/pr32282.ll | 34 +- llvm/test/CodeGen/X86/sad.ll | 22 +- llvm/test/CodeGen/X86/schedule-x86-64-shld.ll | 8 +- llvm/test/CodeGen/X86/schedule-x86_32.ll | 10 +- llvm/test/CodeGen/X86/shrink_vmul.ll | 4 +- llvm/test/CodeGen/X86/shrink_wrap_dbg_value.mir | 8 +- llvm/test/CodeGen/X86/vec_int_to_fp.ll | 36 +- llvm/test/CodeGen/X86/vector-compare-all_of.ll | 16 +- llvm/test/CodeGen/X86/vector-compare-any_of.ll | 16 +- .../X86/vector-constrained-fp-intrinsics.ll | 519 ++++++++ llvm/test/CodeGen/X86/vector-reduce-add.ll | 48 +- llvm/test/CodeGen/X86/vector-reduce-and.ll | 72 +- llvm/test/CodeGen/X86/vector-reduce-fadd-fast.ll | 90 +- llvm/test/CodeGen/X86/vector-reduce-fmul-fast.ll | 90 +- llvm/test/CodeGen/X86/vector-reduce-mul.ll | 60 +- llvm/test/CodeGen/X86/vector-reduce-or.ll | 72 +- llvm/test/CodeGen/X86/vector-reduce-xor.ll | 72 +- llvm/test/CodeGen/X86/vector-rotate-256.ll | 12 +- llvm/test/CodeGen/X86/vector-rotate-512.ll | 16 +- llvm/test/CodeGen/X86/vector-shuffle-256-v8.ll | 29 + .../AArch64/compiler-gen-bbs-livedebugvalues.ll | 10 +- llvm/test/DebugInfo/ARM/sdag-split-arg1.ll | 2 +- llvm/test/DebugInfo/MIR/AArch64/clobber-sp.mir | 12 +- .../MIR/ARM/live-debug-values-reg-copy.mir | 10 +- .../DebugInfo/MIR/ARM/split-superreg-complex.mir | 2 +- .../DebugInfo/MIR/ARM/split-superreg-piece.mir | 2 +- llvm/test/DebugInfo/MIR/ARM/split-superreg.mir | 2 +- llvm/test/DebugInfo/MIR/Mips/last-inst-bundled.mir | 10 +- .../MIR/Mips/live-debug-values-reg-copy.mir | 20 +- llvm/test/DebugInfo/MIR/X86/bit-piece-dh.mir | 2 +- llvm/test/DebugInfo/MIR/X86/kill-after-spill.mir | 12 +- .../DebugInfo/MIR/X86/live-debug-values-3preds.mir | 68 +- .../MIR/X86/live-debug-values-reg-copy.mir | 8 +- .../DebugInfo/MIR/X86/live-debug-values-spill.mir | 74 +- llvm/test/DebugInfo/MIR/X86/live-debug-values.mir | 18 +- .../X86/live-debug-vars-unused-arg-debugonly.mir | 16 +- .../MIR/X86/live-debug-vars-unused-arg.mir | 18 +- .../DebugInfo/MIR/X86/livedebugvalues-limit.mir | 28 +- llvm/test/DebugInfo/MIR/X86/mlicm-hoist.mir | 8 +- llvm/test/DebugInfo/MIR/X86/regcoalescer.mir | 4 +- llvm/test/DebugInfo/MSP430/sdagsplit-1.ll | 8 +- .../WebAssembly/dbg-value-live-interval.ll | 2 +- .../test/DebugInfo/WebAssembly/dbg-value-move-2.ll | 2 +- llvm/test/DebugInfo/WebAssembly/dbg-value-move.ll | 2 +- llvm/test/DebugInfo/X86/bbjoin.ll | 8 +- .../X86/live-debug-vars-discard-invalid.mir | 38 +- llvm/test/DebugInfo/X86/live-debug-vars-dse.mir | 2 +- llvm/test/DebugInfo/X86/live-debug-vars-index.mir | 8 +- llvm/test/DebugInfo/X86/pr34545.ll | 10 +- llvm/test/DebugInfo/X86/sdag-combine.ll | 2 +- llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll | 24 +- llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-1.ll | 8 +- llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-2.ll | 12 +- llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-3.ll | 12 +- llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-4.ll | 10 +- llvm/test/DebugInfo/X86/sdag-legalize-multires.ll | 4 +- llvm/test/DebugInfo/X86/sdag-salvage-add.ll | 4 +- llvm/test/DebugInfo/X86/sdagsplit-1.ll | 4 +- .../MemorySanitizer/msan_asm_conservative.ll | 236 ++++ .../MemorySanitizer/msan_x86_bts_asm.ll | 28 +- llvm/test/MC/AMDGPU/hsa-exp.s | 4 +- llvm/test/MC/AMDGPU/hsa-text.s | 4 +- llvm/test/MC/AMDGPU/hsa.s | 4 +- llvm/test/MC/AMDGPU/hsa_code_object_isa_args.s | 12 +- llvm/test/MC/AMDGPU/hsa_isa_version_attrs.s | 4 +- llvm/test/MC/AMDGPU/isa-version-hsa.s | 14 +- llvm/test/MC/AMDGPU/isa-version-pal.s | 14 +- llvm/test/MC/AMDGPU/isa-version-unk.s | 14 +- llvm/test/MC/AMDGPU/mimg.s | 88 ++ llvm/test/MC/AMDGPU/sym_option.s | 18 +- llvm/test/MC/Disassembler/AArch64/udf.txt | 8 +- llvm/test/Object/AMDGPU/objdump.s | 2 +- .../Transforms/IndVarSimplify/dont-recompute.ll | 26 + .../InstCombine/insert-extract-shuffle.ll | 39 +- .../Transforms/InstCombine/malloc-free-delete.ll | 29 + llvm/test/Transforms/InstCombine/maximum.ll | 60 + llvm/test/Transforms/InstCombine/maxnum.ll | 60 + llvm/test/Transforms/InstCombine/minimum.ll | 62 +- llvm/test/Transforms/InstCombine/minnum.ll | 62 +- .../InstSimplify/floating-point-compare.ll | 75 +- .../LoopSimplifyCFG/constant-fold-branch.ll | 1408 ++++++++++++++++++++ .../SystemZ/load-scalarization-cost-0.ll | 27 + .../SystemZ/load-scalarization-cost-1.ll | 28 + .../X86/x86-interleaved-accesses-masked-group.ll | 305 ++++- llvm/test/tools/llvm-objcopy/globalize.test | 15 +- .../tools/llvm-objcopy/keep-global-symbols.test | 10 +- llvm/test/tools/llvm-objdump/relocations-elf.test | 73 + llvm/test/tools/llvm-objdump/symbol-table-elf.test | 47 + llvm/tools/dsymutil/DwarfLinker.cpp | 23 +- llvm/tools/dsymutil/DwarfStreamer.cpp | 19 +- llvm/tools/dsymutil/DwarfStreamer.h | 4 +- llvm/tools/llvm-mca/CodeRegion.cpp | 2 + llvm/tools/llvm-mca/CodeRegion.h | 2 + llvm/tools/llvm-mca/PipelinePrinter.cpp | 2 + llvm/tools/llvm-mca/PipelinePrinter.h | 2 + llvm/tools/llvm-mca/Views/DispatchStatistics.cpp | 4 +- llvm/tools/llvm-mca/Views/DispatchStatistics.h | 2 + llvm/tools/llvm-mca/Views/InstructionInfoView.cpp | 4 +- llvm/tools/llvm-mca/Views/InstructionInfoView.h | 2 + .../llvm-mca/Views/RegisterFileStatistics.cpp | 4 +- llvm/tools/llvm-mca/Views/RegisterFileStatistics.h | 2 + llvm/tools/llvm-mca/Views/ResourcePressureView.cpp | 4 +- llvm/tools/llvm-mca/Views/ResourcePressureView.h | 2 + .../llvm-mca/Views/RetireControlUnitStatistics.cpp | 4 +- .../llvm-mca/Views/RetireControlUnitStatistics.h | 2 + llvm/tools/llvm-mca/Views/SchedulerStatistics.cpp | 4 +- llvm/tools/llvm-mca/Views/SchedulerStatistics.h | 2 + llvm/tools/llvm-mca/Views/SummaryView.cpp | 4 +- llvm/tools/llvm-mca/Views/SummaryView.h | 2 + llvm/tools/llvm-mca/Views/TimelineView.cpp | 4 +- llvm/tools/llvm-mca/Views/TimelineView.h | 2 + llvm/tools/llvm-mca/Views/View.cpp | 2 + llvm/tools/llvm-mca/Views/View.h | 2 + llvm/tools/llvm-mca/include/Context.h | 2 + llvm/tools/llvm-mca/include/HWEventListener.h | 2 + .../llvm-mca/include/HardwareUnits/HardwareUnit.h | 2 + llvm/tools/llvm-mca/include/HardwareUnits/LSUnit.h | 2 + .../llvm-mca/include/HardwareUnits/RegisterFile.h | 2 + .../include/HardwareUnits/ResourceManager.h | 2 + .../include/HardwareUnits/RetireControlUnit.h | 2 + .../llvm-mca/include/HardwareUnits/Scheduler.h | 2 + llvm/tools/llvm-mca/include/InstrBuilder.h | 2 + llvm/tools/llvm-mca/include/Instruction.h | 2 + llvm/tools/llvm-mca/include/Pipeline.h | 2 + llvm/tools/llvm-mca/include/SourceMgr.h | 2 + llvm/tools/llvm-mca/include/Stages/DispatchStage.h | 2 + llvm/tools/llvm-mca/include/Stages/ExecuteStage.h | 2 + llvm/tools/llvm-mca/include/Stages/FetchStage.h | 2 + .../llvm-mca/include/Stages/InstructionTables.h | 2 + llvm/tools/llvm-mca/include/Stages/RetireStage.h | 2 + llvm/tools/llvm-mca/include/Stages/Stage.h | 2 + llvm/tools/llvm-mca/include/Support.h | 2 + llvm/tools/llvm-mca/lib/Context.cpp | 4 +- llvm/tools/llvm-mca/lib/HWEventListener.cpp | 2 + .../llvm-mca/lib/HardwareUnits/HardwareUnit.cpp | 2 + llvm/tools/llvm-mca/lib/HardwareUnits/LSUnit.cpp | 4 +- .../llvm-mca/lib/HardwareUnits/RegisterFile.cpp | 4 +- .../llvm-mca/lib/HardwareUnits/ResourceManager.cpp | 4 +- .../lib/HardwareUnits/RetireControlUnit.cpp | 4 +- .../tools/llvm-mca/lib/HardwareUnits/Scheduler.cpp | 4 +- llvm/tools/llvm-mca/lib/InstrBuilder.cpp | 4 +- llvm/tools/llvm-mca/lib/Instruction.cpp | 4 +- llvm/tools/llvm-mca/lib/Pipeline.cpp | 4 +- llvm/tools/llvm-mca/lib/Stages/DispatchStage.cpp | 4 +- llvm/tools/llvm-mca/lib/Stages/ExecuteStage.cpp | 4 +- llvm/tools/llvm-mca/lib/Stages/FetchStage.cpp | 2 + .../llvm-mca/lib/Stages/InstructionTables.cpp | 4 +- llvm/tools/llvm-mca/lib/Stages/RetireStage.cpp | 2 + llvm/tools/llvm-mca/lib/Stages/Stage.cpp | 2 + llvm/tools/llvm-mca/lib/Support.cpp | 4 +- llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp | 6 +- llvm/tools/llvm-objcopy/ELF/Object.h | 1 - llvm/tools/llvm-objdump/llvm-objdump.cpp | 12 +- llvm/unittests/ADT/STLExtrasTest.cpp | 17 + llvm/unittests/ADT/SmallSetTest.cpp | 4 - .../DebugInfo/DWARF/DWARFDebugInfoTest.cpp | 4 + llvm/utils/TableGen/InstrInfoEmitter.cpp | 30 +- llvm/utils/TableGen/PredicateExpander.cpp | 52 +- llvm/utils/TableGen/PredicateExpander.h | 13 +- llvm/utils/TableGen/RegisterInfoEmitter.cpp | 2 +- openmp/libomptarget/src/omptarget.cpp | 42 + 653 files changed, 15355 insertions(+), 3901 deletions(-) create mode 100644 clang-tools-extra/test/clang-tidy/cppcoreguidelines-macro-usage [...] create mode 100644 clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp create mode 100644 clang/test/Analysis/diagnostics/Inputs/expected-sarif/sarif-dia [...] create mode 100644 clang/test/Analysis/diagnostics/sarif-diagnostics-taint-test.c copy clang/test/CodeGen/{catch-implicit-integer-conversions-basics.c => catch-impl [...] copy clang/test/CodeGen/{catch-implicit-integer-conversions-basics.c => catch-impl [...] create mode 100644 clang/test/CodeGen/catch-implicit-integer-sign-changes-basics.c create mode 100644 clang/test/CodeGen/catch-implicit-integer-sign-changes-true-neg [...] create mode 100644 clang/test/CodeGen/catch-implicit-integer-sign-changes.c create mode 100644 clang/test/CodeGen/catch-implicit-signed-integer-truncation-or- [...] create mode 100644 clang/test/CodeGenCXX/catch-implicit-integer-sign-changes-true- [...] create mode 100644 clang/test/OpenMP/nvptx_lambda_capturing.cpp copy compiler-rt/test/fuzzer/{ImplicitSignedIntegerTruncationTest.cpp => ImplicitI [...] copy compiler-rt/test/fuzzer/{ImplicitUnsignedIntegerTruncationTest.cpp => Implici [...] create mode 100644 compiler-rt/test/fuzzer/fuzzer-implicit-integer-sign-change.test create mode 100644 compiler-rt/test/fuzzer/fuzzer-implicit-signed-integer-truncati [...] create mode 100644 compiler-rt/test/profile/Inputs/instrprof-gcov-one-line-function.c create mode 100644 compiler-rt/test/profile/Inputs/instrprof-gcov-one-line-functio [...] create mode 100644 compiler-rt/test/profile/instrprof-gcov-one-line-function.test create mode 100644 compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-ari [...] create mode 100644 compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sig [...] create mode 100644 compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sig [...] create mode 100644 compiler-rt/test/ubsan/TestCases/ImplicitConversion/integer-sig [...] create mode 100644 compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-inte [...] create mode 100644 compiler-rt/test/ubsan/TestCases/ImplicitConversion/signed-inte [...] create mode 100644 compiler-rt/test/ubsan_minimal/TestCases/implicit-integer-sign- [...] create mode 100644 compiler-rt/test/ubsan_minimal/TestCases/implicit-signed-intege [...] create mode 100644 lldb/include/lldb/Target/StackFrameRecognizer.h create mode 100644 lldb/lit/Breakpoint/Inputs/debug_addrx.yaml create mode 100644 lldb/lit/Breakpoint/debug_addrx.test create mode 100644 lldb/lit/SymbolFile/NativePDB/Inputs/globals-classes.lldbinit create mode 100644 lldb/lit/SymbolFile/NativePDB/global-classes.cpp create mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/frame-recog [...] create mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/frame-recog [...] create mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/frame-recog [...] create mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/frame-recog [...] create mode 100644 lldb/source/Target/StackFrameRecognizer.cpp create mode 100644 llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h create mode 100644 llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp create mode 100644 llvm/test/CodeGen/AArch64/load-store-forwarding.ll create mode 100644 llvm/test/CodeGen/AArch64/multi-vector-store-size.ll create mode 100644 llvm/test/CodeGen/AArch64/vararg-tallcall.ll create mode 100644 llvm/test/CodeGen/AArch64/wineh-frame0.mir create mode 100644 llvm/test/CodeGen/AArch64/wineh-frame1.mir create mode 100644 llvm/test/CodeGen/AArch64/wineh-frame2.mir create mode 100644 llvm/test/CodeGen/AArch64/wineh-frame3.mir create mode 100644 llvm/test/CodeGen/AArch64/wineh-frame4.mir create mode 100644 llvm/test/CodeGen/AArch64/wineh-frame5.mir create mode 100644 llvm/test/CodeGen/AArch64/wineh-frame6.mir copy llvm/test/CodeGen/AArch64/{wineh5.mir => wineh-frame7.mir} (52%) create mode 100644 llvm/test/CodeGen/AArch64/wineh-frame8.mir create mode 100644 llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.a16.dim.ll create mode 100644 llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.load.a16.d16.ll create mode 100644 llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.load.a16.ll create mode 100644 llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.store.a16.d16.ll create mode 100644 llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.store.a16.ll create mode 100644 llvm/test/CodeGen/SystemZ/misched-readadvances.mir create mode 100644 llvm/test/Instrumentation/MemorySanitizer/msan_asm_conservative.ll create mode 100644 llvm/test/Transforms/LoopSimplifyCFG/constant-fold-branch.ll create mode 100644 llvm/test/Transforms/LoopVectorize/SystemZ/load-scalarization-c [...] create mode 100644 llvm/test/Transforms/LoopVectorize/SystemZ/load-scalarization-c [...] create mode 100644 llvm/test/tools/llvm-objdump/relocations-elf.test create mode 100644 llvm/test/tools/llvm-objdump/symbol-table-elf.test