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-arm-next-defconfig in repository toolchain/ci/llvm-project.
from 01ac23ca62e [InstCombine] foldUnsignedUnderflowCheck(): s/Subtracted/Ze [...] adds 6a278d9073b [SLP] Fix for PR31847: Assertion failed: (isLoopInvariant(O [...] adds 7e56dd0229f [Clang-doc] NFC: Fixed link to llvm bugs in documentation adds 7414151929b [BreakFalseDeps] ignore function with minsize attribute adds b4a1d8a84ce [InstCombine] dropRedundantMaskingOfLeftShiftInput(): pat. [...] adds 0a51e1f66dd [InstCombine] dropRedundantMaskingOfLeftShiftInput(): pat. [...] adds 2d225bbec1a NFC: Fix a poorly-written test adds 3e1480a03b5 [libc++] Mark CTAD tests as not failing on AppleClang 10.0.1 adds 4d51c6ff231 [ASTImporter] Attempt to fix Windows buildbot test errors adds 1962122c4d5 [lldb-suite] TestCallOverriddenMethod.py is now passing on Windows adds dba792c5229 [OPENMP]Use standard parsing for 'match' clause, NFC. adds 8d520161554 [SLC] Convert some strndup calls to strdup calls adds 1972327d632 [InstCombine] dropRedundantMaskingOfLeftShiftInput(): impro [...] adds 47e1ce4abea [IR] Add getExtendedType() to IntegerType and Type (dispatc [...] adds 566b3164c51 [Sema] Fix the atomic expr rebuilding order. adds 72a4621cdf0 [TableGen] Emit OperandType enums for RegisterOperands/Regi [...] adds 869ef0a6279 [ABISysV] Fix regression for Simulator and MacABI adds a7d186c7964 [Host] File::GetWaitableHandle() should call fileno() adds e3c2163ffe1 [X86] Use TargetConstant for condition code on X86ISD::SETC [...] adds 174d43d123f [ASTImporter] 2nd attempt to fix Windows buildbot test errors adds 48db0272d62 [InstCombine] Annotate strndup calls with dereferenceable_or_null adds 05a95b208ee [WebAssembly] Remove unused memory instructions and patterns adds fa9a4aa1975 [mips] Reformat test case to simplify addition new tests. NFC adds 25a7dd85531 [mips] Add tests to check MIPS FreeBSD emulations. NFC adds 4750d79ac68 [mips] Support elf32btsmipn32_fbsd / elf32ltsmipn32_fbsd em [...] adds 948786c9295 File::SetDescriptor() should require options adds 595cfda0599 [InstCombine] foldAndOfICmps(): Acquire SimplifyQuery with [...] adds 23aac95a32c [InstCombine] foldOrOfICmps(): Acquire SimplifyQuery with set CxtI adds 99d3dd287ad [WebAssembly] vNxM.load_splat instructions adds c98bb8658e0 [LLDB] Rework a MinGW build fix from D65691 adds 638f072f87d [LLDB] [PECOFF] Recognize arm64 executables adds e64849b11e6 [LLDB] [Windows] Map COFF ARM machine ids to the right trip [...] adds f6f4b98f03f [lld][WebAssembly] Preserve symbol flags in --relocatable output adds 8a6916e6db8 [X86] Reduce the number of unique check prefixes in memset- [...] adds 144276bfe43 Fix uninitialized variable warning. NFCI. adds bf9c8ffb549 Support for DWARF-5 C++ language tags. adds 28b38c277a2 [Diagnostics] Warn for enum constants in bool context (-Win [...] adds 22fd88530b1 [SampleFDO] Treat names in profile as not cold only when pr [...] adds 2eef85e2472 [llvm-lipo] Add support for archives adds 082f895b1a9 HotColdSplitting: invalidate the AssumptionCache on split adds 86c3af90296 [NFCI] Return PathSensitiveBugReport where appropriate adds 1cefad10cfd [Make] Add support for building NeXT-style frameworks adds 5b5f1c8efd6 [NFC][InstCombine] Add tests for shifty implementation of c [...] adds 5c49c267147 Revert "Support for DWARF-5 C++ language tags." adds 2c5e6646ef1 [MemorySSA] Update Phi insertion. adds 837273711e0 [llvm-cov] NFC: Specify a specific C++ standard in the test. adds adec1209e62 [GlobalISel][IRTranslator] Fix switch table lowering to use [...] adds 89521997159 [InstCombine] Fold a shifty implementation of clamp-to-zero. adds c41dba99295 Adapt test to upstream clang compiler changes. adds a4dd98f2e90 [InstCombine] Fold a shifty implementation of clamp-to-allones. adds fbd13570b0d [static analyzer] Define __clang_analyzer__ macro in driver adds 72b9049b43c [static analyzer] Remove --analyze-auto adds 350de4f05d8 Support for DWARF-5 C++ language tags. adds 4185460f758 [lit] Add -D__clang_analyzer__ to clang_analyze_cc1 adds c7541903d72 [static analyzer][test] Test directly that driver sets D__c [...] adds 1605eb1c1cf Fix int to bool errors exposed due to r372612. adds 5199aa88fe6 Revert "[static analyzer][test] Test directly that driver s [...] adds 5e61895aed1 Revert "[lit] Add -D__clang_analyzer__ to clang_analyze_cc1" adds b26e9e2a8f1 Revert "[static analyzer] Define __clang_analyzer__ macro i [...] adds 3135a01da82 [ASTImporter] 3rd attempt to fix Windows buildbot test errors adds bce849e3509 [clang-format] NFC clang-format the clang-format unit tests adds bd2a910a63f Ignore generated @import statements in the expression evaluator adds 6ba63d8851a [lldb] Add completion support for log enable/disable/list adds ef06dd4328b [lldb] Remove redundant argument lists in CompletionRequest adds 54b78f3bb67 [clang-tidy] New bugprone-infinite-loop check for detecting [...] adds 0fcb3afb401 [LV] Forced vectorization with runtime checks and OptForSize adds 8126340b3f7 [lldb] Fix log output and UtilityTests/LogChannelTest.List adds 88a5bba7b59 sanitizer_common: fix freebsd build error adds 02dddfd2aef [LLDB] [Windows] Add missing ifdefs to fix building for non [...] adds 3abbd43a595 [LLDB] Avoid warnings about redefining posix mode defines on MinGW adds 75c57b587d4 [lldb][NFC] Relax completion tests for log command to make [...] adds 49f3c2b6048 [Debuginfo] dbg.value points to undef value after Induction [...] adds cb3d969453c Revert rL372693 : [clang-tidy] New bugprone-infinite-loop c [...] adds 9223d438db3 [ASTImporter] 4th attempt to fix Windows buildbot test errors adds 3352bdfaabf [clang-tidy] Add missing InfiniteLoopCheck.h, InfiniteLoopC [...] adds 52c55d7fb5d gn build: Merge r372706 adds 849fd28cf0f [Diagnostics] Do not diagnose unsigned shifts in boolean co [...] adds 2c99246624b [NFC] Update test after r372708 adds aaff1a631ab MCRegisterInfo: Merge getLLVMRegNum and getLLVMRegNumFromEH adds 168b3fb38ba [clang-tidy] Add bugprone-infinite-loop.rst from D64736 to [...] adds c83eefcfda7 [llvm-objcopy] Refactor ELF-specific config out to ELFCopy [...] adds 2d810475d4d gn build: Merge r372712 adds e07376a320d [modularize] Fix compilation warning after r372681 adds a0d79d846ff [clang-tidy][test] Add -fexceptions to bugprone-infinite-loop.test adds 9379d19ff86 [lldb] Decouple importing the std C++ module from the way t [...] adds 49d851f403a [ARM] Split large truncating MVE stores adds 2462d421ee2 [ARM] MVE sext and widen/narrow tests from larger types. NFC adds c81f8e4ce10 lowerObjCCall - silence static analyzer dyn_cast<CallInst> [...] adds 2fb41fc70c1 [ARM] Split large widening MVE loads adds 9942c07745f [ModuloSchedule] KernelRewriter::rewrite - silence static a [...] adds 6bac09afe89 [lldb][NFC] Use llvm::StringRef in formatters::NSStringSumm [...] adds 7e3c74bc63f [clangd] Collect macros in the preamble region of the main file adds bc58230e29d SimplifyCFG - silence static analyzer dyn_cast<Instruction> [...] adds 9e8076b2197 SimplifyCFG - silence static analyzer dyn_cast<LandingPadIn [...] adds b6d11def374 [SimplifyCFG] FoldTwoEntryPHINode - silence static analyzer [...] adds 08f90e3d571 [lldb] Use convert_to_slash in CppModuleConfiguration adds 886a4ff977c [TSAN] Add read/write range interface functions with PC adds b2077fdc372 [tblgen] Disable Leak detection for ASan/GCC and LSan/LLVM adds 934f18144de LoopVectorize - silence static analyzer dyn_cast<CmpInst> n [...] adds 06cdcb5f68b [IR] IntrinsicInst - silence static analyzer dyn_cast<> nul [...] adds e47bbd28f8e [ELF] Make MergeInputSection merging aware of output sections adds e447d5afd37 [ELF] Delete SectionBase::assigned adds fa4a2a9152f [lldb][NFC] Use default member initializers in ReadStringAn [...] adds 1a2805b887d [lldb] Also force posix paths in CppModuleConfigurationTest adds e37b882421d [LLDB] Fix typo in RegisterContextDarwin_arm64 adds 79b76f0ce1e [LLDB] [test] Add a few missing cases of REQUIRES: python adds 5bb15253925 [LLDB] [test] Allow differing order of some matches adds 544c8f48c86 [LLDB] Add tests for PECOFF arm architecture identification adds cc972981d42 Fix cppcheck "reduce variable scope" warning. NFCI. adds 182d4874fd4 ConstantFold - silence static analyzer dyn_cast<> null dere [...] adds 13a4e8f3ef2 Enhance SymbolFileDWARF::ParseDeclsForContext performance adds d19fb46d40e [llvm-objcopy] Fix a warningon unused variable. NFC. adds 7efa6e31266 [Orc] Silence static analyzer dyn_cast<ConstantInt> null de [...] adds 355764e3888 [LLD][ELF][MIPS] - Inline the short helper function. NFC. adds 275e4df1154 [Diagnostics] Handle tautological left shifts in boolean context adds eefbc358eb8 [docs][llvm-size] Fix typo adds 3a415c20ad7 [clangd] Save an unnecessary copy, NFC. adds 55925da4c98 [clangd] Add semantic selection to ClangdLSPServer. adds 1b103864eea [docs][llvm-strip][llvm-objcopy] Improve wording and fix hi [...] adds a292a4943b6 [lldb] [Process/NetBSD] Fix handling LLDB_INVALID_SIGNAL_NUMBER adds 60e5e0b6674 Revert r372333: [DAG][X86] Convert isNegatibleForFree/GetNe [...] adds e94242f3997 [COFF] Silence static analyzer null dereference warning. NFCI. adds 734d3f49ad3 SafepointIRVerifier - silence static analyzer dyn_cast<Inst [...] adds be9beef5da7 AggressiveAntiDepBreaker - silence static analyzer null der [...] adds 82aaf174121 [clang-format] [PR36858] Add missing .hh and .cs extensions [...] adds c526fcaed19 [Compiler] Fix LLVM_NODISCARD for GCC adds 1a219aa8df9 [yaml2obj/obj2yaml] - Add support for .stack_sizes sections. adds 5a4355324e1 [NFC] Fix typo in the "kind" description for the software s [...] adds 5f738940b55 Regex: Make "match" and "sub" const member functions adds ca635d7d44f [TextAPI] Remove redundant checking causing warnings. NFC. adds 682d41a506d [X86] Add tests showing failure to stack fold MMX MOVD/MOVQ stores adds 5b881f356cf [InstCombine] (a+b) <= a && (a+b) != 0 -> (0-b) < a (PR43259) adds 45fd1e9d503 [InstCombine] (a+b) < a && (a+b) != 0 -> (0-b) < a iff a/b [...] adds a7f27f357df [X86] Add MMX MOVD/MOVQ stores to folding tables to support [...] adds d9629b88ff7 [GCRelocate] Add a peephole to canonicalize base pointer re [...] adds b3a9320c08e Extends the expansion of the LWZtoc pseduo op for AIX. adds 1282889347d [HIP] Support new kernel launching API adds 7de14dc3c60 [unittest] Skip the socket tests if we $TMPDIR is too long. adds e52ed1e80cc [NFC] Strenghten preconditions for warning adds 19712415a57 [NFC][COFF] fix typo in comment ("algortihm" -> "algorithm") adds 95411dd426e [libc++] Implement LWG 2510 adds e9e1c88ed95 [libc++] Implement LWG 3158 adds 937b9558378 [lld][WebAssembly] Fix static linking of -fPIC code with ex [...] adds 4278a9e6b50 [libc++] Remove C++03 variadics in shared_ptr adds 06b3e3421af [ELF][ARM] Fix crash when discarding InputSections that hav [...] adds ee9a468d9ce [libc++] Try fixing tests that fail on GCC 5 and older adds 857424d1856 [PGO][PGSO] ProfileSummary changes. adds 819ff64ea04 Adding support for overriding LLVM_ENABLE_RUNTIMES for runt [...] adds 1487bf6c82a [BPF] Generate array dimension size properly for zero-size [...] adds cb4cda2d45e [CMake] Copy over the system debugserver when using LLDB_US [...] adds de8609c62a5 [libc++] Purge mentions of GCC 4 from the test suite adds 56eae602da9 Host: use the platform identifiers from LLVM (NFC) adds 5c1447cd438 [SCEV] Disable canonical expansion for non-affine addrecs. adds 67b705b18d6 [NFC] Invoke lipo from CMAKE_LIPO. adds a80048f3df2 Use double quotes for LDFLAGS in -DLLVM_BUILD_INSTRUMENTED_ [...] adds a9b3d1fc436 [WebAssembly][NFC] Remove duplicate SIMD instructions and p [...] adds 24f63176342 [CMake] Don't try to install the system debugserver. adds 5c4c9e61725 Canonicalize variable usage in testsuite Makefiles adds ccf6030f7ae [Docs] Moves Reference docs to new page adds 4cd71260c25 [Documentation] Expand on testing variants. adds 9f0f36e0223 [ELF] accept thinlto options without --plugin-opt= prefix adds db90b390998 [CMake] Don't modify LLVM_DISTRIBUTION_COMPONENTS if it's not set adds 4d4a8eed065 remove unused method ResetOutputFileHandle() adds 03f2a11cf74 [Make] Revert some changes from r372795. adds 1f3a15c3973 [x86] Adding support for some missing intrinsics: _castf32 [...] adds 5e359a9a0ef [Powerpc][LoopPreIncPrep] NFC - refactor this pass for ds/dq form. adds 0264950697e [ELF] Add -z separate-loadable-segments to complement separ [...] adds f2bbfa05fe6 [llvm-objcopy][test] Clean up -B tests adds a18b00c8d59 [NFC] Add { } to silence compiler warning [-Wmissing-braces]. adds f674d7dab1b [AArch64][GlobalISel] Tweak legalization rule for G_BSWAP t [...] adds 2bc478844ae [ADT] Add StringMap::insert_or_assign adds 3cba180cac9 [Driver] Always use -z separate-loadable-segments with lld [...] adds bf5e5834d91 [lldb][NFC] Refactor TestCallBuiltinFunction adds 06e98a8f409 [lldb] Fix undefined behavior when having fixits in undefin [...] adds 364a23427b4 [AArch64] Convert neon_ushl and neon_sshl with positive con [...] adds f8ecb24822b [clangd] Fix the stale documentation about background indexing. adds e5ff8919c48 [lldb] Remove -nostdlib++ flag from import-std-module/sysroot test adds 6f470178f78 Fix signature of overloaded operator delete. adds 60d419e5cdb Add tracing in pickNodeFromQueue. adds 436d9881a9a [lldb][NFC] Use default member initializers in ReadBufferAn [...] adds a3d337a9a7d Revert r372777: [libc++] Implement LWG 2510 and its follow-ups adds 2a69ed0bc87 [OpenCL] Add image query builtin functions adds 286860986e2 [lldb][NFC] Remove unused method chaining from Read[Buffer/ [...] adds 7efca81f7de [lldb] [cmake] Fix installing Python modules on systems usi [...] adds 4ca5180d7ae [lldb][NFC] Refactor and document *DumpToStreamOptions adds 1b16b94eef5 [lldb] Test data formatters for empty strings adds 5b9a408113e [llvm-readobj] - Don't crash when dumping .stack_sizes and [...] adds 10d10102a44 [ARM] Ensure we do not attempt to create lsll #0 adds b73e3ca39aa [lldb] [test] Add NetBSD to XFAIL list for thread_local test adds e259a5fd0db [clangd] Move the existing heder-source-switch implemenatio [...] adds 62aceecfafa gn build: Merge r372841 adds 1d06d48bb34 [LLD] [COFF] Resolve source locations for undefined referen [...] adds 4bdd51332fa Revert r370850 "Re-commit r363191 "[MS] Pretend constexpr v [...] adds f302436a0a4 [yaml2obj] - Add a Size field for StackSizesSection. adds 99c8651c7fe Add a release note for r372844 adds 4d23bd528cd Revert r372788 "Host: use the platform identifiers from LLV [...] adds cddc153102d builtins test: Move clear_cache_test.c from a mprotect()ed [...] adds 2c93d061f2e gn build: (manually) merge r372843 adds 0ba85fdb4f5 [lldb][NFC] Remove useless cursor shifting in Options::Hand [...] adds c4046ff04dd [LLD] Fix testcase from SVN r372843 if executed on windows adds cfc2bccfd87 [yaml2elf] - Support describing .stack_sizes sections using [...] adds 8ce581f586b [llvm-readobj] - Simplify stack-sizes.test test case. adds 20f4afc5a74 [DAG] Pull out minimum shift value calc into a helper funct [...] adds b9683d3c53d [AMDGPU][MC][DOC] Updated AMD GPU assembler description. adds 823fd9508ad [lldb][NFC] Add CompletionRequest::AppendEmptyArgument adds f96d2e17540 [clangd] A helper to find explicit references and their names adds c00627f4dc9 [clangd] Add missing header guard, NFC. adds 7f9ac3372cc [lldb][NFC] Remove CompletionRequest::GetCursorArgument and [...] adds d0b44dbefd1 Have ABI plugins vend llvm MCRegisterInfo data adds 1e36ed7fbcc [AST] Extract Decl::printNestedNameSpecifier helper from De [...] adds 4dd9b2faec5 [docs][llvm-strip] Update llvm-strip doc to better match ll [...] adds 12e30999212 [docs][llvm-strings] Clarify "printable character" wording adds dec03223a97 [IR] allow fast-math-flags on phi of FP values adds 79152608533 [llvm-readobj/llvm-readelf] - .stack_sizes: demangle symbol [...] adds 2cec4b58f5c Revert [IR] allow fast-math-flags on phi of FP values adds 6f9f8f411fe [lldb][modern-type-lookup] Add two basic tests for modern-t [...] adds 148fd9f9c16 [libTooling] Introduce the MatchConsumer abstraction adds 367df1ebbc9 Add missing ExplicitTy default initialization to ConstantEx [...] adds 806bfa26366 Fix cppcheck variable shadow warning. NFCI. new c5d90e4b5cf [SystemZ] Improve emitSelect() new 269bd15c68c [Dominators][AMDGPU] Don't use virtual exit node in findNea [...] new 194117f04ba [clangd] Fix parseNamespaceEvents to parse the last token new aefdc1e37a8 [gn build] Fix Python DeprecationWarning new b2befe47dc4 Fix analyzer TypeAttributeImpl::anchor() override. new 6d4ea22e709 [IR] allow fast-math-flags on phi of FP values (2nd try) new a1639b9bba7 Enable tasks dependencies hashmaps resizing. new 71472a3eece Revert r372863: [AST] Extract Decl::printNestedNameSpecifie [...] new f8067c7f7c7 [PatternMatch] Generalize brc_match (NFC). new 5f2d8b26182 [TargetInstrInfo] Let findCommutedOpIndices take const Mach [...] new 1aa09e05850 [x86] add test for multi-use scalarization of vector binop; NFC new ae834ba52d6 [NFC] Fix typo in `getPreviousDecl` comment. new 5c3bc3c930d [PatternMatch] Make m_Br more flexible, add matchers for BB [...] new 831a7e7068f [DAGCombiner] add one-use restriction to vector transform w [...] new de44f434e82 fixed test: eliminated race condition which might cause deadlock new 007e4fe9017 [clangd] Change constness of parameters to findExplicitRefs new 6648223faf3 Re-land r372863: [AST] Extract Decl::printNestedNameSpecifi [...] new 2fa270d825d Modernize Makefile. new 7fa72881d4c [Dwarf] Make dw_tag_t a typedef for llvm::dwarf::Tag instea [...] new 6b3749f6968 [LangRef] Clarify absence of rounding guarantees for fmuladd. new 3bd8ba156b5 [CodeGen] Replace -max-jump-table-size with -max-jump-table [...] new 55038137ebe [Docs] Document forwarding arguments with lit
The 22 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: .../clang-tidy/bugprone/BugproneTidyModule.cpp | 3 + .../clang-tidy/bugprone/CMakeLists.txt | 1 + .../clang-tidy/bugprone/InfiniteLoopCheck.cpp | 189 ++++++ .../clang-tidy/bugprone/InfiniteLoopCheck.h | 35 + clang-tools-extra/clangd/CMakeLists.txt | 1 + clang-tools-extra/clangd/ClangdLSPServer.cpp | 45 ++ clang-tools-extra/clangd/ClangdLSPServer.h | 2 + clang-tools-extra/clangd/ClangdServer.cpp | 56 +- clang-tools-extra/clangd/CodeComplete.cpp | 4 +- clang-tools-extra/clangd/CollectMacros.h | 74 +++ clang-tools-extra/clangd/FileDistance.cpp | 2 +- clang-tools-extra/clangd/FindTarget.cpp | 296 ++++++++- clang-tools-extra/clangd/FindTarget.h | 39 ++ clang-tools-extra/clangd/HeaderSourceSwitch.cpp | 68 ++ clang-tools-extra/clangd/HeaderSourceSwitch.h | 27 + clang-tools-extra/clangd/ParsedAST.cpp | 52 +- clang-tools-extra/clangd/ParsedAST.h | 20 +- clang-tools-extra/clangd/Preamble.cpp | 57 +- clang-tools-extra/clangd/Preamble.h | 6 +- clang-tools-extra/clangd/Protocol.cpp | 13 + clang-tools-extra/clangd/Protocol.h | 23 + clang-tools-extra/clangd/SemanticHighlighting.cpp | 5 +- clang-tools-extra/clangd/SourceCode.cpp | 3 + .../clangd/test/initialize-params.test | 1 + clang-tools-extra/clangd/test/selection-range.test | 39 ++ clang-tools-extra/clangd/unittests/CMakeLists.txt | 1 + clang-tools-extra/clangd/unittests/ClangdTests.cpp | 76 --- .../clangd/unittests/FindTargetTests.cpp | 220 +++++++ .../clangd/unittests/HeaderSourceSwitchTests.cpp | 76 +++ .../clangd/unittests/ParsedASTTests.cpp | 13 +- .../clangd/unittests/SemanticHighlightingTests.cpp | 8 +- .../clangd/unittests/SourceCodeTests.cpp | 10 + clang-tools-extra/docs/ReleaseNotes.rst | 6 + clang-tools-extra/docs/clang-doc.rst | 2 +- .../clang-tidy/checks/bugprone-infinite-loop.rst | 32 + clang-tools-extra/docs/clang-tidy/checks/list.rst | 1 + clang-tools-extra/docs/clangd/Installation.rst | 42 +- clang-tools-extra/modularize/Modularize.cpp | 2 + .../test/clang-tidy/bugprone-infinite-loop.cpp | 298 +++++++++ clang/docs/ClangCommandLineReference.rst | 2 - clang/docs/ReleaseNotes.rst | 13 +- clang/include/clang/AST/Decl.h | 8 + clang/include/clang/AST/DeclBase.h | 2 +- clang/include/clang/AST/DeclCXX.h | 7 +- clang/include/clang/AST/RecursiveASTVisitor.h | 1 + clang/include/clang/Basic/DiagnosticSemaKinds.td | 13 +- clang/include/clang/Basic/LangOptions.def | 2 + clang/include/clang/Basic/OpenMPKinds.def | 7 + clang/include/clang/Basic/OpenMPKinds.h | 1 + clang/include/clang/Driver/Options.td | 4 +- clang/include/clang/Sema/Sema.h | 9 +- .../clang/Tooling/Refactoring/MatchConsumer.h | 58 ++ .../clang/Tooling/Refactoring/RangeSelector.h | 9 +- .../clang/Tooling/Refactoring/Transformer.h | 7 +- clang/lib/AST/ASTContext.cpp | 23 +- clang/lib/AST/ASTTypeTraits.cpp | 1 + clang/lib/AST/Decl.cpp | 27 +- clang/lib/AST/DeclPrinter.cpp | 15 +- clang/lib/AST/JSONNodeDumper.cpp | 6 + clang/lib/AST/OpenMPClause.cpp | 3 + clang/lib/AST/TextNodeDumper.cpp | 6 + clang/lib/Basic/OpenMPKinds.cpp | 16 +- clang/lib/CodeGen/CGCUDANV.cpp | 17 +- clang/lib/CodeGen/CGDebugInfo.cpp | 6 + clang/lib/CodeGen/CGStmtOpenMP.cpp | 1 + clang/lib/CodeGen/CodeGenModule.cpp | 4 +- clang/lib/Driver/Driver.cpp | 5 +- clang/lib/Driver/ToolChains/Clang.cpp | 4 + clang/lib/Driver/ToolChains/Fuchsia.cpp | 2 +- clang/lib/Driver/Types.cpp | 2 +- clang/lib/Frontend/CompilerInvocation.cpp | 1 + clang/lib/Headers/ia32intrin.h | 68 ++ clang/lib/Parse/ParseOpenMP.cpp | 13 +- clang/lib/Sema/OpenCLBuiltins.td | 25 + clang/lib/Sema/SemaCUDA.cpp | 3 +- clang/lib/Sema/SemaChecking.cpp | 149 +++-- clang/lib/Sema/SemaDeclCXX.cpp | 4 + clang/lib/Sema/SemaExpr.cpp | 14 +- clang/lib/Sema/SemaModule.cpp | 2 + clang/lib/Sema/SemaOpenMP.cpp | 7 + clang/lib/Sema/TreeTransform.h | 6 +- .../Checkers/MacOSKeychainAPIChecker.cpp | 8 +- .../Checkers/NonNullParamChecker.cpp | 9 +- clang/lib/Tooling/Refactoring/RangeSelector.cpp | 8 - clang/test/AST/atomic-expr.cpp | 43 +- clang/test/CodeGen/x86-builtins.c | 45 ++ clang/test/CodeGenCUDA/Inputs/cuda.h | 15 +- clang/test/CodeGenCUDA/kernel-call.cu | 14 +- .../test/CodeGenCXX/ms-constexpr-var-template.cpp | 11 - clang/test/Driver/fuchsia.c | 2 +- clang/test/Modules/ModuleDebugInfo.cpp | 3 +- clang/test/Sema/warn-int-in-bool-context.c | 51 +- clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp | 14 +- clang/test/SemaCXX/cxx2a-explicit-bool.cpp | 2 +- clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl | 4 + clang/tools/clang-format/clang-format-diff.py | 4 +- clang/tools/clang-format/git-clang-format | 3 +- .../unittests/AST/ASTImporterODRStrategiesTest.cpp | 6 + clang/unittests/AST/NamedDeclPrinterTest.cpp | 70 +- clang/unittests/Format/FormatTest.cpp | 674 ++++++++++---------- .../cmake/Modules/CompilerRTDarwinUtils.cmake | 4 +- compiler-rt/lib/builtins/fp_add_impl.inc | 4 +- compiler-rt/lib/builtins/fp_lib.h | 2 +- compiler-rt/lib/builtins/fp_trunc_impl.inc | 2 +- .../sanitizer_common/sanitizer_posix_libcdep.cpp | 1 - compiler-rt/lib/tsan/rtl/tsan_interface.h | 5 + compiler-rt/lib/tsan/rtl/tsan_interface_inl.h | 8 + compiler-rt/test/builtins/Unit/clear_cache_test.c | 49 +- compiler-rt/test/profile/instrprof-merging.cpp | 9 +- compiler-rt/test/tsan/race_range_pc.cc | 40 ++ libcxx/include/memory | 194 ------ .../associative/map/map.cons/deduct.fail.cpp | 2 +- .../multimap/multimap.cons/deduct.fail.cpp | 2 +- .../multiset/multiset.cons/deduct.fail.cpp | 2 +- .../associative/set/set.cons/deduct.fail.cpp | 2 +- .../unord.map/unord.map.cnstr/deduct.fail.cpp | 2 +- .../unord.multimap.cnstr/deduct.fail.cpp | 2 +- .../unord.multiset.cnstr/deduct.fail.cpp | 2 +- .../unord.set/unord.set.cnstr/deduct.fail.cpp | 2 +- .../allocate_shared.pass.cpp | 81 ++- .../allocate_shared_cxx03.pass.cpp | 120 ---- libcxx/test/support/min_allocator.h | 8 +- lld/COFF/CMakeLists.txt | 1 + lld/COFF/Config.h | 8 + lld/COFF/ICF.cpp | 2 +- lld/COFF/PDB.cpp | 4 +- lld/COFF/PDB.h | 4 +- lld/COFF/SymbolTable.cpp | 25 + lld/ELF/Arch/MipsArchTree.cpp | 18 +- lld/ELF/Config.h | 5 +- lld/ELF/Driver.cpp | 67 +- lld/ELF/InputSection.h | 21 +- lld/ELF/LinkerScript.cpp | 101 ++- lld/ELF/LinkerScript.h | 12 +- lld/ELF/Options.td | 30 +- lld/ELF/OutputSections.cpp | 98 ++- lld/ELF/OutputSections.h | 4 +- lld/ELF/Relocations.cpp | 14 +- lld/ELF/SyntheticSections.cpp | 88 +-- lld/ELF/SyntheticSections.h | 8 +- lld/ELF/Writer.cpp | 14 +- lld/docs/ld.lld.1 | 33 +- lld/test/COFF/undefined-symbol-dwarf.s | 100 +++ lld/test/ELF/emulation-mips.s | 117 +++- lld/test/ELF/fill-trap.s | 5 + lld/test/ELF/linkerscript/arm-exidx-discard-all.s | 19 + .../ELF/{ => linkerscript}/arm-exidx-discard.s | 0 lld/test/ELF/linkerscript/merge-output-sections.s | 35 + lld/test/ELF/linkerscript/merge-sections.s | 4 +- lld/test/ELF/lto/thinlto-emit-imports.ll | 15 +- lld/test/ELF/lto/thinlto-index-file.ll | 6 +- lld/test/ELF/lto/thinlto-obj-path.ll | 7 +- lld/test/ELF/lto/thinlto-object-suffix-replace.ll | 5 + lld/test/ELF/lto/thinlto-prefix-replace.ll | 5 + lld/test/ELF/merge-entsize2.s | 14 +- lld/test/ELF/separate-segments.s | 33 + lld/test/wasm/pic-static.ll | 23 +- lld/test/wasm/relocatable.ll | 5 +- lld/wasm/Driver.cpp | 9 +- lld/wasm/InputFiles.cpp | 12 +- lld/wasm/Relocations.cpp | 2 +- lld/wasm/SymbolTable.cpp | 3 + lld/wasm/Symbols.h | 11 +- lld/wasm/SyntheticSections.cpp | 55 +- lld/wasm/SyntheticSections.h | 14 +- lld/wasm/Writer.cpp | 10 +- lldb/docs/resources/test.rst | 69 +- lldb/include/lldb/Core/dwarf.h | 2 +- lldb/include/lldb/DataFormatters/StringPrinter.h | 237 ++----- lldb/include/lldb/Host/File.h | 8 +- lldb/include/lldb/Host/windows/PosixApi.h | 12 +- lldb/include/lldb/Interpreter/ScriptInterpreter.h | 2 - lldb/include/lldb/Symbol/CompileUnit.h | 8 + lldb/include/lldb/Symbol/SymbolFile.h | 3 + lldb/include/lldb/Target/ABI.h | 18 +- lldb/include/lldb/Target/Platform.h | 13 - lldb/include/lldb/Utility/CompletionRequest.h | 26 +- lldb/include/lldb/Utility/Log.h | 13 + lldb/lit/Commands/command-script-import.test | 1 + lldb/lit/Modules/PECOFF/basic-info-arm.yaml | 86 +++ lldb/lit/Modules/PECOFF/basic-info-arm64.yaml | 86 +++ lldb/lit/Reproducer/TestDump.test | 4 +- lldb/lit/Reproducer/TestSynchronous.test | 1 + .../lldbsuite/test/arm/breakpoint-it/Makefile | 2 +- .../test/arm/breakpoint-thumb-codesection/Makefile | 2 +- .../call-function/TestCallBuiltinFunction.py | 15 +- .../TestCallOverriddenMethod.py | 1 - .../test/commands/expression/call-throws/Makefile | 3 +- .../expression/context-object-objc/Makefile | 3 +- .../commands/expression/dont_allow_jit/Makefile | 2 +- .../expression/import-std-module/basic/Makefile | 1 - .../import-std-module/basic/TestImportStdModule.py | 8 - .../import-std-module/conflicts/Makefile | 1 - .../conflicts/TestStdModuleWithConflicts.py | 4 - .../import-std-module/deque-basic/Makefile | 1 - .../deque-basic/TestBasicDeque.py | 4 - .../deque-dbg-info-content/Makefile | 1 - .../TestDbgInfoContentDeque.py | 4 - .../import-std-module/forward_list-basic/Makefile | 1 - .../forward_list-basic/TestBasicForwardList.py | 4 - .../forward_list-dbg-info-content/Makefile | 1 - .../TestDbgInfoContentForwardList.py | 4 - .../import-std-module/list-basic/Makefile | 1 - .../import-std-module/list-basic/TestBasicList.py | 4 - .../list-dbg-info-content/Makefile | 1 - .../TestDbgInfoContentList.py | 4 - .../import-std-module/no-std-module/Makefile | 1 - .../no-std-module/TestMissingStdModule.py | 4 - .../expression/import-std-module/queue/Makefile | 1 - .../import-std-module/queue/TestQueue.py | 4 - .../shared_ptr-dbg-info-content/Makefile | 1 - .../TestSharedPtrDbgInfoContent.py | 4 - .../import-std-module/shared_ptr/Makefile | 1 - .../import-std-module/shared_ptr/TestSharedPtr.py | 4 - .../expression/import-std-module/stack/Makefile | 1 - .../import-std-module/stack/TestStack.py | 4 - .../expression/import-std-module/sysroot/Makefile | 4 +- .../sysroot/TestStdModuleSysroot.py | 4 - .../unique_ptr-dbg-info-content/Makefile | 1 - .../TestUniquePtrDbgInfoContent.py | 4 - .../import-std-module/unique_ptr/Makefile | 1 - .../import-std-module/unique_ptr/TestUniquePtr.py | 4 - .../import-std-module/vector-basic/Makefile | 1 - .../vector-basic/TestBasicVector.py | 4 - .../import-std-module/vector-bool/Makefile | 1 - .../vector-bool/TestBoolVector.py | 4 - .../vector-dbg-info-content/Makefile | 1 - .../TestDbgInfoContentVector.py | 4 - .../import-std-module/vector-of-vectors/Makefile | 1 - .../vector-of-vectors/TestVectorOfVectors.py | 4 - .../weak_ptr-dbg-info-content/Makefile | 1 - .../TestDbgInfoContentWeakPtr.py | 4 - .../expression/import-std-module/weak_ptr/Makefile | 1 - .../import-std-module/weak_ptr/TestWeakPtr.py | 4 - .../expression/import_builtin_fileid/Makefile | 3 +- .../namespace_local_var_same_name_obj_c/Makefile | 5 +- .../expression/persist_objc_pointeetype/Makefile | 5 +- .../test/commands/expression/po_verbosity/Makefile | 3 +- .../test/commands/expression/scoped_enums/Makefile | 3 +- .../test/commands/expression/two-files/Makefile | 5 +- .../test/commands/expression/weak_symbols/Makefile | 2 +- .../commands/frame/language/TestGuessLanguage.py | 5 +- .../test/commands/frame/recognizer/Makefile | 7 +- .../lldbsuite/test/commands/frame/var/Makefile | 2 +- .../register/intel_xtended_registers/Makefile | 2 +- .../mpx_bound_violation/Makefile | 2 +- .../test/commands/target/stop-hooks/Makefile | 2 +- .../breakpoint/address_breakpoints/Makefile | 2 +- .../breakpoint/auto_continue/Makefile | 2 +- .../breakpoint_by_line_and_column/Makefile | 2 +- .../breakpoint/breakpoint_conditions/Makefile | 2 +- .../breakpoint/breakpoint_ids/Makefile | 3 +- .../breakpoint/breakpoint_locations/Makefile | 2 +- .../breakpoint/consecutive_breakpoints/Makefile | 3 +- .../test/functionalities/breakpoint/cpp/Makefile | 3 +- .../breakpoint/dummy_target_breakpoints/Makefile | 2 +- .../test/functionalities/breakpoint/objc/Makefile | 5 +- .../breakpoint/require_hw_breakpoints/Makefile | 2 +- .../breakpoint/scripted_bkpt/Makefile | 2 +- .../breakpoint/step_over_breakpoint/Makefile | 3 +- .../functionalities/completion/TestCompletion.py | 21 + .../data-formatter/boolreference/Makefile | 7 +- .../data-formatter/compactvectors/Makefile | 3 +- .../data-formatter/data-formatter-objc/Makefile | 7 +- .../data-formatter-objc/nsindexpath/Makefile | 7 +- .../data-formatter-objc/nsstring/Makefile | 7 +- .../data-formatter-proper-plurals/Makefile | 7 +- .../data-formatter-skip-summary/Makefile | 5 +- .../data-formatter-stl/libcxx/atomic/Makefile | 3 +- .../data-formatter-stl/libcxx/function/Makefile | 3 +- .../libcxx/initializerlist/Makefile | 3 +- .../data-formatter-stl/libcxx/iterator/Makefile | 3 +- .../data-formatter-stl/libcxx/list/Makefile | 3 +- .../data-formatter-stl/libcxx/list/loop/Makefile | 3 +- .../data-formatter-stl/libcxx/map/Makefile | 3 +- .../data-formatter-stl/libcxx/multimap/Makefile | 3 +- .../data-formatter-stl/libcxx/multiset/Makefile | 3 +- .../data-formatter-stl/libcxx/optional/Makefile | 3 +- .../data-formatter-stl/libcxx/set/Makefile | 3 +- .../data-formatter-stl/libcxx/string/Makefile | 3 +- .../libcxx/string/TestDataFormatterLibcxxString.py | 9 +- .../data-formatter-stl/libcxx/string/main.cpp | 4 + .../data-formatter-stl/libcxx/unordered/Makefile | 3 +- .../data-formatter-stl/libcxx/variant/Makefile | 3 +- .../data-formatter-stl/libcxx/vbool/Makefile | 1 - .../data-formatter-stl/libcxx/vector/Makefile | 3 +- .../data-formatter-stl/libstdcpp/iterator/Makefile | 2 +- .../data-formatter-stl/libstdcpp/list/Makefile | 2 +- .../data-formatter-stl/libstdcpp/string/Makefile | 2 +- .../libstdcpp/string/TestDataFormatterStdString.py | 4 + .../data-formatter-stl/libstdcpp/string/main.cpp | 2 + .../data-formatter-stl/libstdcpp/vbool/Makefile | 2 +- .../data-formatter/nsarraysynth/Makefile | 7 +- .../data-formatter/nsdictionarysynth/Makefile | 7 +- .../data-formatter/nssetsynth/Makefile | 7 +- .../data-formatter/ostypeformatting/Makefile | 7 +- .../data-formatter/poarray/Makefile | 7 +- .../data-formatter/ptr_ref_typedef/Makefile | 2 +- .../data-formatter/synthupdate/Makefile | 6 +- .../inferior-crashing/recursive-inferior/Makefile | 2 +- .../test/functionalities/inline-stepping/Makefile | 3 +- .../modern-type-lookup/basic-objc}/Makefile | 2 +- .../basic-objc/TestBasicObjcModernTypeLookup.py | 18 + .../modern-type-lookup/basic-objc/main.m | 17 + .../modern-type-lookup/basic}/Makefile | 0 .../basic/TestBasicModernTypeLookup.py | 21 + .../modern-type-lookup/basic/main.cpp | 7 + .../test/functionalities/mtc/simple/Makefile | 2 +- .../basic_entry_values_x86_64/Makefile | 3 +- .../test/functionalities/set-data/Makefile | 5 +- .../ambiguous_tail_call_seq1/Makefile | 3 +- .../ambiguous_tail_call_seq2/Makefile | 3 +- .../disambiguate_call_site/Makefile | 3 +- .../disambiguate_paths_to_common_sink/Makefile | 3 +- .../disambiguate_tail_call_seq/Makefile | 3 +- .../inlining_and_tail_calls/Makefile | 3 +- .../tail_call_frames/sbapi_support/Makefile | 3 +- .../thread_step_out_message/Makefile | 3 +- .../thread_step_out_or_return/Makefile | 3 +- .../tail_call_frames/unambiguous_sequence/Makefile | 3 +- .../functionalities/thread/backtrace_all/Makefile | 3 +- .../thread/backtrace_limit/Makefile | 3 +- .../TestConcurrentManyBreakpoints.py | 1 + .../concurrent_events/TestConcurrentManyCrash.py | 1 + .../concurrent_events/TestConcurrentManySignals.py | 1 + .../TestConcurrentManyWatchpoints.py | 1 + .../test/functionalities/type_lookup/Makefile | 7 +- .../Python/lldbsuite/test/lang/c/blocks/Makefile | 2 +- .../lldbsuite/test/lang/c/const_variables/Makefile | 2 +- .../lldbsuite/test/lang/c/local_variables/Makefile | 2 +- .../test/lang/c/register_variables/Makefile | 2 +- .../Python/lldbsuite/test/lang/c/unicode/Makefile | 2 +- .../lldbsuite/test/lang/cpp/enum_types/Makefile | 5 +- .../lldbsuite/test/lang/cpp/gmodules/Makefile | 2 +- .../test/lang/cpp/limit-debug-info/Makefile | 2 +- .../test/lang/cpp/modules-import/Makefile | 2 +- .../test/lang/cpp/rvalue-references/Makefile | 4 +- .../cpp/std-function-step-into-callable/Makefile | 2 +- .../test/lang/cpp/thread_local/TestThreadLocal.py | 3 +- .../lldbsuite/test/lang/objc/blocks/Makefile | 2 +- .../lldbsuite/test/lang/objc/exceptions/Makefile | 7 +- .../lldbsuite/test/lang/objc/forward-decl/Makefile | 5 +- .../lldbsuite/test/lang/objc/foundation/Makefile | 5 +- .../lldbsuite/test/lang/objc/global_ptrs/Makefile | 2 +- .../lldbsuite/test/lang/objc/ivar-IMP/Makefile | 15 +- .../test/lang/objc/modules-auto-import/Makefile | 2 +- .../test/lang/objc/modules-incomplete/Makefile | 5 +- .../lang/objc/modules-inline-functions/Makefile | 4 +- .../lldbsuite/test/lang/objc/modules/Makefile | 5 +- .../lldbsuite/test/lang/objc/objc-checker/Makefile | 2 +- .../test/lang/objc/objc-class-method/Makefile | 2 +- .../test/lang/objc/objc-dynamic-value/Makefile | 2 +- .../test/lang/objc/objc-ivar-offsets/Makefile | 2 +- .../test/lang/objc/objc-ivar-stripped/Makefile | 2 +- .../test/lang/objc/objc-new-syntax/Makefile | 5 +- .../test/lang/objc/objc-optimized/Makefile | 2 +- .../test/lang/objc/objc-property/Makefile | 2 +- .../test/lang/objc/objc-runtime-ivars/Makefile | 2 +- .../lang/objc/objc-static-method-stripped/Makefile | 2 +- .../test/lang/objc/objc-static-method/Makefile | 2 +- .../test/lang/objc/objc-stepping/Makefile | 2 +- .../test/lang/objc/objc-struct-argument/Makefile | 2 +- .../test/lang/objc/objc-struct-return/Makefile | 2 +- .../lldbsuite/test/lang/objc/objc-super/Makefile | 2 +- .../lldbsuite/test/lang/objc/orderedset/Makefile | 2 +- .../lldbsuite/test/lang/objc/print-obj/Makefile | 2 +- .../test/lang/objc/radar-9691614/Makefile | 5 +- .../test/lang/objc/rdar-10967107/Makefile | 5 +- .../test/lang/objc/rdar-11355592/Makefile | 5 +- .../test/lang/objc/real-definition/Makefile | 2 +- .../lldbsuite/test/lang/objc/sample/Makefile | 2 +- .../lang/objc/single-entry-dictionary/Makefile | 5 +- .../test/lang/objcxx/cxx-bridged-po/Makefile | 2 +- .../test/lang/objcxx/hide-runtime-values/Makefile | 2 +- .../lldbsuite/test/lang/objcxx/sample/Makefile | 2 +- .../lldbsuite/test/linux/add-symbols/Makefile | 2 +- .../linux/mix-dwo-and-regular-objects/Makefile | 2 +- .../Python/lldbsuite/test/macosx/order/Makefile | 2 +- .../Python/lldbsuite/test/make/Makefile.rules | 53 +- .../test/python_api/findvalue_duplist/Makefile | 6 +- .../lldbsuite/test/python_api/formatters/Makefile | 7 +- .../test/python_api/frame/inlines/Makefile | 2 +- .../test/python_api/lldbutil/iter/Makefile | 2 +- .../test/python_api/lldbutil/process/Makefile | 2 +- .../test/python_api/module_section/Makefile | 2 +- .../lldbsuite/test/python_api/objc_type/Makefile | 7 +- .../test/python_api/value_var_update/Makefile | 2 +- .../Python/lldbsuite/test/sample_test/Makefile | 2 +- .../lldbsuite/test/tools/lldb-server/Makefile | 2 +- .../test/tools/lldb-server/inferior-crash/Makefile | 2 +- lldb/scripts/CMakeLists.txt | 21 +- lldb/scripts/get_relative_lib_dir.py | 2 +- lldb/source/API/CMakeLists.txt | 5 + lldb/source/API/SystemInitializerFull.cpp | 57 +- lldb/source/Commands/CommandObjectLog.cpp | 34 + lldb/source/Commands/CommandObjectMultiword.cpp | 3 +- lldb/source/Core/Debugger.cpp | 5 - lldb/source/Core/StreamFile.cpp | 2 +- lldb/source/Expression/REPL.cpp | 4 +- lldb/source/Host/common/File.cpp | 5 +- lldb/source/Host/common/FileSystem.cpp | 5 +- .../Host/posix/ConnectionFileDescriptorPosix.cpp | 14 +- lldb/source/Host/windows/Host.cpp | 4 + lldb/source/Interpreter/CommandInterpreter.cpp | 6 +- lldb/source/Interpreter/Options.cpp | 7 +- lldb/source/Plugins/ABI/CMakeLists.txt | 42 +- .../Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.cpp | 3 +- lldb/source/Plugins/ABI/MacOSX-arm/ABIMacOSX_arm.h | 4 +- .../Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.cpp | 3 +- .../Plugins/ABI/MacOSX-arm64/ABIMacOSX_arm64.h | 4 +- .../Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.cpp | 3 +- .../Plugins/ABI/MacOSX-i386/ABIMacOSX_i386.h | 4 +- lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.cpp | 3 +- lldb/source/Plugins/ABI/SysV-arm/ABISysV_arm.h | 4 +- .../Plugins/ABI/SysV-arm64/ABISysV_arm64.cpp | 3 +- lldb/source/Plugins/ABI/SysV-arm64/ABISysV_arm64.h | 4 +- .../Plugins/ABI/SysV-hexagon/ABISysV_hexagon.cpp | 3 +- .../Plugins/ABI/SysV-hexagon/ABISysV_hexagon.h | 4 +- lldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.cpp | 3 +- lldb/source/Plugins/ABI/SysV-i386/ABISysV_i386.h | 4 +- lldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.cpp | 3 +- lldb/source/Plugins/ABI/SysV-mips/ABISysV_mips.h | 4 +- .../Plugins/ABI/SysV-mips64/ABISysV_mips64.cpp | 3 +- .../Plugins/ABI/SysV-mips64/ABISysV_mips64.h | 4 +- lldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.cpp | 3 +- lldb/source/Plugins/ABI/SysV-ppc/ABISysV_ppc.h | 4 +- .../Plugins/ABI/SysV-ppc64/ABISysV_ppc64.cpp | 3 +- lldb/source/Plugins/ABI/SysV-ppc64/ABISysV_ppc64.h | 4 +- .../Plugins/ABI/SysV-s390x/ABISysV_s390x.cpp | 2 +- lldb/source/Plugins/ABI/SysV-s390x/ABISysV_s390x.h | 4 +- .../Plugins/ABI/SysV-x86_64/ABISysV_x86_64.cpp | 34 +- .../Plugins/ABI/SysV-x86_64/ABISysV_x86_64.h | 4 +- .../ABI/Windows-x86_64/ABIWindows_x86_64.cpp | 3 +- .../Plugins/ABI/Windows-x86_64/ABIWindows_x86_64.h | 4 +- .../Plugins/ExpressionParser/Clang/CMakeLists.txt | 1 + .../Clang/ClangExpressionParser.cpp | 49 +- .../Clang/ClangExpressionSourceCode.cpp | 7 +- .../Clang/ClangExpressionSourceCode.h | 3 + .../ExpressionParser/Clang/ClangUserExpression.cpp | 86 ++- .../ExpressionParser/Clang/ClangUserExpression.h | 1 - .../Clang/CppModuleConfiguration.cpp | 82 +++ .../Clang/CppModuleConfiguration.h | 84 +++ lldb/source/Plugins/Language/ObjC/NSString.cpp | 22 +- .../Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp | 7 +- .../Plugins/Platform/Linux/PlatformLinux.cpp | 19 - lldb/source/Plugins/Platform/Linux/PlatformLinux.h | 3 - .../PlatformiOSSimulatorCoreSimulatorSupport.mm | 11 +- .../Plugins/Process/FreeBSD/ProcessFreeBSD.cpp | 2 +- .../Plugins/Process/NetBSD/NativeProcessNetBSD.cpp | 6 +- .../Utility/RegisterContextDarwin_arm64.cpp | 2 +- .../Windows/Common/RegisterContextWindows.cpp | 15 +- .../GDBRemoteCommunicationServerCommon.cpp | 6 +- .../ScriptInterpreter/Python/PythonDataObjects.cpp | 4 +- .../Python/ScriptInterpreterPython.cpp | 2 - .../Python/ScriptInterpreterPythonImpl.h | 2 - .../Plugins/SymbolFile/DWARF/DWARFASTParser.h | 4 +- .../SymbolFile/DWARF/DWARFASTParserClang.cpp | 11 +- .../Plugins/SymbolFile/DWARF/DWARFASTParserClang.h | 4 +- .../DWARF/DWARFAbbreviationDeclaration.cpp | 7 +- .../Plugins/SymbolFile/DWARF/DWARFBaseDIE.cpp | 2 +- .../SymbolFile/DWARF/DWARFDebugInfoEntry.cpp | 2 +- .../Plugins/SymbolFile/DWARF/DWARFDebugInfoEntry.h | 7 +- .../Plugins/SymbolFile/DWARF/DWARFDeclContext.h | 2 +- .../Plugins/SymbolFile/DWARF/HashedNameToDIE.h | 2 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp | 25 +- .../Plugins/SymbolFile/DWARF/SymbolFileDWARF.h | 4 + .../SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp | 8 + .../SymbolFile/DWARF/SymbolFileDWARFDebugMap.h | 4 + lldb/source/Symbol/CompileUnit.cpp | 5 + lldb/source/Target/ABI.cpp | 19 + lldb/source/Target/Process.cpp | 5 +- lldb/source/Utility/ArchSpec.cpp | 4 +- lldb/source/Utility/CompletionRequest.cpp | 10 +- lldb/source/Utility/Log.cpp | 39 +- lldb/test/CMakeLists.txt | 10 + lldb/tools/CMakeLists.txt | 4 +- lldb/tools/debugserver/source/CMakeLists.txt | 6 +- lldb/tools/lldb-test/CMakeLists.txt | 5 + lldb/tools/lldb-test/SystemInitializerTest.cpp | 60 +- lldb/tools/lldb-vscode/VSCode.cpp | 4 +- lldb/unittests/Expression/CMakeLists.txt | 1 + .../Expression/CppModuleConfigurationTest.cpp | 168 +++++ lldb/unittests/Host/CMakeLists.txt | 1 + lldb/unittests/Host/FileTest.cpp | 57 ++ lldb/unittests/Host/SocketTest.cpp | 12 +- .../SymbolFile/DWARF/DWARFASTParserClangTests.cpp | 38 +- lldb/unittests/Utility/CompletionRequestTest.cpp | 24 +- llvm/cmake/modules/HandleLLVMOptions.cmake | 2 +- llvm/docs/AMDGPU/AMDGPUAsmGFX8.rst | 6 +- llvm/docs/AMDGPU/AMDGPUAsmGFX9.rst | 6 +- llvm/docs/AMDGPU/gfx10_bimm16.rst | 2 +- llvm/docs/AMDGPU/gfx10_bimm32.rst | 2 +- llvm/docs/AMDGPU/gfx10_data_mimg_atomic_cmp.rst | 2 +- llvm/docs/AMDGPU/gfx10_data_mimg_atomic_reg.rst | 2 +- llvm/docs/AMDGPU/gfx10_fimm16.rst | 3 +- llvm/docs/AMDGPU/gfx10_fimm32.rst | 3 +- llvm/docs/AMDGPU/gfx10_hwreg.rst | 35 +- llvm/docs/AMDGPU/gfx10_label.rst | 21 +- llvm/docs/AMDGPU/gfx10_msg.rst | 64 +- llvm/docs/AMDGPU/gfx10_perm_smem.rst | 3 +- llvm/docs/AMDGPU/gfx10_simm16.rst | 2 +- llvm/docs/AMDGPU/gfx10_uimm16.rst | 2 +- llvm/docs/AMDGPU/gfx10_waitcnt.rst | 49 +- llvm/docs/AMDGPU/gfx7_bimm16.rst | 2 +- llvm/docs/AMDGPU/gfx7_bimm32.rst | 2 +- llvm/docs/AMDGPU/gfx7_data_mimg_atomic_cmp.rst | 2 +- llvm/docs/AMDGPU/gfx7_data_mimg_atomic_reg.rst | 2 +- llvm/docs/AMDGPU/gfx7_fimm32.rst | 3 +- llvm/docs/AMDGPU/gfx7_hwreg.rst | 35 +- llvm/docs/AMDGPU/gfx7_label.rst | 21 +- llvm/docs/AMDGPU/gfx7_msg.rst | 62 +- llvm/docs/AMDGPU/gfx7_simm16.rst | 2 +- llvm/docs/AMDGPU/gfx7_uimm16.rst | 2 +- llvm/docs/AMDGPU/gfx7_waitcnt.rst | 46 +- llvm/docs/AMDGPU/gfx8_bimm16.rst | 2 +- llvm/docs/AMDGPU/gfx8_bimm32.rst | 2 +- llvm/docs/AMDGPU/gfx8_data_mimg_atomic_cmp.rst | 2 +- llvm/docs/AMDGPU/gfx8_data_mimg_atomic_reg.rst | 2 +- llvm/docs/AMDGPU/gfx8_fimm16.rst | 3 +- llvm/docs/AMDGPU/gfx8_fimm32.rst | 3 +- llvm/docs/AMDGPU/gfx8_hwreg.rst | 35 +- llvm/docs/AMDGPU/gfx8_imask.rst | 66 ++ llvm/docs/AMDGPU/gfx8_imm4.rst | 25 - llvm/docs/AMDGPU/gfx8_label.rst | 21 +- llvm/docs/AMDGPU/gfx8_msg.rst | 62 +- llvm/docs/AMDGPU/gfx8_perm_smem.rst | 3 +- llvm/docs/AMDGPU/gfx8_simm16.rst | 2 +- llvm/docs/AMDGPU/gfx8_uimm16.rst | 2 +- llvm/docs/AMDGPU/gfx8_waitcnt.rst | 46 +- llvm/docs/AMDGPU/gfx9_bimm16.rst | 2 +- llvm/docs/AMDGPU/gfx9_bimm32.rst | 2 +- llvm/docs/AMDGPU/gfx9_data_mimg_atomic_cmp.rst | 2 +- llvm/docs/AMDGPU/gfx9_data_mimg_atomic_reg.rst | 2 +- llvm/docs/AMDGPU/gfx9_fimm16.rst | 3 +- llvm/docs/AMDGPU/gfx9_fimm32.rst | 3 +- llvm/docs/AMDGPU/gfx9_hwreg.rst | 35 +- llvm/docs/AMDGPU/gfx9_imask.rst | 66 ++ llvm/docs/AMDGPU/gfx9_imm4.rst | 25 - llvm/docs/AMDGPU/gfx9_label.rst | 21 +- llvm/docs/AMDGPU/gfx9_msg.rst | 64 +- llvm/docs/AMDGPU/gfx9_perm_smem.rst | 3 +- llvm/docs/AMDGPU/gfx9_simm16.rst | 2 +- llvm/docs/AMDGPU/gfx9_uimm16.rst | 2 +- llvm/docs/AMDGPU/gfx9_waitcnt.rst | 49 +- llvm/docs/AMDGPUModifierSyntax.rst | 296 +++++---- llvm/docs/AMDGPUOperandSyntax.rst | 543 ++++++++-------- llvm/docs/CommandGuide/llvm-objcopy.rst | 4 +- llvm/docs/CommandGuide/llvm-size.rst | 2 +- llvm/docs/CommandGuide/llvm-strings.rst | 4 +- llvm/docs/CommandGuide/llvm-strip.rst | 30 +- llvm/docs/GettingInvolved.rst | 3 + llvm/docs/LangRef.rst | 20 +- llvm/docs/Reference.rst | 39 ++ llvm/docs/index.rst | 44 +- llvm/include/llvm/ADT/StringMap.h | 10 + llvm/include/llvm/Analysis/ProfileSummaryInfo.h | 23 + .../llvm/Analysis/ScalarEvolutionExpander.h | 10 +- llvm/include/llvm/CodeGen/BasicTTIImpl.h | 2 +- llvm/include/llvm/CodeGen/MachinePostDominators.h | 45 +- llvm/include/llvm/CodeGen/MachineRegionInfo.h | 2 +- llvm/include/llvm/CodeGen/SwitchLoweringUtils.h | 8 - llvm/include/llvm/CodeGen/TargetInstrInfo.h | 3 +- llvm/include/llvm/CodeGen/TargetLowering.h | 40 +- llvm/include/llvm/IR/DerivedTypes.h | 21 +- llvm/include/llvm/IR/IRBuilder.h | 5 +- llvm/include/llvm/IR/Operator.h | 6 +- llvm/include/llvm/IR/PatternMatch.h | 64 +- llvm/include/llvm/IR/Type.h | 4 + llvm/include/llvm/IR/User.h | 2 +- llvm/include/llvm/MC/MCRegisterInfo.h | 10 +- llvm/include/llvm/Object/COFF.h | 5 +- llvm/include/llvm/Object/ELF.h | 9 +- llvm/include/llvm/ObjectYAML/ELFYAML.h | 29 + llvm/include/llvm/Support/Compiler.h | 8 + llvm/include/llvm/Support/Regex.h | 14 +- llvm/include/llvm/Transforms/Utils/BuildLibCalls.h | 5 + .../llvm/Transforms/Utils/SimplifyLibCalls.h | 1 + .../llvm/Transforms/Vectorize/SLPVectorizer.h | 9 +- llvm/lib/Analysis/IVDescriptors.cpp | 3 +- llvm/lib/Analysis/MemorySSAUpdater.cpp | 82 ++- llvm/lib/Analysis/ProfileSummaryInfo.cpp | 67 ++ llvm/lib/Analysis/ScalarEvolutionExpander.cpp | 16 +- llvm/lib/AsmParser/LLParser.cpp | 14 +- llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 29 +- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 5 + llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp | 2 +- llvm/lib/CodeGen/BreakFalseDeps.cpp | 11 + llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 8 +- llvm/lib/CodeGen/MachineOperand.cpp | 8 +- llvm/lib/CodeGen/MachinePostDominators.cpp | 44 +- llvm/lib/CodeGen/ModuloSchedule.cpp | 1 + llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp | 2 +- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 310 ++++++++- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 48 +- llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp | 240 ------- llvm/lib/CodeGen/StackMaps.cpp | 2 +- llvm/lib/CodeGen/SwitchLoweringUtils.cpp | 94 +-- llvm/lib/CodeGen/TargetInstrInfo.cpp | 2 +- llvm/lib/CodeGen/TargetLoweringBase.cpp | 18 +- llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp | 5 +- llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp | 2 +- llvm/lib/IR/AttributeImpl.h | 2 +- llvm/lib/IR/AutoUpgrade.cpp | 6 +- llvm/lib/IR/ConstantFold.cpp | 1 + llvm/lib/IR/ConstantsContext.h | 12 +- llvm/lib/IR/IntrinsicInst.cpp | 7 +- llvm/lib/IR/SafepointIRVerifier.cpp | 4 +- llvm/lib/MC/MCAsmStreamer.cpp | 5 +- llvm/lib/MC/MCRegisterInfo.cpp | 28 +- llvm/lib/Object/MachOObjectFile.cpp | 4 +- llvm/lib/ObjectYAML/ELFEmitter.cpp | 61 +- llvm/lib/ObjectYAML/ELFYAML.cpp | 63 +- llvm/lib/Passes/PassBuilder.cpp | 2 +- llvm/lib/Support/FileCheck.cpp | 2 +- llvm/lib/Support/Regex.cpp | 39 +- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp | 30 +- llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp | 2 +- llvm/lib/Target/AArch64/AArch64Subtarget.cpp | 4 +- llvm/lib/Target/AArch64/AArch64Subtarget.h | 4 +- .../AArch64/MCTargetDesc/AArch64AsmBackend.cpp | 10 +- llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp | 2 +- llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp | 2 +- llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp | 1 + llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 3 +- llvm/lib/Target/AMDGPU/SIInstrInfo.h | 2 +- llvm/lib/Target/AMDGPU/SILowerI1Copies.cpp | 20 +- llvm/lib/Target/ARM/ARMISelLowering.cpp | 307 ++++++--- llvm/lib/Target/ARM/ARMInstrMVE.td | 6 +- llvm/lib/Target/ARM/ARMInstrThumb2.td | 3 +- llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp | 10 +- llvm/lib/Target/BPF/BTFDebug.cpp | 46 +- llvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp | 2 +- llvm/lib/Target/Mips/MipsInstrInfo.cpp | 3 +- llvm/lib/Target/Mips/MipsInstrInfo.h | 2 +- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp | 53 +- llvm/lib/Target/PowerPC/PPCInstrInfo.cpp | 3 +- llvm/lib/Target/PowerPC/PPCInstrInfo.h | 2 +- llvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp | 670 ++++++++++--------- llvm/lib/Target/SystemZ/SystemZISelLowering.cpp | 91 ++- .../MCTargetDesc/WebAssemblyMCTargetDesc.h | 36 +- llvm/lib/Target/WebAssembly/WebAssemblyISD.def | 1 + .../Target/WebAssembly/WebAssemblyISelLowering.cpp | 11 +- .../Target/WebAssembly/WebAssemblyInstrAtomics.td | 77 --- .../Target/WebAssembly/WebAssemblyInstrMemory.td | 51 -- .../lib/Target/WebAssembly/WebAssemblyInstrSIMD.td | 113 ++-- llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp | 4 +- llvm/lib/Target/X86/X86ISelLowering.cpp | 250 +++----- llvm/lib/Target/X86/X86ISelLowering.h | 11 - llvm/lib/Target/X86/X86InstrCMovSetCC.td | 33 +- llvm/lib/Target/X86/X86InstrCompiler.td | 127 ++-- llvm/lib/Target/X86/X86InstrControl.td | 2 +- llvm/lib/Target/X86/X86InstrFoldTables.cpp | 2 + llvm/lib/Target/X86/X86InstrInfo.cpp | 3 +- llvm/lib/Target/X86/X86InstrInfo.h | 2 +- llvm/lib/TextAPI/MachO/TextStubCommon.cpp | 8 +- .../AggressiveInstCombine.cpp | 9 +- llvm/lib/Transforms/IPO/HotColdSplitting.cpp | 5 + llvm/lib/Transforms/IPO/SampleProfile.cpp | 45 +- .../Transforms/InstCombine/InstCombineAndOrXor.cpp | 91 ++- .../Transforms/InstCombine/InstCombineCalls.cpp | 46 +- .../Transforms/InstCombine/InstCombineShifts.cpp | 54 +- .../InstCombine/InstructionCombining.cpp | 8 +- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 17 +- llvm/lib/Transforms/Utils/BuildLibCalls.cpp | 6 + llvm/lib/Transforms/Utils/SimplifyCFG.cpp | 6 +- llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 15 + llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 17 +- llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp | 141 ++-- llvm/runtimes/CMakeLists.txt | 6 +- llvm/test/Analysis/MemorySSA/pr43317.ll | 32 + llvm/test/Bitcode/compatibility.ll | 21 + .../GlobalISel/arm64-irtranslator-switch.ll | 42 ++ .../CodeGen/AArch64/GlobalISel/legalize-bswap.mir | 44 ++ llvm/test/CodeGen/AArch64/arm64-vshift.ll | 71 ++- llvm/test/CodeGen/AArch64/max-jump-table.ll | 46 +- llvm/test/CodeGen/ARM/a15-partial-update.ll | 6 +- llvm/test/CodeGen/BPF/BTF/array-size-0.ll | 2 +- .../CodeGen/PowerPC/lower-globaladdr32-aix-asm.ll | 21 + llvm/test/CodeGen/SystemZ/debuginstr-02.mir | 17 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-10.ll | 45 +- llvm/test/CodeGen/SystemZ/fp-strict-conv-12.ll | 45 +- llvm/test/CodeGen/SystemZ/multiselect.ll | 55 +- llvm/test/CodeGen/Thumb2/float-ops.ll | 2 +- llvm/test/CodeGen/Thumb2/lsll0.ll | 48 ++ llvm/test/CodeGen/Thumb2/mve-masked-store.ll | 34 +- llvm/test/CodeGen/Thumb2/mve-sext.ll | 364 ++++++++++- llvm/test/CodeGen/Thumb2/mve-widen-narrow.ll | 242 +++++++ llvm/test/CodeGen/WebAssembly/simd-offset.ll | 706 +++++++++++++++++++++ llvm/test/CodeGen/X86/memset-nonzero.ll | 73 +-- llvm/test/CodeGen/X86/recip-fastmath.ll | 16 +- llvm/test/CodeGen/X86/recip-fastmath2.ll | 112 ++-- llvm/test/CodeGen/X86/scalarize-fp.ll | 23 + llvm/test/CodeGen/X86/sqrt-partial.ll | 1 - llvm/test/CodeGen/X86/stack-folding-fp-avx1.ll | 1 - llvm/test/CodeGen/X86/stack-folding-fp-sse42.ll | 4 - llvm/test/CodeGen/X86/stack-folding-mmx.ll | 62 +- .../X86/dwarfdump-debug-loc-error-cases.s | 16 + llvm/test/MC/WebAssembly/simd-encodings.s | 12 + llvm/test/TableGen/get-operand-type.td | 14 +- .../HotColdSplit/assumption-cache-invalidation.ll | 38 ++ .../IndVarSimplify/indvar-debug-value.ll | 92 +++ .../IndVarSimplify/indvar-debug-value2.ll | 90 +++ llvm/test/Transforms/InstCombine/gc.relocate.ll | 11 + llvm/test/Transforms/InstCombine/objsize.ll | 14 +- ...redundant-left-shift-input-masking-variant-a.ll | 12 +- ...redundant-left-shift-input-masking-variant-b.ll | 12 +- ...redundant-left-shift-input-masking-variant-c.ll | 12 +- ...redundant-left-shift-input-masking-variant-d.ll | 12 +- ...redundant-left-shift-input-masking-variant-e.ll | 12 +- ...add-of-negative-is-non-zero-and-no-underflow.ll | 61 +- ...egative-or-zero-is-non-zero-and-no-underflow.ll | 47 +- llvm/test/Transforms/InstCombine/strndup.ll | 67 ++ .../InstCombine/sub-ashr-and-to-icmp-select.ll | 213 +++++++ .../InstCombine/sub-ashr-or-to-icmp-select.ll | 239 +++++++ .../test/Transforms/LoopVectorize/runtime-check.ll | 32 +- .../SLPVectorizer/AArch64/gather-root.ll | 102 +-- .../Transforms/SLPVectorizer/AArch64/horizontal.ll | 16 - .../SLPVectorizer/AArch64/spillcost-di.ll | 4 +- llvm/test/Transforms/SLPVectorizer/X86/PR31847.ll | 153 +++++ .../test/Transforms/SLPVectorizer/X86/PR35628_1.ll | 13 +- .../test/Transforms/SLPVectorizer/X86/PR35628_2.ll | 5 - llvm/test/Transforms/SLPVectorizer/X86/PR39774.ll | 72 +-- llvm/test/Transforms/SLPVectorizer/X86/PR40310.ll | 16 - .../Transforms/SLPVectorizer/X86/bad-reduction.ll | 28 - .../SLPVectorizer/X86/horizontal-list.ll | 354 +---------- .../SLPVectorizer/X86/horizontal-minmax.ll | 476 +++----------- .../Transforms/SLPVectorizer/X86/horizontal.ll | 148 ----- .../Transforms/SLPVectorizer/X86/long_chains.ll | 8 +- .../SLPVectorizer/X86/reassociated-loads.ll | 31 - .../SLPVectorizer/X86/reduction_loads.ll | 24 - .../SLPVectorizer/X86/reduction_unrolled.ll | 35 +- .../Transforms/SLPVectorizer/X86/remark_horcost.ll | 4 - .../SLPVectorizer/X86/reorder_repeated_ops.ll | 22 - .../Transforms/SLPVectorizer/X86/undef_vect.ll | 10 - .../SLPVectorizer/X86/vectorize-reorder-reuse.ll | 42 -- .../SampleProfile/profile-sample-accurate.ll | 28 +- .../test/tools/llvm-lipo/create-archive-input.test | 26 + .../llvm-objcopy/ELF/binary-input-with-arch.test | 26 - .../llvm-objcopy/ELF/binary-output-target.test | 9 + .../llvm-objcopy/ELF/input-output-target.test | 8 +- llvm/test/tools/llvm-readobj/stack-sizes.test | 95 ++- llvm/test/tools/obj2yaml/elf-stack-sizes.yaml | 88 +++ llvm/test/tools/yaml2obj/elf-stack-sizes.yaml | 344 ++++++++++ llvm/tools/llvm-lipo/llvm-lipo.cpp | 344 ++++++---- llvm/tools/llvm-objcopy/CMakeLists.txt | 1 + llvm/tools/llvm-objcopy/CopyConfig.cpp | 108 +--- llvm/tools/llvm-objcopy/CopyConfig.h | 29 +- llvm/tools/llvm-objcopy/ELF/ELFConfig.cpp | 133 ++++ llvm/tools/llvm-objcopy/ELF/ELFConfig.h | 44 ++ llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp | 4 +- llvm/tools/llvm-objcopy/ELF/Object.cpp | 2 +- llvm/tools/llvm-objcopy/llvm-objcopy.cpp | 29 +- llvm/tools/llvm-readobj/ELFDumper.cpp | 60 +- llvm/tools/obj2yaml/elf2yaml.cpp | 61 ++ llvm/unittests/ADT/StringMapTest.cpp | 31 + llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp | 42 ++ llvm/unittests/Analysis/ScalarEvolutionTest.cpp | 182 ++++++ llvm/unittests/IR/InstructionsTest.cpp | 7 +- llvm/unittests/IR/PatternMatch.cpp | 28 + llvm/utils/TableGen/InstrInfoEmitter.cpp | 25 +- llvm/utils/TableGen/TableGen.cpp | 13 +- llvm/utils/gn/build/write_cmake_config.py | 14 +- .../clang-tools-extra/clang-tidy/bugprone/BUILD.gn | 1 + .../gn/secondary/clang-tools-extra/clangd/BUILD.gn | 1 + .../clang-tools-extra/clangd/unittests/BUILD.gn | 1 + llvm/utils/gn/secondary/lld/COFF/BUILD.gn | 1 + .../gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn | 1 + openmp/runtime/src/kmp.h | 3 +- openmp/runtime/src/kmp_taskdeps.cpp | 73 ++- openmp/runtime/test/tasking/omp_fill_taskqueue.c | 2 +- .../test/tasking/omp_task_depend_resize_hashmap.c | 38 ++ 771 files changed, 13346 insertions(+), 6936 deletions(-) create mode 100644 clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp create mode 100644 clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.h create mode 100644 clang-tools-extra/clangd/CollectMacros.h create mode 100644 clang-tools-extra/clangd/HeaderSourceSwitch.cpp create mode 100644 clang-tools-extra/clangd/HeaderSourceSwitch.h create mode 100644 clang-tools-extra/clangd/test/selection-range.test create mode 100644 clang-tools-extra/clangd/unittests/HeaderSourceSwitchTests.cpp create mode 100644 clang-tools-extra/docs/clang-tidy/checks/bugprone-infinite-loop.rst create mode 100644 clang-tools-extra/test/clang-tidy/bugprone-infinite-loop.cpp create mode 100644 clang/include/clang/Tooling/Refactoring/MatchConsumer.h create mode 100644 clang/test/CodeGen/x86-builtins.c delete mode 100644 clang/test/CodeGenCXX/ms-constexpr-var-template.cpp create mode 100644 compiler-rt/test/tsan/race_range_pc.cc delete mode 100644 libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.sh [...] create mode 100644 lld/test/COFF/undefined-symbol-dwarf.s create mode 100644 lld/test/ELF/linkerscript/arm-exidx-discard-all.s rename lld/test/ELF/{ => linkerscript}/arm-exidx-discard.s (100%) create mode 100644 lld/test/ELF/linkerscript/merge-output-sections.s create mode 100644 lld/test/ELF/separate-segments.s create mode 100644 lldb/lit/Modules/PECOFF/basic-info-arm.yaml create mode 100644 lldb/lit/Modules/PECOFF/basic-info-arm64.yaml copy lldb/packages/Python/lldbsuite/test/{commands/expression/import_builtin_filei [...] create mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/modern-type [...] create mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/modern-type [...] copy lldb/packages/Python/lldbsuite/test/{android/platform => functionalities/mode [...] create mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/modern-type [...] create mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/modern-type [...] create mode 100644 lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.cpp create mode 100644 lldb/source/Plugins/ExpressionParser/Clang/CppModuleConfiguration.h create mode 100644 lldb/unittests/Expression/CppModuleConfigurationTest.cpp create mode 100644 lldb/unittests/Host/FileTest.cpp create mode 100644 llvm/docs/AMDGPU/gfx8_imask.rst delete mode 100644 llvm/docs/AMDGPU/gfx8_imm4.rst create mode 100644 llvm/docs/AMDGPU/gfx9_imask.rst delete mode 100644 llvm/docs/AMDGPU/gfx9_imm4.rst create mode 100644 llvm/docs/Reference.rst create mode 100644 llvm/test/Analysis/MemorySSA/pr43317.ll create mode 100644 llvm/test/CodeGen/AArch64/GlobalISel/legalize-bswap.mir create mode 100644 llvm/test/CodeGen/PowerPC/lower-globaladdr32-aix-asm.ll create mode 100644 llvm/test/CodeGen/Thumb2/lsll0.ll create mode 100644 llvm/test/Transforms/HotColdSplit/assumption-cache-invalidation.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/indvar-debug-value.ll create mode 100644 llvm/test/Transforms/IndVarSimplify/indvar-debug-value2.ll create mode 100644 llvm/test/Transforms/InstCombine/strndup.ll create mode 100644 llvm/test/Transforms/InstCombine/sub-ashr-and-to-icmp-select.ll create mode 100644 llvm/test/Transforms/InstCombine/sub-ashr-or-to-icmp-select.ll create mode 100644 llvm/test/Transforms/SLPVectorizer/X86/PR31847.ll create mode 100644 llvm/test/tools/llvm-lipo/create-archive-input.test delete mode 100644 llvm/test/tools/llvm-objcopy/ELF/binary-input-with-arch.test create mode 100644 llvm/test/tools/obj2yaml/elf-stack-sizes.yaml create mode 100644 llvm/test/tools/yaml2obj/elf-stack-sizes.yaml create mode 100644 llvm/tools/llvm-objcopy/ELF/ELFConfig.cpp create mode 100644 llvm/tools/llvm-objcopy/ELF/ELFConfig.h create mode 100644 openmp/runtime/test/tasking/omp_task_depend_resize_hashmap.c