git: 972a253a57b6 - main - Merge llvm-project main llvmorg-15-init-17826-g1f8ae9d7e7e4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 08 Feb 2023 19:07:24 UTC
The branch main has been updated by dim:
URL: https://cgit.FreeBSD.org/src/commit/?id=972a253a57b6f144b0e4a3e2080a2a0076ec55a0
commit 972a253a57b6f144b0e4a3e2080a2a0076ec55a0
Merge: fcaf7f8644a9 08e8dd7b9db7
Author: Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-07-27 20:11:54 +0000
Commit: Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-02-08 19:04:48 +0000
Merge llvm-project main llvmorg-15-init-17826-g1f8ae9d7e7e4
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvmorg-15-init-17826-g1f8ae9d7e7e4, the last commit before
the upstream release/16.x branch was created.
PR: 265425
MFC after: 2 weeks
.../clang/include/clang/Analysis/CFG.h | 3 +-
.../include/clang/Analysis/ConstructionContext.h | 72 +-
.../FlowSensitive/DataflowAnalysisContext.h | 4 +
.../Analysis/FlowSensitive/DataflowEnvironment.h | 15 +
.../clang/Analysis/FlowSensitive/MapLattice.h | 9 +-
.../clang/Analysis/FlowSensitive/Transfer.h | 9 +-
.../FlowSensitive/TypeErasedDataflowAnalysis.h | 11 +-
.../include/clang/Analysis/FlowSensitive/Value.h | 59 +-
.../clang/include/clang/Basic/AttrDocs.td | 6 +
.../clang/include/clang/Basic/DiagnosticIDs.h | 24 +-
.../include/clang/Basic/DiagnosticParseKinds.td | 6 +-
.../include/clang/Basic/DiagnosticSemaKinds.td | 8 +-
.../clang/include/clang/Basic/LangOptions.def | 1 +
.../clang/include/clang/Basic/TokenKinds.def | 3 +
.../clang/include/clang/Basic/riscv_vector.td | 103 +--
.../clang/include/clang/CodeGen/ModuleBuilder.h | 8 +-
.../clang/include/clang/Driver/Driver.h | 2 -
.../clang/include/clang/Driver/Options.td | 4 +
.../clang/include/clang/Frontend/Utils.h | 4 +-
.../clang/include/clang/Lex/PreprocessingRecord.h | 1 -
.../clang/include/clang/Lex/Preprocessor.h | 1 -
.../clang/include/clang/Parse/Parser.h | 3 +-
.../clang/include/clang/Sema/Overload.h | 4 +
.../include/clang/Sema/RISCVIntrinsicManager.h | 36 +
.../llvm-project/clang/include/clang/Sema/Scope.h | 38 +-
.../llvm-project/clang/include/clang/Sema/Sema.h | 14 +-
.../clang/include/clang/Sema/Template.h | 34 +
.../clang/include/clang/Serialization/ASTWriter.h | 4 +
.../Core/BugReporter/BugReporterVisitors.h | 2 +-
.../StaticAnalyzer/Core/PathSensitive/ExprEngine.h | 19 +-
.../Core/PathSensitive/ProgramState.h | 2 -
.../StaticAnalyzer/Core/PathSensitive/SVals.h | 1 -
.../include/clang/Support/RISCVVIntrinsicUtils.h | 100 ++-
.../RefactoringActionRuleRequirements.h | 2 +-
.../Tooling/Refactoring/RefactoringActionRules.h | 4 +-
.../clang/Tooling/Refactoring/RefactoringOptions.h | 4 +-
contrib/llvm-project/clang/lib/AST/ASTImporter.cpp | 52 +-
contrib/llvm-project/clang/lib/AST/Decl.cpp | 14 +-
.../llvm-project/clang/lib/AST/ExprConstant.cpp | 10 +-
contrib/llvm-project/clang/lib/Analysis/CFG.cpp | 45 +-
.../clang/lib/Analysis/ConstructionContext.cpp | 11 +
.../clang/lib/Analysis/ExprMutationAnalyzer.cpp | 18 +-
.../FlowSensitive/DataflowAnalysisContext.cpp | 71 +-
.../Analysis/FlowSensitive/DataflowEnvironment.cpp | 48 +-
.../lib/Analysis/FlowSensitive/DebugSupport.cpp | 14 +
.../clang/lib/Analysis/FlowSensitive/Transfer.cpp | 48 +-
.../FlowSensitive/TypeErasedDataflowAnalysis.cpp | 20 +-
.../FlowSensitive/WatchedLiteralsSolver.cpp | 110 ++-
.../clang/lib/Analysis/LiveVariables.cpp | 27 +-
.../llvm-project/clang/lib/Basic/Targets/CSKY.h | 2 +-
.../llvm-project/clang/lib/Basic/Targets/PPC.cpp | 3 +
contrib/llvm-project/clang/lib/Basic/Targets/X86.h | 4 +-
contrib/llvm-project/clang/lib/CodeGen/ABIInfo.h | 2 +-
contrib/llvm-project/clang/lib/CodeGen/CGCXXABI.h | 2 +
contrib/llvm-project/clang/lib/CodeGen/CGCall.cpp | 19 +-
contrib/llvm-project/clang/lib/CodeGen/CGClass.cpp | 14 +-
.../llvm-project/clang/lib/CodeGen/CGDebugInfo.cpp | 8 +-
.../llvm-project/clang/lib/CodeGen/CGObjCGNU.cpp | 12 +-
.../clang/lib/CodeGen/CGOpenMPRuntimeGPU.h | 23 +-
.../clang/lib/CodeGen/CodeGenAction.cpp | 25 +-
.../clang/lib/CodeGen/CodeGenModule.cpp | 39 +-
.../llvm-project/clang/lib/CodeGen/CodeGenModule.h | 11 +-
.../clang/lib/CodeGen/ItaniumCXXABI.cpp | 6 +-
.../clang/lib/CodeGen/MicrosoftCXXABI.cpp | 2 +-
.../clang/lib/CodeGen/ModuleBuilder.cpp | 24 +-
.../CodeGen/ObjectFilePCHContainerOperations.cpp | 4 +-
.../clang/lib/CodeGen/SanitizerMetadata.h | 1 -
.../clang/lib/Driver/ToolChains/Arch/ARM.cpp | 5 +
.../clang/lib/Driver/ToolChains/Arch/PPC.cpp | 4 +
.../clang/lib/Driver/ToolChains/Clang.cpp | 7 +
.../clang/lib/Driver/ToolChains/FreeBSD.cpp | 6 +-
.../llvm-project/clang/lib/Edit/EditedSource.cpp | 4 +-
.../clang/lib/Format/FormatTokenLexer.cpp | 159 ++--
.../clang/lib/Frontend/CompilerInvocation.cpp | 6 +
contrib/llvm-project/clang/lib/Headers/stdatomic.h | 3 +-
.../clang/lib/Interpreter/IncrementalExecutor.h | 1 -
contrib/llvm-project/clang/lib/Parse/ParseDecl.cpp | 36 +-
.../llvm-project/clang/lib/Parse/ParseDeclCXX.cpp | 594 +++++++--------
.../llvm-project/clang/lib/Parse/ParsePragma.cpp | 52 ++
contrib/llvm-project/clang/lib/Parse/Parser.cpp | 4 +-
contrib/llvm-project/clang/lib/Sema/Scope.cpp | 82 +-
contrib/llvm-project/clang/lib/Sema/Sema.cpp | 7 +-
contrib/llvm-project/clang/lib/Sema/SemaDecl.cpp | 20 +-
contrib/llvm-project/clang/lib/Sema/SemaExpr.cpp | 37 +-
contrib/llvm-project/clang/lib/Sema/SemaLookup.cpp | 45 ++
.../llvm-project/clang/lib/Sema/SemaOverload.cpp | 26 +-
.../clang/lib/Sema/SemaRISCVVectorLookup.cpp | 395 ++++++++++
contrib/llvm-project/clang/lib/Sema/SemaStmt.cpp | 10 +-
.../llvm-project/clang/lib/Sema/SemaTemplate.cpp | 55 +-
.../clang/lib/Serialization/ASTReaderDecl.cpp | 3 +-
.../clang/lib/Serialization/ASTWriter.cpp | 6 +-
.../lib/StaticAnalyzer/Checkers/CStringChecker.cpp | 100 ++-
.../Checkers/InnerPointerChecker.cpp | 6 +-
.../lib/StaticAnalyzer/Checkers/MallocChecker.cpp | 11 +-
.../lib/StaticAnalyzer/Checkers/PaddingChecker.cpp | 2 +-
.../Checkers/StdLibraryFunctionsChecker.cpp | 2 +-
.../UninitializedObjectChecker.cpp | 20 +-
.../UninitializedObject/UninitializedPointee.cpp | 26 +-
.../StaticAnalyzer/Core/BugReporterVisitors.cpp | 23 +-
.../clang/lib/StaticAnalyzer/Core/ExprEngine.cpp | 91 ++-
.../lib/StaticAnalyzer/Core/ExprEngineCXX.cpp | 124 +++-
.../Core/ExprEngineCallAndReturn.cpp | 28 +-
.../clang/lib/StaticAnalyzer/Core/RegionStore.cpp | 69 +-
.../clang/lib/Support/RISCVVIntrinsicUtils.cpp | 88 ++-
.../clang/utils/TableGen/RISCVVEmitter.cpp | 417 +++++++----
.../llvm-project/clang/utils/TableGen/TableGen.cpp | 6 +
.../clang/utils/TableGen/TableGenBackends.h | 1 +
.../compiler-rt/lib/builtins/int_types.h | 2 +-
.../lib/sanitizer_common/sanitizer_common.h | 5 +
.../lib/sanitizer_common/sanitizer_win.cpp | 11 +
.../compiler-rt/lib/tsan/rtl/tsan_flags.inc | 4 -
.../compiler-rt/lib/tsan/rtl/tsan_platform.h | 1 +
.../compiler-rt/lib/tsan/rtl/tsan_rtl.cpp | 63 +-
.../compiler-rt/lib/tsan/rtl/tsan_rtl.h | 40 +-
.../compiler-rt/lib/tsan/rtl/tsan_rtl_access.cpp | 9 -
.../compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp | 44 +-
.../compiler-rt/lib/tsan/rtl/tsan_shadow.h | 10 +
.../llvm-project/libcxx/include/__algorithm/copy.h | 16 +-
.../libcxx/include/__algorithm/copy_backward.h | 42 +-
.../libcxx/include/__algorithm/equal_range.h | 1 +
.../libcxx/include/__algorithm/includes.h | 19 +-
.../libcxx/include/__algorithm/inplace_merge.h | 4 +-
.../libcxx/include/__algorithm/is_heap.h | 2 +-
.../libcxx/include/__algorithm/is_heap_until.h | 4 +-
.../include/__algorithm/ranges_copy_backward.h | 7 +-
.../libcxx/include/__algorithm/ranges_generate.h | 24 +-
.../libcxx/include/__algorithm/ranges_generate_n.h | 14 +-
.../libcxx/include/__algorithm/ranges_includes.h | 8 +-
.../libcxx/include/__algorithm/ranges_is_heap.h | 23 +-
.../include/__algorithm/ranges_is_heap_until.h | 20 +-
contrib/llvm-project/libcxx/include/__assert | 6 +-
.../libcxx/include/__concepts/arithmetic.h | 2 +
.../libcxx/include/__format/formatter_integer.h | 1 +
.../libcxx/include/__functional/invoke.h | 11 +-
contrib/llvm-project/libcxx/include/__hash_table | 1 +
.../include/__iterator/incrementable_traits.h | 1 +
.../libcxx/include/__iterator/iterator_traits.h | 6 +
.../libcxx/include/__iterator/reverse_iterator.h | 184 ++++-
.../libcxx/include/__memory/swap_allocator.h | 53 ++
.../libcxx/include/__memory/temporary_buffer.h | 1 +
.../include/__memory/uninitialized_algorithms.h | 144 ++++
contrib/llvm-project/libcxx/include/__split_buffer | 1 +
contrib/llvm-project/libcxx/include/__tree | 1 +
.../libcxx/include/__type_traits/aligned_storage.h | 142 ++++
.../libcxx/include/__type_traits/aligned_union.h | 55 ++
.../include/__type_traits/common_reference.h | 188 +++++
.../libcxx/include/__type_traits/common_type.h | 138 ++++
.../libcxx/include/__type_traits/copy_cv.h | 54 ++
.../libcxx/include/__type_traits/copy_cvref.h | 46 ++
.../include/__type_traits/is_nothrow_convertible.h | 53 ++
.../include/__type_traits/is_primary_template.h | 34 +
.../include/__type_traits/is_signed_integer.h | 33 +
.../include/__type_traits/is_unsigned_integer.h | 33 +
.../include/__type_traits/is_valid_expansion.h | 31 +
.../libcxx/include/__type_traits/lazy.h | 25 +
.../include/__type_traits/make_32_64_or_128_bit.h | 48 ++
.../libcxx/include/__type_traits/make_signed.h | 76 ++
.../libcxx/include/__type_traits/make_unsigned.h | 89 +++
.../libcxx/include/__type_traits/nat.h | 32 +
.../libcxx/include/__type_traits/promote.h | 95 +++
.../libcxx/include/__type_traits/remove_cvref.h | 41 +
.../libcxx/include/__type_traits/type_list.h | 44 ++
.../libcxx/include/__utility/transaction.h | 5 +
contrib/llvm-project/libcxx/include/algorithm | 33 +
contrib/llvm-project/libcxx/include/charconv | 1 +
contrib/llvm-project/libcxx/include/forward_list | 1 +
contrib/llvm-project/libcxx/include/list | 1 +
contrib/llvm-project/libcxx/include/math.h | 1 +
contrib/llvm-project/libcxx/include/memory | 118 ---
.../libcxx/include/module.modulemap.in | 20 +
contrib/llvm-project/libcxx/include/string | 1 +
contrib/llvm-project/libcxx/include/type_traits | 787 +-------------------
contrib/llvm-project/libcxx/include/vector | 19 +-
contrib/llvm-project/libcxx/src/assert.cpp | 47 +-
contrib/llvm-project/lld/ELF/Driver.cpp | 15 +-
contrib/llvm-project/lld/ELF/DriverUtils.cpp | 20 +-
contrib/llvm-project/lld/ELF/InputFiles.cpp | 4 +-
contrib/llvm-project/lld/ELF/LinkerScript.cpp | 12 +-
contrib/llvm-project/lld/ELF/Options.td | 14 +-
contrib/llvm-project/lld/ELF/ScriptParser.cpp | 7 +-
contrib/llvm-project/lld/ELF/SyntheticSections.cpp | 12 +-
contrib/llvm-project/lld/ELF/Writer.cpp | 30 +-
contrib/llvm-project/lld/MachO/Driver.cpp | 20 +-
contrib/llvm-project/lld/MachO/DriverUtils.cpp | 1 +
contrib/llvm-project/lld/MachO/InputFiles.cpp | 60 +-
contrib/llvm-project/lld/MachO/InputFiles.h | 12 +-
contrib/llvm-project/lld/MachO/InputSection.cpp | 2 +-
contrib/llvm-project/lld/MachO/Options.td | 10 +-
contrib/llvm-project/lld/MachO/SyntheticSections.h | 6 +-
.../lldb/include/lldb/Core/Disassembler.h | 8 +-
.../lldb/include/lldb/Target/MemoryTagManager.h | 15 +
.../lldb/include/lldb/Target/Process.h | 4 +-
.../lldb/include/lldb/Target/TraceCursor.h | 36 +-
.../lldb/include/lldb/Target/TraceDumper.h | 7 +-
.../lldb/Utility/TraceIntelPTGDBRemotePackets.h | 4 +-
.../lldb/include/lldb/lldb-enumerations.h | 8 +-
.../source/Commands/CommandObjectDisassemble.cpp | 3 +-
.../source/Commands/CommandObjectExpression.cpp | 2 +-
.../lldb/source/Commands/CommandObjectMemory.cpp | 2 +-
.../lldb/source/Commands/CommandObjectThread.cpp | 2 +-
.../llvm-project/lldb/source/Commands/Options.td | 10 +-
.../llvm-project/lldb/source/Core/Disassembler.cpp | 385 +---------
.../llvm-project/lldb/source/Host/common/Host.cpp | 2 +-
.../Disassembler/LLVMC/DisassemblerLLVMC.cpp | 331 +++++++++
.../ExpressionParser/Clang/ClangASTSource.cpp | 10 +-
.../Clang/ClangExpressionParser.cpp | 5 +-
.../Instruction/ARM/EmulateInstructionARM.cpp | 4 +-
.../Plugins/Instruction/ARM/EmulationStateARM.cpp | 85 ++-
.../Plugins/Instruction/ARM/EmulationStateARM.h | 7 +-
.../ObjectFile/Minidump/MinidumpFileBuilder.cpp | 4 +-
.../Process/Utility/MemoryTagManagerAArch64MTE.cpp | 65 ++
.../Process/Utility/MemoryTagManagerAArch64MTE.h | 6 +
.../Utility/RegisterContextDarwin_arm64.cpp | 2 +-
.../Plugins/Process/Utility/ThreadMemory.cpp | 3 +-
.../Plugins/Process/elf-core/ProcessElfCore.cpp | 72 +-
.../Plugins/Process/elf-core/ProcessElfCore.h | 14 +
.../gdb-remote/GDBRemoteCommunicationClient.cpp | 18 +
.../gdb-remote/GDBRemoteCommunicationClient.h | 2 +
.../Process/gdb-remote/ProcessGDBRemote.cpp | 68 +-
.../Plugins/Process/minidump/ProcessMinidump.cpp | 3 +-
.../Plugins/SymbolFile/NativePDB/PdbUtil.cpp | 2 +-
.../Plugins/Trace/intel-pt/DecodedThread.cpp | 198 ++---
.../source/Plugins/Trace/intel-pt/DecodedThread.h | 180 +++--
.../Plugins/Trace/intel-pt/LibiptDecoder.cpp | 57 +-
.../source/Plugins/Trace/intel-pt/LibiptDecoder.h | 10 +
.../Plugins/Trace/intel-pt/ThreadDecoder.cpp | 19 +-
.../source/Plugins/Trace/intel-pt/ThreadDecoder.h | 6 +
.../Plugins/Trace/intel-pt/TraceCursorIntelPT.cpp | 89 ++-
.../Plugins/Trace/intel-pt/TraceCursorIntelPT.h | 46 +-
.../source/Plugins/Trace/intel-pt/TraceIntelPT.cpp | 50 +-
.../source/Plugins/Trace/intel-pt/TraceIntelPT.h | 9 +
.../Trace/intel-pt/TraceIntelPTMultiCpuDecoder.cpp | 26 +-
.../Trace/intel-pt/TraceIntelPTMultiCpuDecoder.h | 6 +
.../x86/x86AssemblyInspectionEngine.cpp | 2 +-
contrib/llvm-project/lldb/source/Symbol/Type.cpp | 4 +-
.../llvm-project/lldb/source/Target/Process.cpp | 15 +-
.../lldb/source/Target/RegisterContextUnwind.cpp | 4 +-
.../llvm-project/lldb/source/Target/StackFrame.cpp | 42 +-
.../lldb/source/Target/ThreadPlanCallFunction.cpp | 10 +-
.../lldb/source/Target/ThreadPlanTracer.cpp | 4 +-
.../lldb/source/Target/TraceCursor.cpp | 2 +
.../lldb/source/Target/TraceDumper.cpp | 58 +-
.../llvm-project/llvm/include/llvm/ADT/DenseMap.h | 2 +
.../llvm-project/llvm/include/llvm/ADT/Optional.h | 7 +-
.../llvm-project/llvm/include/llvm/Analysis/DDG.h | 23 +-
.../llvm/include/llvm/Analysis/MemoryBuiltins.h | 1 -
.../include/llvm/Analysis/TargetTransformInfo.h | 1 -
.../llvm/include/llvm/BinaryFormat/ELF.h | 22 +
.../llvm/include/llvm/CodeGen/GlobalISel/CSEInfo.h | 4 +-
.../include/llvm/CodeGen/GlobalISel/IRTranslator.h | 2 +-
.../llvm/include/llvm/CodeGen/LiveIntervals.h | 1 -
.../llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 6 +
.../llvm/include/llvm/CodeGen/TargetInstrInfo.h | 1 -
.../llvm/include/llvm/DWARFLinker/DWARFLinker.h | 2 +-
.../include/llvm/DebugInfo/PDB/IPDBEnumChildren.h | 11 +-
.../include/llvm/ExecutionEngine/JITLink/x86_64.h | 23 +-
.../ExecutorSharedMemoryMapperService.h | 6 +-
.../llvm/include/llvm/IR/Instructions.h | 2 +
.../llvm/include/llvm/IR/IntrinsicInst.h | 11 +-
.../llvm/include/llvm/IR/Intrinsics.td | 6 +
.../llvm/include/llvm/IR/ModuleSummaryIndex.h | 6 +
.../llvm/include/llvm/IR/PrintPasses.h | 15 +
.../include/llvm/LTO/legacy/LTOCodeGenerator.h | 4 +
.../llvm/MC/MCDisassembler/MCDisassembler.h | 23 +
.../include/llvm/Passes/StandardInstrumentations.h | 10 +-
.../include/llvm/ProfileData/SampleProfReader.h | 37 +-
.../include/llvm/ProfileData/SampleProfWriter.h | 45 +-
.../llvm/include/llvm/Support/BinaryByteStream.h | 4 +-
.../include/llvm/Support/DXILOperationCommon.h | 63 ++
.../llvm-project/llvm/include/llvm/Support/Error.h | 2 +-
.../llvm/include/llvm/Support/MathExtras.h | 6 +
.../llvm/include/llvm/Support/raw_ostream.h | 4 +-
.../llvm/Target/GlobalISel/SelectionDAGCompat.td | 2 +
.../llvm/include/llvm/Transforms/IPO.h | 2 -
.../llvm/include/llvm/Transforms/IPO/Attributor.h | 2 +-
.../llvm/Transforms/IPO/WholeProgramDevirt.h | 4 +-
.../include/llvm/Transforms/Utils/MatrixUtils.h | 47 +-
.../include/llvm/Transforms/Utils/MemoryOpRemark.h | 6 +-
.../llvm/Transforms/Utils/SimplifyLibCalls.h | 2 +-
.../llvm-project/llvm/lib/Analysis/CodeMetrics.cpp | 3 +-
.../llvm-project/llvm/lib/Analysis/InlineCost.cpp | 4 +-
.../llvm/lib/Analysis/InstructionSimplify.cpp | 12 -
.../llvm/lib/Analysis/LoopAccessAnalysis.cpp | 4 +-
.../llvm/lib/Analysis/MemoryBuiltins.cpp | 7 -
.../llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | 3 +-
.../llvm/lib/Analysis/PHITransAddr.cpp | 17 +-
.../llvm/lib/Analysis/ScalarEvolution.cpp | 26 +-
.../llvm/lib/Analysis/TypeMetadataUtils.cpp | 4 +-
.../llvm/lib/Analysis/ValueTracking.cpp | 43 +-
.../llvm/lib/Bitcode/Reader/BitcodeReader.cpp | 2 +-
.../llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 7 +-
.../llvm/lib/CodeGen/AsmPrinter/WasmException.h | 2 +-
.../llvm/lib/CodeGen/AtomicExpandPass.cpp | 7 +-
.../llvm/lib/CodeGen/CodeGenPrepare.cpp | 4 +-
.../llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp | 3 +-
.../llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp | 10 +-
.../CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | 5 +-
.../llvm/lib/CodeGen/LiveRangeEdit.cpp | 16 +-
.../llvm/lib/CodeGen/MachineFunctionPass.cpp | 29 +
.../llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp | 7 +-
.../llvm/lib/CodeGen/ProcessImplicitDefs.cpp | 2 +-
.../llvm/lib/CodeGen/RegAllocGreedy.cpp | 19 +-
.../llvm-project/llvm/lib/CodeGen/RegAllocGreedy.h | 2 +
.../llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 90 ++-
.../llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 41 +-
.../lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 2 +-
.../lib/CodeGen/SelectionDAG/TargetLowering.cpp | 17 +-
.../llvm/lib/DWARFLinker/DWARFLinker.cpp | 53 +-
contrib/llvm-project/llvm/lib/DWP/DWP.cpp | 7 +
.../JITLink/COFFLinkGraphBuilder.cpp | 124 ++--
.../ExecutionEngine/JITLink/COFFLinkGraphBuilder.h | 10 +-
.../lib/ExecutionEngine/JITLink/COFF_x86_64.cpp | 179 +++--
.../lib/ExecutionEngine/JITLink/SEHFrameSupport.h | 61 ++
.../llvm/lib/ExecutionEngine/JITLink/x86_64.cpp | 2 +
.../ExecutionEngine/Orc/ObjectFileInterface.cpp | 38 +-
.../llvm-project/llvm/lib/FileCheck/FileCheck.cpp | 2 +
contrib/llvm-project/llvm/lib/IR/Instructions.cpp | 4 +
contrib/llvm-project/llvm/lib/IR/IntrinsicInst.cpp | 33 +
.../llvm/lib/IR/ModuleSummaryIndex.cpp | 8 +-
contrib/llvm-project/llvm/lib/IR/PrintPasses.cpp | 44 ++
contrib/llvm-project/llvm/lib/LTO/LTO.cpp | 4 +
contrib/llvm-project/llvm/lib/LTO/LTOBackend.cpp | 3 +
.../llvm-project/llvm/lib/LTO/LTOCodeGenerator.cpp | 12 +
.../llvm/lib/LTO/ThinLTOCodeGenerator.cpp | 6 +
.../llvm-project/llvm/lib/MC/ELFObjectWriter.cpp | 5 +-
.../llvm/lib/MC/MCDisassembler/MCDisassembler.cpp | 5 +
.../llvm-project/llvm/lib/MC/XCOFFObjectWriter.cpp | 2 +-
.../llvm/lib/ObjCopy/ELF/ELFObject.cpp | 52 +-
.../llvm-project/llvm/lib/ObjCopy/ELF/ELFObject.h | 14 +-
.../llvm-project/llvm/lib/ObjectYAML/ELFYAML.cpp | 8 +
.../llvm/lib/Passes/PassBuilderPipelines.cpp | 3 +
.../llvm/lib/Passes/StandardInstrumentations.cpp | 58 --
.../llvm/lib/Support/ARMAttributeParser.cpp | 2 +-
.../lib/Target/AArch64/AArch64ISelLowering.cpp | 144 +++-
.../llvm/lib/Target/AArch64/AArch64InstrInfo.td | 6 +
.../llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | 32 +-
.../AArch64/Disassembler/AArch64Disassembler.cpp | 8 +
.../AArch64/Disassembler/AArch64Disassembler.h | 3 +
.../GISel/AArch64O0PreLegalizerCombiner.cpp | 4 +-
.../AArch64/GISel/AArch64PostLegalizerCombiner.cpp | 4 +-
.../AArch64/GISel/AArch64PostLegalizerLowering.cpp | 4 +-
.../AArch64/GISel/AArch64PreLegalizerCombiner.cpp | 4 +-
.../llvm/lib/Target/AArch64/SVEInstrFormats.td | 12 +-
.../lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp | 212 ++++--
.../llvm/lib/Target/AMDGPU/AMDGPUMIRFormatter.h | 2 +-
.../Target/AMDGPU/AMDGPUPreLegalizerCombiner.cpp | 4 +-
.../llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp | 826 ++++++++++++---------
.../llvm/lib/Target/AMDGPU/GCNSchedStrategy.h | 233 ++++--
.../Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp | 16 +
.../llvm/lib/Target/AMDGPU/R600ISelLowering.h | 4 +-
.../llvm/lib/Target/AMDGPU/SIISelLowering.cpp | 6 +-
.../llvm/lib/Target/AMDGPU/SIISelLowering.h | 8 +-
.../llvm/lib/Target/AMDGPU/SIRegisterInfo.td | 56 +-
.../llvm/lib/Target/AMDGPU/VOPCInstructions.td | 2 +-
.../Target/ARM/Disassembler/ARMDisassembler.cpp | 30 +
.../llvm/lib/Target/DirectX/DXILOpBuilder.cpp | 324 ++++++++
.../llvm/lib/Target/DirectX/DXILOpBuilder.h | 46 ++
.../llvm/lib/Target/DirectX/DXILOpLowering.cpp | 167 +----
.../DirectX/DXILWriter/DXILValueEnumerator.cpp | 4 +-
.../llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h | 1 -
.../llvm/lib/Target/Hexagon/HexagonISelLowering.h | 3 -
.../llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp | 46 --
.../llvm/lib/Target/Hexagon/HexagonInstrInfo.h | 4 -
.../LoongArch/AsmParser/LoongArchAsmParser.cpp | 2 +-
.../Disassembler/LoongArchDisassembler.cpp | 2 +-
.../llvm/lib/Target/LoongArch/LoongArch.h | 2 +-
.../lib/Target/LoongArch/LoongArchFrameLowering.h | 2 +-
.../lib/Target/LoongArch/LoongArchISelDAGToDAG.h | 2 +-
.../lib/Target/LoongArch/LoongArchISelLowering.h | 2 +-
.../lib/Target/LoongArch/LoongArchRegisterInfo.h | 2 +-
.../llvm/lib/Target/LoongArch/LoongArchSubtarget.h | 2 +-
.../Target/LoongArch/LoongArchTargetMachine.cpp | 2 +-
.../LoongArch/MCTargetDesc/LoongArchAsmBackend.h | 2 +-
.../LoongArch/MCTargetDesc/LoongArchBaseInfo.cpp | 4 +-
.../LoongArch/MCTargetDesc/LoongArchBaseInfo.h | 4 +-
.../MCTargetDesc/LoongArchELFObjectWriter.cpp | 2 +-
.../LoongArch/MCTargetDesc/LoongArchInstPrinter.h | 2 +-
.../LoongArch/MCTargetDesc/LoongArchMCAsmInfo.h | 2 +-
.../MCTargetDesc/LoongArchMCCodeEmitter.cpp | 2 +-
.../MCTargetDesc/LoongArchMCTargetDesc.cpp | 2 +-
.../LoongArch/MCTargetDesc/LoongArchMCTargetDesc.h | 2 +-
.../LoongArch/MCTargetDesc/LoongArchMatInt.h | 4 +-
.../LoongArch/TargetInfo/LoongArchTargetInfo.h | 2 +-
.../lib/Target/Mips/MipsPreLegalizerCombiner.cpp | 4 +-
.../llvm/lib/Target/RISCV/RISCVCodeGenPrepare.cpp | 15 +
.../llvm/lib/Target/RISCV/RISCVISelLowering.cpp | 53 +-
.../llvm/lib/Target/RISCV/RISCVISelLowering.h | 1 +
.../llvm/lib/Target/RISCV/RISCVInstrInfo.h | 21 +-
.../llvm/lib/Target/RISCV/RISCVInstrInfoC.td | 56 +-
.../llvm/lib/Target/RISCV/RISCVTargetMachine.h | 3 +-
.../llvm/lib/Target/SystemZ/SystemZRegisterInfo.h | 34 +-
.../Target/WebAssembly/WebAssemblyISelLowering.cpp | 30 +-
.../llvm/lib/Target/X86/X86ISelLowering.cpp | 84 ++-
.../llvm/lib/Target/X86/X86ISelLowering.h | 2 +-
.../llvm/lib/Target/X86/X86InstrInfo.h | 2 +-
.../AggressiveInstCombine.cpp | 55 +-
.../llvm/lib/Transforms/IPO/ArgumentPromotion.cpp | 6 +-
.../lib/Transforms/IPO/AttributorAttributes.cpp | 28 +-
.../llvm/lib/Transforms/IPO/FunctionAttrs.cpp | 61 +-
.../llvm/lib/Transforms/IPO/GlobalOpt.cpp | 3 +-
.../llvm/lib/Transforms/IPO/LowerTypeTests.cpp | 61 +-
.../llvm/lib/Transforms/IPO/OpenMPOpt.cpp | 12 -
.../llvm-project/llvm/lib/Transforms/IPO/SCCP.cpp | 2 +-
.../lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp | 8 +
.../llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp | 35 +-
.../Transforms/InstCombine/InstCombineInternal.h | 7 +-
.../Instrumentation/AddressSanitizer.cpp | 4 +-
.../lib/Transforms/Scalar/LoopDataPrefetch.cpp | 8 +-
.../Transforms/Scalar/LowerMatrixIntrinsics.cpp | 25 +-
.../llvm/lib/Transforms/Scalar/Reassociate.cpp | 24 +-
.../llvm/lib/Transforms/Utils/InlineFunction.cpp | 59 +-
.../llvm/lib/Transforms/Utils/MatrixUtils.cpp | 42 +-
.../llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | 137 +++-
.../lib/Transforms/Vectorize/LoopVectorize.cpp | 9 +-
.../lib/Transforms/Vectorize/SLPVectorizer.cpp | 4 +-
.../llvm/tools/llvm-dwarfutil/DebugInfoLinker.cpp | 49 +-
.../llvm/tools/llvm-dwarfutil/DebugInfoLinker.h | 4 +-
.../llvm/tools/llvm-dwarfutil/llvm-dwarfutil.cpp | 22 +-
.../llvm-project/llvm/tools/llvm-lto/llvm-lto.cpp | 7 +
.../llvm/tools/llvm-mca/CodeRegionGenerator.cpp | 4 +-
.../llvm/tools/llvm-objcopy/ObjcopyOptions.cpp | 27 +-
.../llvm/tools/llvm-objcopy/ObjcopyOpts.td | 11 +-
.../llvm/tools/llvm-objdump/llvm-objdump.cpp | 152 +++-
.../llvm/tools/llvm-profdata/llvm-profdata.cpp | 3 +-
.../llvm/tools/llvm-readobj/ELFDumper.cpp | 15 +
.../llvm/tools/llvm-xray/xray-graph.cpp | 9 +-
.../llvm/utils/TableGen/DXILEmitter.cpp | 107 ++-
.../TableGen/GlobalISel/GIMatchDagPredicate.h | 6 +-
lib/clang/include/VCSVersion.inc | 6 +-
lib/clang/include/clang/Config/config.h | 2 +-
lib/clang/include/lld/Common/Version.inc | 2 +-
lib/clang/include/lldb/Version/Version.inc | 4 +-
lib/clang/include/llvm/Config/config.h | 4 +-
lib/clang/include/llvm/Config/llvm-config.h | 2 +-
lib/clang/include/llvm/Support/VCSRevision.h | 2 +-
lib/clang/libclang/Makefile | 9 +
lib/clang/liblldb/LLDBWrapLua.cpp | 2 +-
lib/libc++/Makefile | 20 +
438 files changed, 9684 insertions(+), 4700 deletions(-)
diff --cc contrib/llvm-project/clang/include/clang/Sema/RISCVIntrinsicManager.h
index 000000000000,505100249d6f..505100249d6f
mode 000000,100644..100644
--- a/contrib/llvm-project/clang/include/clang/Sema/RISCVIntrinsicManager.h
+++ b/contrib/llvm-project/clang/include/clang/Sema/RISCVIntrinsicManager.h
diff --cc contrib/llvm-project/clang/lib/Basic/Targets/X86.h
index 3caf5256118e,0affa58b2f4c..224145f4b020
--- a/contrib/llvm-project/clang/lib/Basic/Targets/X86.h
+++ b/contrib/llvm-project/clang/lib/Basic/Targets/X86.h
@@@ -229,18 -229,14 +229,18 @@@ public
bool validateInputSize(const llvm::StringMap<bool> &FeatureMap,
StringRef Constraint, unsigned Size) const override;
- virtual bool
+ bool
checkCFProtectionReturnSupported(DiagnosticsEngine &Diags) const override {
- return true;
+ if (CPU == llvm::X86::CK_None || CPU >= llvm::X86::CK_PentiumPro)
+ return true;
+ return TargetInfo::checkCFProtectionReturnSupported(Diags);
};
- virtual bool
+ bool
checkCFProtectionBranchSupported(DiagnosticsEngine &Diags) const override {
- return true;
+ if (CPU == llvm::X86::CK_None || CPU >= llvm::X86::CK_PentiumPro)
+ return true;
+ return TargetInfo::checkCFProtectionBranchSupported(Diags);
};
virtual bool validateOperandSize(const llvm::StringMap<bool> &FeatureMap,
diff --cc contrib/llvm-project/clang/lib/Sema/SemaRISCVVectorLookup.cpp
index 000000000000,50fd841c231b..50fd841c231b
mode 000000,100644..100644
--- a/contrib/llvm-project/clang/lib/Sema/SemaRISCVVectorLookup.cpp
+++ b/contrib/llvm-project/clang/lib/Sema/SemaRISCVVectorLookup.cpp
diff --cc contrib/llvm-project/libcxx/include/__memory/swap_allocator.h
index 000000000000,64970fa9e2f4..64970fa9e2f4
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__memory/swap_allocator.h
+++ b/contrib/llvm-project/libcxx/include/__memory/swap_allocator.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/aligned_storage.h
index 000000000000,9659a90ae50c..9659a90ae50c
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/aligned_storage.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/aligned_storage.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/aligned_union.h
index 000000000000,31eb9353a9e2..31eb9353a9e2
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/aligned_union.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/aligned_union.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/common_reference.h
index 000000000000,559d39858ec8..559d39858ec8
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/common_reference.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/common_reference.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/common_type.h
index 000000000000,55321e9936dd..55321e9936dd
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/common_type.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/common_type.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/copy_cv.h
index 000000000000,8e9bfe0a522f..8e9bfe0a522f
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/copy_cv.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/copy_cv.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/copy_cvref.h
index 000000000000,69b97ac1cb17..69b97ac1cb17
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/copy_cvref.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/copy_cvref.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/is_nothrow_convertible.h
index 000000000000,712b6f2cf4b8..712b6f2cf4b8
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/is_nothrow_convertible.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/is_nothrow_convertible.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/is_primary_template.h
index 000000000000,a9bebcf7e64c..a9bebcf7e64c
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/is_primary_template.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/is_primary_template.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/is_signed_integer.h
index 000000000000,95aa11bfa1b5..95aa11bfa1b5
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/is_signed_integer.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/is_signed_integer.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/is_unsigned_integer.h
index 000000000000,54b29acd9ea3..54b29acd9ea3
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/is_unsigned_integer.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/is_unsigned_integer.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/is_valid_expansion.h
index 000000000000,c45db7509e41..c45db7509e41
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/is_valid_expansion.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/is_valid_expansion.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/lazy.h
index 000000000000,6874b06f3c5a..6874b06f3c5a
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/lazy.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/lazy.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/make_32_64_or_128_bit.h
index 000000000000,87340eac7fb1..87340eac7fb1
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/make_32_64_or_128_bit.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/make_32_64_or_128_bit.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/make_signed.h
index 000000000000,fbc31172a978..fbc31172a978
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/make_signed.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/make_signed.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/make_unsigned.h
index 000000000000,8110a5ca9609..8110a5ca9609
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/make_unsigned.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/make_unsigned.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/nat.h
index 000000000000,5216ef520420..5216ef520420
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/nat.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/nat.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/promote.h
index 000000000000,a9226a74b300..a9226a74b300
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/promote.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/promote.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/remove_cvref.h
index 000000000000,d937501fedce..d937501fedce
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/remove_cvref.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/remove_cvref.h
diff --cc contrib/llvm-project/libcxx/include/__type_traits/type_list.h
index 000000000000,5a9e3319a1d4..5a9e3319a1d4
mode 000000,100644..100644
--- a/contrib/llvm-project/libcxx/include/__type_traits/type_list.h
+++ b/contrib/llvm-project/libcxx/include/__type_traits/type_list.h
diff --cc contrib/llvm-project/llvm/include/llvm/Support/DXILOperationCommon.h
index 000000000000,09365411b3e7..09365411b3e7
mode 000000,100644..100644
--- a/contrib/llvm-project/llvm/include/llvm/Support/DXILOperationCommon.h
+++ b/contrib/llvm-project/llvm/include/llvm/Support/DXILOperationCommon.h
diff --cc contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/SEHFrameSupport.h
index 000000000000,f7689e4e4043..f7689e4e4043
mode 000000,100644..100644
--- a/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/SEHFrameSupport.h
+++ b/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/SEHFrameSupport.h
diff --cc contrib/llvm-project/llvm/lib/Target/DirectX/DXILOpBuilder.cpp
index 000000000000,1985bee8e0ae..1985bee8e0ae
mode 000000,100644..100644
--- a/contrib/llvm-project/llvm/lib/Target/DirectX/DXILOpBuilder.cpp
+++ b/contrib/llvm-project/llvm/lib/Target/DirectX/DXILOpBuilder.cpp
diff --cc contrib/llvm-project/llvm/lib/Target/DirectX/DXILOpBuilder.h
index 000000000000,0cc39e845b71..0cc39e845b71
mode 000000,100644..100644
--- a/contrib/llvm-project/llvm/lib/Target/DirectX/DXILOpBuilder.h
+++ b/contrib/llvm-project/llvm/lib/Target/DirectX/DXILOpBuilder.h
diff --cc lib/clang/include/VCSVersion.inc
index 28ec17e11314,000000000000..571ed75d3dc9
mode 100644,000000..100644
--- a/lib/clang/include/VCSVersion.inc
+++ b/lib/clang/include/VCSVersion.inc
@@@ -1,10 -1,0 +1,10 @@@
+// $FreeBSD$
+
- #define LLVM_REVISION "llvmorg-15-init-17485-ga3e38b4a206b"
++#define LLVM_REVISION "llvmorg-15-init-17826-g1f8ae9d7e7e4"
+#define LLVM_REPOSITORY "https://github.com/llvm/llvm-project.git"
+
- #define CLANG_REVISION "llvmorg-15-init-17485-ga3e38b4a206b"
++#define CLANG_REVISION "llvmorg-15-init-17826-g1f8ae9d7e7e4"
+#define CLANG_REPOSITORY "https://github.com/llvm/llvm-project.git"
+
- #define LLDB_REVISION "llvmorg-15-init-17485-ga3e38b4a206b"
++#define LLDB_REVISION "llvmorg-15-init-17826-g1f8ae9d7e7e4"
+#define LLDB_REPOSITORY "https://github.com/llvm/llvm-project.git"
diff --cc lib/clang/include/clang/Config/config.h
index 49a883a045a5,000000000000..6c3208239419
mode 100644,000000..100644
--- a/lib/clang/include/clang/Config/config.h
+++ b/lib/clang/include/clang/Config/config.h
@@@ -1,108 -1,0 +1,108 @@@
+/* $FreeBSD$ */
+/* This generated file is for internal use. Do not include it from headers. */
+
+#ifdef CLANG_CONFIG_H
+#error config.h can only be included once
+#else
+#define CLANG_CONFIG_H
+
+/* Bug report URL. */
+#define BUG_REPORT_URL "https://bugs.freebsd.org/submit/"
+
+/* Default to -fPIE and -pie on Linux. */
+#define CLANG_DEFAULT_PIE_ON_LINUX 1
+
+/* Default linker to use. */
+#define CLANG_DEFAULT_LINKER ""
+
+/* Default C/ObjC standard to use. */
+/* #undef CLANG_DEFAULT_STD_C */
+/* Always #define something so that missing the config.h #include at use sites
+ * becomes a compile error.
+ */
+#ifndef CLANG_DEFAULT_STD_C
+#define CLANG_DEFAULT_STD_C LangStandard::lang_unspecified
+#endif
+
+/* Default C++/ObjC++ standard to use. */
+/* #undef CLANG_DEFAULT_STD_CXX */
+/* Always #define something so that missing the config.h #include at use sites
+ * becomes a compile error.
+ */
+#ifndef CLANG_DEFAULT_STD_CXX
+#define CLANG_DEFAULT_STD_CXX LangStandard::lang_unspecified
+#endif
+
+/* Default C++ stdlib to use. */
+#define CLANG_DEFAULT_CXX_STDLIB ""
+
+/* Default runtime library to use. */
+#define CLANG_DEFAULT_RTLIB ""
+
+/* Default unwind library to use. */
+#define CLANG_DEFAULT_UNWINDLIB ""
+
+/* Default objcopy to use */
+#define CLANG_DEFAULT_OBJCOPY "objcopy"
+
+/* Default OpenMP runtime used by -fopenmp. */
+#define CLANG_DEFAULT_OPENMP_RUNTIME "libomp"
+
+/* Default architecture for OpenMP offloading to Nvidia GPUs. */
+#define CLANG_OPENMP_NVPTX_DEFAULT_ARCH "sm_35"
+
+/* Default architecture for SystemZ. */
+#define CLANG_SYSTEMZ_DEFAULT_ARCH "z10"
+
+/* Multilib suffix for libdir. */
+#define CLANG_LIBDIR_SUFFIX ""
+
+/* Relative directory for resource files */
+#define CLANG_RESOURCE_DIR ""
+
+/* Directories clang will search for headers */
+#define C_INCLUDE_DIRS ""
+
+/* Directories clang will search for configuration files */
+/* #undef CLANG_CONFIG_FILE_SYSTEM_DIR */
+/* #undef CLANG_CONFIG_FILE_USER_DIR */
+
+/* Default <path> to all compiler invocations for --sysroot=<path>. */
+/* #undef DEFAULT_SYSROOT */
+
+/* Directory where gcc is installed. */
+#define GCC_INSTALL_PREFIX ""
+
+/* Define if we have libxml2 */
+/* #undef CLANG_HAVE_LIBXML */
+
+/* Define if we have sys/resource.h (rlimits) */
+#define CLANG_HAVE_RLIMITS 1
+
+/* The LLVM product name and version */
- #define BACKEND_PACKAGE_STRING "LLVM 15.0.0git"
++#define BACKEND_PACKAGE_STRING "LLVM 15.0.0"
+
+/* Linker version detected at compile time. */
+/* #undef HOST_LINK_VERSION */
+
+/* pass --build-id to ld */
+/* #undef ENABLE_LINKER_BUILD_ID */
+
+/* enable x86 relax relocations by default */
+#define ENABLE_X86_RELAX_RELOCATIONS 1
+
+/* Enable IEEE binary128 as default long double format on PowerPC Linux. */
+#define PPC_LINUX_DEFAULT_IEEELONGDOUBLE 0
+
+/* Enable each functionality of modules */
+/* #undef CLANG_ENABLE_ARCMT */
+/* #undef CLANG_ENABLE_OBJC_REWRITER */
+/* #undef CLANG_ENABLE_STATIC_ANALYZER */
+
+/* Spawn a new process clang.exe for the CC1 tool invocation, when necessary */
+#define CLANG_SPAWN_CC1 0
+
+/* Whether to enable opaque pointers by default */
+#define CLANG_ENABLE_OPAQUE_POINTERS_INTERNAL 1
+
+#endif
diff --cc lib/clang/include/lld/Common/Version.inc
index 5290875aeba6,000000000000..6e25b65b845e
mode 100644,000000..100644
--- a/lib/clang/include/lld/Common/Version.inc
+++ b/lib/clang/include/lld/Common/Version.inc
@@@ -1,4 -1,0 +1,4 @@@
+// Local identifier in __FreeBSD_version style
+#define LLD_FREEBSD_VERSION 1400005
+
- #define LLD_VERSION_STRING "15.0.0 (FreeBSD llvmorg-15-init-17485-ga3e38b4a206b-" __XSTRING(LLD_FREEBSD_VERSION) ")"
++#define LLD_VERSION_STRING "15.0.0 (FreeBSD llvmorg-15-init-17826-g1f8ae9d7e7e4-" __XSTRING(LLD_FREEBSD_VERSION) ")"
diff --cc lib/clang/include/lldb/Version/Version.inc
index f2f189e58e28,000000000000..919499091d2a
mode 100644,000000..100644
--- a/lib/clang/include/lldb/Version/Version.inc
+++ b/lib/clang/include/lldb/Version/Version.inc
@@@ -1,6 -1,0 +1,6 @@@
- #define LLDB_VERSION 15.0.0git
- #define LLDB_VERSION_STRING "15.0.0git"
++#define LLDB_VERSION 15.0.0
++#define LLDB_VERSION_STRING "15.0.0"
+#define LLDB_VERSION_MAJOR 15
+#define LLDB_VERSION_MINOR 0
+#define LLDB_VERSION_PATCH 0
+/* #undef LLDB_FULL_VERSION_STRING */
diff --cc lib/clang/include/llvm/Config/config.h
index 7b98178f61ac,000000000000..4834ac961e39
mode 100644,000000..100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@@ -1,388 -1,0 +1,388 @@@
+/* $FreeBSD$ */
+#ifndef CONFIG_H
+#define CONFIG_H
+
+// Include this header only under the llvm source tree.
+// This is a private header.
+
+/* Exported configuration */
+#include "llvm/Config/llvm-config.h"
+
+/* Bug report URL. */
+#define BUG_REPORT_URL "https://bugs.freebsd.org/submit/"
+
+/* Define to 1 to enable backtraces, and to 0 otherwise. */
+#define ENABLE_BACKTRACES 1
+
+/* Define to 1 to enable crash overrides, and to 0 otherwise. */
+#define ENABLE_CRASH_OVERRIDES 1
+
+/* Define to 1 to enable crash memory dumps, and to 0 otherwise. */
+#define LLVM_ENABLE_CRASH_DUMPS 0
+
+/* Define to 1 to prefer forward slashes on Windows, and to 0 prefer
+ backslashes. */
+#define LLVM_WINDOWS_PREFER_FORWARD_SLASH 0
+
+/* Define to 1 if you have the `backtrace' function. */
+#define HAVE_BACKTRACE TRUE
+
+#define BACKTRACE_HEADER <execinfo.h>
+
+/* Define to 1 if you have the <CrashReporterClient.h> header file. */
+/* #undef HAVE_CRASHREPORTERCLIENT_H */
+
+/* can use __crashreporter_info__ */
+#if defined(__APPLE__)
+#define HAVE_CRASHREPORTER_INFO 1
+#else
+#define HAVE_CRASHREPORTER_INFO 0
+#endif
+
+/* Define to 1 if you have the declaration of `arc4random', and to 0 if you
+ don't. */
+#define HAVE_DECL_ARC4RANDOM 1
+
+/* Define to 1 if you have the declaration of `FE_ALL_EXCEPT', and to 0 if you
+ don't. */
+#define HAVE_DECL_FE_ALL_EXCEPT 1
+
+/* Define to 1 if you have the declaration of `FE_INEXACT', and to 0 if you
+ don't. */
+#define HAVE_DECL_FE_INEXACT 1
+
+/* Define to 1 if you have the declaration of `strerror_s', and to 0 if you
+ don't. */
+#define HAVE_DECL_STRERROR_S 0
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define if dlopen() is available on this platform. */
+#define HAVE_DLOPEN 1
+
+/* Define if dladdr() is available on this platform. */
+#define HAVE_DLADDR 1
+
+#if !defined(__arm__) || defined(__USING_SJLJ_EXCEPTIONS__) || defined(__ARM_DWARF_EH__)
+/* Define to 1 if we can register EH frames on this platform. */
+#define HAVE_REGISTER_FRAME 1
+
+/* Define to 1 if we can deregister EH frames on this platform. */
+#define HAVE_DEREGISTER_FRAME 1
+#endif // !arm || USING_SJLJ_EXCEPTIONS || ARM_DWARF_EH_
+
+/* Define if __unw_add_dynamic_fde() is available on this platform. */
+/* #undef HAVE_UNW_ADD_DYNAMIC_FDE */
+
+/* Define to 1 if you have the <errno.h> header file. */
+#define HAVE_ERRNO_H 1
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define to 1 if you have the <fenv.h> header file. */
+#define HAVE_FENV_H 1
+
+/* Define if libffi is available on this platform. */
+/* #undef HAVE_FFI_CALL */
+
+/* Define to 1 if you have the <ffi/ffi.h> header file. */
+/* #undef HAVE_FFI_FFI_H */
+
+/* Define to 1 if you have the <ffi.h> header file. */
+/* #undef HAVE_FFI_H */
+
+/* Define to 1 if you have the `futimens' function. */
+#define HAVE_FUTIMENS 1
+
+/* Define to 1 if you have the `futimes' function. */
+#define HAVE_FUTIMES 1
+
+/* Define to 1 if you have the `getpagesize' function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define to 1 if you have the `getrlimit' function. */
+#define HAVE_GETRLIMIT 1
+
+/* Define to 1 if you have the `getrusage' function. */
+#define HAVE_GETRUSAGE 1
+
+/* Define to 1 if you have the `isatty' function. */
+#define HAVE_ISATTY 1
+
+/* Define to 1 if you have the `edit' library (-ledit). */
+#define HAVE_LIBEDIT TRUE
+
+/* Define to 1 if you have the `pfm' library (-lpfm). */
+/* #undef HAVE_LIBPFM */
+
+/* Define to 1 if the `perf_branch_entry' struct has field cycles. */
+/* #undef LIBPFM_HAS_FIELD_CYCLES */
+
+/* Define to 1 if you have the `psapi' library (-lpsapi). */
+/* #undef HAVE_LIBPSAPI */
+
+/* Define to 1 if you have the `pthread' library (-lpthread). */
+#define HAVE_LIBPTHREAD 1
+
+/* Define to 1 if you have the `pthread_getname_np' function. */
+#define HAVE_PTHREAD_GETNAME_NP 1
+
+/* Define to 1 if you have the `pthread_setname_np' function. */
+#define HAVE_PTHREAD_SETNAME_NP 1
+
+/* Define to 1 if you have the <link.h> header file. */
+#if __has_include(<link.h>)
+#define HAVE_LINK_H 1
+#else
+#define HAVE_LINK_H 0
+#endif
+
+/* Define to 1 if you have the `lseek64' function. */
+#if defined(__linux__)
+#define HAVE_LSEEK64 1
+#endif
+
+/* Define to 1 if you have the <mach/mach.h> header file. */
+#if __has_include(<mach/mach.h>)
+#define HAVE_MACH_MACH_H 1
+#endif
+
+/* Define to 1 if you have the `mallctl' function. */
+#if defined(__FreeBSD__)
+#define HAVE_MALLCTL 1
+#endif
+
+/* Define to 1 if you have the `mallinfo' function. */
+#if defined(__linux__)
+#define HAVE_MALLINFO 1
+#endif
+
+/* Define to 1 if you have the `mallinfo2' function. */
+/* #undef HAVE_MALLINFO2 */
+
+/* Define to 1 if you have the <malloc/malloc.h> header file. */
+#if __has_include(<malloc/malloc.h>)
+#define HAVE_MALLOC_MALLOC_H 1
+#endif
+
+/* Define to 1 if you have the `malloc_zone_statistics' function. */
+#if defined(__APPLE__)
+#define HAVE_MALLOC_ZONE_STATISTICS 1
+#endif
+
+/* Define to 1 if you have the `posix_spawn' function. */
+#define HAVE_POSIX_SPAWN 1
+
+/* Define to 1 if you have the `pread' function. */
+#define HAVE_PREAD 1
+
+/* Define to 1 if you have the <pthread.h> header file. */
+#define HAVE_PTHREAD_H 1
+
+/* Have pthread_mutex_lock */
+#define HAVE_PTHREAD_MUTEX_LOCK 1
+
+/* Have pthread_rwlock_init */
+#define HAVE_PTHREAD_RWLOCK_INIT 1
+
+/* Define to 1 if you have the `sbrk' function. */
+#define HAVE_SBRK 1
+
+/* Define to 1 if you have the `setenv' function. */
+#define HAVE_SETENV 1
+
+/* Define to 1 if you have the `setrlimit' function. */
+#define HAVE_SETRLIMIT 1
+
+/* Define to 1 if you have the `sigaltstack' function. */
+#define HAVE_SIGALTSTACK 1
+
+/* Define to 1 if you have the <signal.h> header file. */
+#define HAVE_SIGNAL_H 1
+
+/* Define to 1 if you have the `strerror' function. */
*** 76737 LINES SKIPPED ***