diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2023-12-18 20:30:12 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2024-04-06 20:11:55 +0000 |
commit | 5f757f3ff9144b609b3c433dfd370cc6bdc191ad (patch) | |
tree | 1b4e980b866cd26a00af34c0a653eb640bd09caf /lib | |
parent | 3e1c8a35f741a5d114d0ba670b15191355711fe9 (diff) | |
parent | 312c0ed19cc5276a17bacf2120097bec4515b0f1 (diff) |
Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fb
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-18-init-15088-gd14ee76181fb.
PR: 276104
MFC after: 1 month
Diffstat (limited to 'lib')
35 files changed, 1827 insertions, 430 deletions
diff --git a/lib/clang/headers/Makefile b/lib/clang/headers/Makefile index f72567514f20..f51cc3a1cd09 100644 --- a/lib/clang/headers/Makefile +++ b/lib/clang/headers/Makefile @@ -5,7 +5,7 @@ .PATH: ${CLANG_SRCS}/lib/Headers INCSGROUPS+= INCS -INCSDIR= ${LIBDIR}/clang/17/include +INCSDIR= ${LIBDIR}/clang/18/include INCS+= __clang_cuda_builtin_vars.h INCS+= __clang_cuda_cmath.h INCS+= __clang_cuda_complex_builtins.h @@ -21,7 +21,21 @@ INCS+= __clang_hip_libdevice_declares.h INCS+= __clang_hip_math.h INCS+= __clang_hip_runtime_wrapper.h INCS+= __clang_hip_stdlib.h +INCS+= __stdarg___gnuc_va_list.h +INCS+= __stdarg___va_copy.h +INCS+= __stdarg_va_arg.h +INCS+= __stdarg_va_copy.h +INCS+= __stdarg_va_list.h INCS+= __stddef_max_align_t.h +INCS+= __stddef_null.h +INCS+= __stddef_nullptr_t.h +INCS+= __stddef_offsetof.h +INCS+= __stddef_ptrdiff_t.h +INCS+= __stddef_rsize_t.h +INCS+= __stddef_size_t.h +INCS+= __stddef_unreachable.h +INCS+= __stddef_wchar_t.h +INCS+= __stddef_wint_t.h INCS+= __wmmintrin_aes.h INCS+= __wmmintrin_pclmul.h INCS+= adxintrin.h @@ -102,6 +116,8 @@ INCS+= immintrin.h INCS+= invpcidintrin.h INCS+= keylockerintrin.h INCS+= larchintrin.h +INCS+= lasxintrin.h +INCS+= lsxintrin.h INCS+= lwpintrin.h INCS+= lzcntintrin.h INCS+= mm3dnow.h @@ -124,6 +140,8 @@ INCS+= ptwriteintrin.h INCS+= raointintrin.h INCS+= rdpruintrin.h INCS+= rdseedintrin.h +INCS+= riscv_bitmanip.h +INCS+= riscv_crypto.h INCS+= riscv_ntlh.h INCS+= riscv_vector.h INCS+= rtmintrin.h @@ -136,10 +154,12 @@ INCS+= sifive_vector.h INCS+= sm3intrin.h INCS+= sm4intrin.h INCS+= smmintrin.h +INCS+= stdckdint.h INCS+= tbmintrin.h INCS+= tmmintrin.h INCS+= tsxldtrkintrin.h INCS+= uintrintrin.h +INCS+= usermsrintrin.h INCS+= vadefs.h INCS+= vaesintrin.h INCS+= vecintrin.h @@ -217,6 +237,7 @@ PPC+= ppc_wrappers/emmintrin.h PPC+= ppc_wrappers/immintrin.h PPC+= ppc_wrappers/mm_malloc.h PPC+= ppc_wrappers/mmintrin.h +PPC+= ppc_wrappers/nmmintrin.h PPC+= ppc_wrappers/pmmintrin.h PPC+= ppc_wrappers/smmintrin.h PPC+= ppc_wrappers/tmmintrin.h @@ -239,6 +260,12 @@ arm_sme_draft_spec_subject_to_change.h: ${CLANG_SRCS}/include/clang/Basic/arm_sm -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sme.td GENINCS+= arm_sme_draft_spec_subject_to_change.h +arm_vector_types.h: ${CLANG_SRCS}/include/clang/Basic/arm_sme.td + ${CLANG_TBLGEN} -gen-arm-vector-type \ + -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \ + -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td +GENINCS+= arm_vector_types.h + .for hdr in vector/vector-header riscv_${hdr:H}.h: ${CLANG_SRCS}/include/clang/Basic/riscv_${hdr:H}.td ${CLANG_TBLGEN} -gen-riscv-${hdr:T} \ diff --git a/lib/clang/include/Plugins/Plugins.def b/lib/clang/include/Plugins/Plugins.def index 8255019206b3..84daec2bade4 100644 --- a/lib/clang/include/Plugins/Plugins.def +++ b/lib/clang/include/Plugins/Plugins.def @@ -33,6 +33,7 @@ LLDB_PLUGIN(ABIAArch64) LLDB_PLUGIN(ABIARM) LLDB_PLUGIN(ABIMips) LLDB_PLUGIN(ABIPowerPC) +LLDB_PLUGIN(ABIRISCV) LLDB_PLUGIN(ABIX86) LLDB_PLUGIN(ArchitectureArm) LLDB_PLUGIN(ArchitectureMips) @@ -48,6 +49,7 @@ LLDB_PLUGIN(InstructionMIPS64) LLDB_PLUGIN(InstructionPPC64) LLDB_PLUGIN(InstructionRISCV) LLDB_PLUGIN(InstrumentationRuntimeASan) +LLDB_PLUGIN(InstrumentationRuntimeASanLibsanitizers) LLDB_PLUGIN(InstrumentationRuntimeMainThreadChecker) LLDB_PLUGIN(InstrumentationRuntimeTSan) LLDB_PLUGIN(InstrumentationRuntimeUBSan) @@ -60,6 +62,7 @@ LLDB_PLUGIN(ObjectFileBreakpad) LLDB_PLUGIN(ObjectFileELF) LLDB_PLUGIN(PlatformFreeBSD) LLDB_PLUGIN(PlatformGDB) +LLDB_PLUGIN(PlatformQemuUser) LLDB_PLUGIN(ScriptedProcess) LLDB_PLUGIN(ProcessElfCore) LLDB_PLUGIN(ProcessFreeBSDKernel) @@ -68,6 +71,8 @@ LLDB_SCRIPT_PLUGIN(ScriptInterpreterLua) LLDB_PLUGIN(SymbolFileBreakpad) LLDB_PLUGIN(SymbolFileDWARF) LLDB_PLUGIN(SymbolFileSymtab) +LLDB_PLUGIN(SymbolLocatorDefault) +LLDB_PLUGIN(SymbolLocatorDebuginfod) LLDB_PLUGIN(SymbolVendorELF) LLDB_PLUGIN(TypeSystemClang) LLDB_PLUGIN(UnwindAssemblyInstEmulation) diff --git a/lib/clang/include/VCSVersion.inc b/lib/clang/include/VCSVersion.inc index a52f5acd3b0f..7b40807d42b0 100644 --- a/lib/clang/include/VCSVersion.inc +++ b/lib/clang/include/VCSVersion.inc @@ -1,8 +1,8 @@ -#define LLVM_REVISION "llvmorg-17.0.6-0-g6009708b4367" +#define LLVM_REVISION "llvmorg-18-init-15088-gd14ee76181fb" #define LLVM_REPOSITORY "https://github.com/llvm/llvm-project.git" -#define CLANG_REVISION "llvmorg-17.0.6-0-g6009708b4367" +#define CLANG_REVISION "llvmorg-18-init-15088-gd14ee76181fb" #define CLANG_REPOSITORY "https://github.com/llvm/llvm-project.git" -#define LLDB_REVISION "llvmorg-17.0.6-0-g6009708b4367" +#define LLDB_REVISION "llvmorg-18-init-15088-gd14ee76181fb" #define LLDB_REPOSITORY "https://github.com/llvm/llvm-project.git" diff --git a/lib/clang/include/clang/Basic/Version.inc b/lib/clang/include/clang/Basic/Version.inc index 2218bba3dc03..adf6c5966121 100644 --- a/lib/clang/include/clang/Basic/Version.inc +++ b/lib/clang/include/clang/Basic/Version.inc @@ -1,8 +1,8 @@ -#define CLANG_VERSION 17.0.6 -#define CLANG_VERSION_STRING "17.0.6" -#define CLANG_VERSION_MAJOR 17 -#define CLANG_VERSION_MAJOR_STRING "17" +#define CLANG_VERSION 18.0.0git +#define CLANG_VERSION_STRING "18.0.0git" +#define CLANG_VERSION_MAJOR 18 +#define CLANG_VERSION_MAJOR_STRING "18" #define CLANG_VERSION_MINOR 0 -#define CLANG_VERSION_PATCHLEVEL 6 +#define CLANG_VERSION_PATCHLEVEL 0 #define CLANG_VENDOR "FreeBSD " diff --git a/lib/clang/include/lld/Common/Version.inc b/lib/clang/include/lld/Common/Version.inc index fbb79d4bb936..d2ba92da092e 100644 --- a/lib/clang/include/lld/Common/Version.inc +++ b/lib/clang/include/lld/Common/Version.inc @@ -1,4 +1,4 @@ // Local identifier in __FreeBSD_version style #define LLD_FREEBSD_VERSION 1500000 -#define LLD_VERSION_STRING "17.0.6 (FreeBSD llvmorg-17.0.6-0-g6009708b4367-" __XSTRING(LLD_FREEBSD_VERSION) ")" +#define LLD_VERSION_STRING "18.0.0 (FreeBSD llvmorg-18-init-15088-gd14ee76181fb-" __XSTRING(LLD_FREEBSD_VERSION) ")" diff --git a/lib/clang/include/lldb/Version/Version.inc b/lib/clang/include/lldb/Version/Version.inc index 838643a235ff..c5e07a4eefbd 100644 --- a/lib/clang/include/lldb/Version/Version.inc +++ b/lib/clang/include/lldb/Version/Version.inc @@ -1,6 +1,6 @@ -#define LLDB_VERSION 17.0.6 -#define LLDB_VERSION_STRING "17.0.6" -#define LLDB_VERSION_MAJOR 17 +#define LLDB_VERSION 18.0.0git +#define LLDB_VERSION_STRING "18.0.0git" +#define LLDB_VERSION_MAJOR 18 #define LLDB_VERSION_MINOR 0 -#define LLDB_VERSION_PATCH 6 +#define LLDB_VERSION_PATCH 0 /* #undef LLDB_FULL_VERSION_STRING */ diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h index 9bc4e93a2511..fdc104e49231 100644 --- a/lib/clang/include/llvm/Config/config.h +++ b/lib/clang/include/llvm/Config/config.h @@ -344,10 +344,10 @@ #define PACKAGE_NAME "LLVM" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "LLVM 17.0.6" +#define PACKAGE_STRING "LLVM 18.0.0git" /* Define to the version of this package. */ -#define PACKAGE_VERSION "17.0.6" +#define PACKAGE_VERSION "18.0.0git" /* Define to the vendor of this package. */ /* #undef PACKAGE_VENDOR */ diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h index dfbeb0250027..f3555d0868e2 100644 --- a/lib/clang/include/llvm/Config/llvm-config.h +++ b/lib/clang/include/llvm/Config/llvm-config.h @@ -54,6 +54,113 @@ /* LLVM name for the native target MCA init function, if available */ /* #undef LLVM_NATIVE_TARGETMCA */ +/* Define if the AArch64 target is built in */ +#ifdef LLVM_TARGET_ENABLE_AARCH64 +#define LLVM_HAS_AARCH64_TARGET 1 +#else +#define LLVM_HAS_AARCH64_TARGET 0 +#endif + +/* Define if the AMDGPU target is built in */ +#define LLVM_HAS_AMDGPU_TARGET 0 + +/* Define if the ARC target is built in */ +#define LLVM_HAS_ARC_TARGET 0 + +/* Define if the ARM target is built in */ +#ifdef LLVM_TARGET_ENABLE_ARM +#define LLVM_HAS_ARM_TARGET 1 +#else +#define LLVM_HAS_ARM_TARGET 0 +#endif + +/* Define if the AVR target is built in */ +#define LLVM_HAS_AVR_TARGET 0 + +/* Define if the BPF target is built in */ +#ifdef LLVM_TARGET_ENABLE_BPF +#define LLVM_HAS_BPF_TARGET 1 +#else +#define LLVM_HAS_BPF_TARGET 0 +#endif + +/* Define if the CSKY target is built in */ +#define LLVM_HAS_CSKY_TARGET 0 + +/* Define if the DirectX target is built in */ +#define LLVM_HAS_DIRECTX_TARGET 0 + +/* Define if the Hexagon target is built in */ +#define LLVM_HAS_HEXAGON_TARGET 0 + +/* Define if the Lanai target is built in */ +#define LLVM_HAS_LANAI_TARGET 0 + +/* Define if the LoongArch target is built in */ +#define LLVM_HAS_LOONGARCH_TARGET 0 + +/* Define if the M68k target is built in */ +#define LLVM_HAS_M68K_TARGET 0 + +/* Define if the Mips target is built in */ +#ifdef LLVM_TARGET_ENABLE_MIPS +#define LLVM_HAS_MIPS_TARGET 1 +#else +#define LLVM_HAS_MIPS_TARGET 0 +#endif + +/* Define if the MSP430 target is built in */ +#define LLVM_HAS_MSP430_TARGET 0 + +/* Define if the NVPTX target is built in */ +#define LLVM_HAS_NVPTX_TARGET 0 + +/* Define if the PowerPC target is built in */ +#ifdef LLVM_TARGET_ENABLE_POWERPC +#define LLVM_HAS_POWERPC_TARGET 1 +#else +#define LLVM_HAS_POWERPC_TARGET 0 +#endif + +/* Define if the RISCV target is built in */ +#ifdef LLVM_TARGET_ENABLE_RISCV +#define LLVM_HAS_RISCV_TARGET 1 +#else +#define LLVM_HAS_RISCV_TARGET 0 +#endif + +/* Define if the Sparc target is built in */ +#ifdef LLVM_TARGET_ENABLE_SPARC +#define LLVM_HAS_SPARC_TARGET 1 +#else +#define LLVM_HAS_SPARC_TARGET 0 +#endif + +/* Define if the SPIRV target is built in */ +#define LLVM_HAS_SPIRV_TARGET 0 + +/* Define if the SystemZ target is built in */ +#define LLVM_HAS_SYSTEMZ_TARGET 0 + +/* Define if the VE target is built in */ +#define LLVM_HAS_VE_TARGET 0 + +/* Define if the WebAssembly target is built in */ +#define LLVM_HAS_WEBASSEMBLY_TARGET 0 + +/* Define if the X86 target is built in */ +#ifdef LLVM_TARGET_ENABLE_X86 +#define LLVM_HAS_X86_TARGET 1 +#else +#define LLVM_HAS_X86_TARGET 0 +#endif + +/* Define if the XCore target is built in */ +#define LLVM_HAS_XCORE_TARGET 0 + +/* Define if the Xtensa target is built in */ +#define LLVM_HAS_XTENSA_TARGET 0 + /* Define if this is Unixish platform */ #define LLVM_ON_UNIX 1 @@ -67,16 +174,16 @@ #define LLVM_USE_PERF 0 /* Major version of the LLVM API */ -#define LLVM_VERSION_MAJOR 17 +#define LLVM_VERSION_MAJOR 18 /* Minor version of the LLVM API */ #define LLVM_VERSION_MINOR 0 /* Patch version of the LLVM API */ -#define LLVM_VERSION_PATCH 6 +#define LLVM_VERSION_PATCH 0 /* LLVM version string */ -#define LLVM_VERSION_STRING "17.0.6" +#define LLVM_VERSION_STRING "18.0.0git" /* Whether LLVM records statistics for use with GetStatistics(), * PrintStatistics() or PrintStatisticsJSON() @@ -98,17 +205,12 @@ /* Define if zstd compression is available */ #define LLVM_ENABLE_ZSTD 1 -/* Define if LLVM is using tflite instead of libtensorflow */ +/* Define if LLVM is using tflite */ /* #undef LLVM_HAVE_TFLITE */ /* Define to 1 if you have the <sysexits.h> header file. */ #define HAVE_SYSEXITS_H 1 -/* Define if the xar_open() function is supported on this platform. */ -#if defined(__APPLE__) -#define LLVM_HAVE_LIBXAR 1 -#endif - /* Define if building libLLVM shared library */ /* #undef LLVM_BUILD_LLVM_DYLIB */ diff --git a/lib/clang/include/llvm/Support/VCSRevision.h b/lib/clang/include/llvm/Support/VCSRevision.h index 8683d5c6aca1..30e40e13a2d8 100644 --- a/lib/clang/include/llvm/Support/VCSRevision.h +++ b/lib/clang/include/llvm/Support/VCSRevision.h @@ -1,2 +1,2 @@ -#define LLVM_REVISION "llvmorg-17.0.6-0-g6009708b4367" +#define LLVM_REVISION "llvmorg-18-init-15088-gd14ee76181fb" #define LLVM_REPOSITORY "https://github.com/llvm/llvm-project.git" diff --git a/lib/clang/libclang/Makefile b/lib/clang/libclang/Makefile index 8d911905808d..7b82f6cc9f3a 100644 --- a/lib/clang/libclang/Makefile +++ b/lib/clang/libclang/Makefile @@ -26,6 +26,10 @@ SRCDIR= clang/lib # SRCS_FUL: required for MK_CLANG_FULL # SRCS_LDB: required for MK_LLDB +SRCS_MIN+= APINotes/APINotesManager.cpp +SRCS_MIN+= APINotes/APINotesReader.cpp +SRCS_MIN+= APINotes/APINotesWriter.cpp +SRCS_MIN+= APINotes/APINotesYAMLCompiler.cpp SRCS_FUL+= ARCMigrate/ARCMT.cpp SRCS_FUL+= ARCMigrate/ARCMTActions.cpp SRCS_FUL+= ARCMigrate/FileRemapper.cpp @@ -94,8 +98,8 @@ SRCS_MIN+= AST/Interp/ByteCodeStmtGen.cpp SRCS_MIN+= AST/Interp/Context.cpp SRCS_MIN+= AST/Interp/Descriptor.cpp SRCS_MIN+= AST/Interp/EvalEmitter.cpp -SRCS_MIN+= AST/Interp/Frame.cpp SRCS_MIN+= AST/Interp/Floating.cpp +SRCS_MIN+= AST/Interp/Frame.cpp SRCS_MIN+= AST/Interp/Function.cpp SRCS_MIN+= AST/Interp/Interp.cpp SRCS_MIN+= AST/Interp/InterpBlock.cpp @@ -161,8 +165,8 @@ SRCS_MIN+= Analysis/CalledOnceCheck.cpp SRCS_MIN+= Analysis/CloneDetection.cpp SRCS_MIN+= Analysis/CocoaConventions.cpp SRCS_FUL+= Analysis/CodeInjector.cpp -SRCS_MIN+= Analysis/Consumed.cpp SRCS_MIN+= Analysis/ConstructionContext.cpp +SRCS_MIN+= Analysis/Consumed.cpp SRCS_FUL+= Analysis/Dominators.cpp SRCS_MIN+= Analysis/ExprMutationAnalyzer.cpp SRCS_FUL+= Analysis/IssueHash.cpp @@ -210,6 +214,7 @@ SRCS_MIN+= Basic/Sanitizers.cpp SRCS_MIN+= Basic/Sarif.cpp SRCS_MIN+= Basic/SourceLocation.cpp SRCS_MIN+= Basic/SourceManager.cpp +SRCS_MIN+= Basic/SourceMgrAdapter.cpp SRCS_MIN+= Basic/Stack.cpp SRCS_MIN+= Basic/TargetID.cpp SRCS_MIN+= Basic/TargetInfo.cpp @@ -227,8 +232,8 @@ SRCS_MIN+= Basic/Targets/Lanai.cpp SRCS_MIN+= Basic/Targets/Le64.cpp SRCS_MIN+= Basic/Targets/LoongArch.cpp SRCS_MIN+= Basic/Targets/M68k.cpp -SRCS_MIN+= Basic/Targets/Mips.cpp SRCS_MIN+= Basic/Targets/MSP430.cpp +SRCS_MIN+= Basic/Targets/Mips.cpp SRCS_MIN+= Basic/Targets/NVPTX.cpp SRCS_MIN+= Basic/Targets/OSTargets.cpp SRCS_MIN+= Basic/Targets/PNaCl.cpp @@ -297,6 +302,7 @@ SRCS_MIN+= CodeGen/CodeGenTypes.cpp SRCS_MIN+= CodeGen/ConstantInitBuilder.cpp SRCS_MIN+= CodeGen/CoverageMappingGen.cpp SRCS_MIN+= CodeGen/ItaniumCXXABI.cpp +SRCS_MIN+= CodeGen/LinkInModulesPass.cpp SRCS_MIN+= CodeGen/MacroPPCallbacks.cpp SRCS_MIN+= CodeGen/MicrosoftCXXABI.cpp SRCS_MIN+= CodeGen/ModuleBuilder.cpp @@ -349,7 +355,6 @@ SRCS_MIN+= Driver/ToolChains/AIX.cpp SRCS_MIN+= Driver/ToolChains/AMDGPU.cpp SRCS_MIN+= Driver/ToolChains/AMDGPUOpenMP.cpp SRCS_MIN+= Driver/ToolChains/AVR.cpp -SRCS_MIN+= Driver/ToolChains/Ananas.cpp SRCS_MIN+= Driver/ToolChains/Arch/AArch64.cpp SRCS_MIN+= Driver/ToolChains/Arch/ARM.cpp SRCS_MIN+= Driver/ToolChains/Arch/CSKY.cpp @@ -365,9 +370,7 @@ SRCS_MIN+= Driver/ToolChains/Arch/X86.cpp SRCS_MIN+= Driver/ToolChains/BareMetal.cpp SRCS_MIN+= Driver/ToolChains/CSKYToolChain.cpp SRCS_MIN+= Driver/ToolChains/Clang.cpp -SRCS_MIN+= Driver/ToolChains/CloudABI.cpp SRCS_MIN+= Driver/ToolChains/CommonArgs.cpp -SRCS_MIN+= Driver/ToolChains/Contiki.cpp SRCS_MIN+= Driver/ToolChains/CrossWindows.cpp SRCS_MIN+= Driver/ToolChains/Cuda.cpp SRCS_MIN+= Driver/ToolChains/Darwin.cpp @@ -388,9 +391,7 @@ SRCS_MIN+= Driver/ToolChains/Linux.cpp SRCS_MIN+= Driver/ToolChains/MSP430.cpp SRCS_MIN+= Driver/ToolChains/MSVC.cpp SRCS_MIN+= Driver/ToolChains/MinGW.cpp -SRCS_MIN+= Driver/ToolChains/Minix.cpp SRCS_MIN+= Driver/ToolChains/MipsLinux.cpp -SRCS_MIN+= Driver/ToolChains/Myriad.cpp SRCS_MIN+= Driver/ToolChains/NaCl.cpp SRCS_MIN+= Driver/ToolChains/NetBSD.cpp SRCS_MIN+= Driver/ToolChains/OHOS.cpp @@ -429,6 +430,7 @@ SRCS_EXT+= Format/IntegerLiteralSeparatorFixer.cpp SRCS_EXT+= Format/MacroCallReconstructor.cpp SRCS_EXT+= Format/MacroExpander.cpp SRCS_EXT+= Format/NamespaceEndCommentsFixer.cpp +SRCS_EXT+= Format/ObjCPropertyAttributeOrderFixer.cpp SRCS_EXT+= Format/QualifierAlignmentFixer.cpp SRCS_EXT+= Format/SortJavaScriptImports.cpp SRCS_EXT+= Format/TokenAnalyzer.cpp @@ -485,9 +487,9 @@ SRCS_MIN+= Index/IndexingAction.cpp SRCS_MIN+= Index/IndexingContext.cpp SRCS_MIN+= Index/USRGeneration.cpp SRCS_MIN+= Lex/DependencyDirectivesScanner.cpp -SRCS_MIN+= Lex/InitHeaderSearch.cpp SRCS_MIN+= Lex/HeaderMap.cpp SRCS_MIN+= Lex/HeaderSearch.cpp +SRCS_MIN+= Lex/InitHeaderSearch.cpp SRCS_MIN+= Lex/Lexer.cpp SRCS_MIN+= Lex/LiteralSupport.cpp SRCS_MIN+= Lex/MacroArgs.cpp @@ -516,6 +518,7 @@ SRCS_MIN+= Parse/ParseExprCXX.cpp SRCS_MIN+= Parse/ParseHLSL.cpp SRCS_MIN+= Parse/ParseInit.cpp SRCS_MIN+= Parse/ParseObjc.cpp +SRCS_MIN+= Parse/ParseOpenACC.cpp SRCS_MIN+= Parse/ParseOpenMP.cpp SRCS_MIN+= Parse/ParsePragma.cpp SRCS_MIN+= Parse/ParseStmt.cpp @@ -601,12 +604,13 @@ SRCS_FUL+= StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ArrayBoundChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp SRCS_FUL+= StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/BitwiseShiftChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp -SRCS_FUL+= StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/CStringChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/CXXDeleteChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/CXXSelfAssignmentChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/CallAndMessageChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/CastSizeChecker.cpp @@ -625,7 +629,6 @@ SRCS_FUL+= StaticAnalyzer/Checkers/DeadStoresChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DebugCheckers.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DebugContainerModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DebugIteratorModeling.cpp -SRCS_FUL+= StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DereferenceChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DirectIvarAssignment.cpp SRCS_FUL+= StaticAnalyzer/Checkers/DivZeroChecker.cpp @@ -638,6 +641,7 @@ SRCS_FUL+= StaticAnalyzer/Checkers/ErrnoTesterChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ExprInspectionChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/FixedAddressChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/FuchsiaHandleChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/GTestChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/GenericTaintChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/IdenticalExprChecker.cpp @@ -696,6 +700,7 @@ SRCS_FUL+= StaticAnalyzer/Checkers/SmartPtrChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/SmartPtrModeling.cpp SRCS_FUL+= StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/StdVariantChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/StreamChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/StringChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/Taint.cpp @@ -718,7 +723,6 @@ SRCS_FUL+= StaticAnalyzer/Checkers/VLASizeChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/ValistChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/VforkChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/VirtualCallChecker.cpp -SRCS_FUL+= StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/ASTUtils.cpp SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/NoUncountedMembersChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp @@ -727,6 +731,7 @@ SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/UncountedCallArgsChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/WebKit/UncountedLocalVarsChecker.cpp SRCS_FUL+= StaticAnalyzer/Checkers/cert/InvalidPtrChecker.cpp +SRCS_FUL+= StaticAnalyzer/Checkers/cert/PutenvWithAutoChecker.cpp SRCS_FUL+= StaticAnalyzer/Core/APSIntType.cpp SRCS_FUL+= StaticAnalyzer/Core/AnalysisManager.cpp SRCS_FUL+= StaticAnalyzer/Core/AnalyzerOptions.cpp @@ -734,6 +739,7 @@ SRCS_FUL+= StaticAnalyzer/Core/BasicValueFactory.cpp SRCS_FUL+= StaticAnalyzer/Core/BlockCounter.cpp SRCS_FUL+= StaticAnalyzer/Core/BugReporter.cpp SRCS_FUL+= StaticAnalyzer/Core/BugReporterVisitors.cpp +SRCS_FUL+= StaticAnalyzer/Core/BugSuppression.cpp SRCS_FUL+= StaticAnalyzer/Core/CallDescription.cpp SRCS_FUL+= StaticAnalyzer/Core/CallEvent.cpp SRCS_FUL+= StaticAnalyzer/Core/Checker.cpp @@ -935,6 +941,18 @@ clang/Basic/AttrHasAttributeImpl.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td ${CLANG_SRCS}/include/clang/Basic/Attr.td TGHDRS+= clang/Basic/AttrHasAttributeImpl.inc +clang/Basic/AttrLeftSideCanPrintList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${CLANG_TBLGEN} -gen-clang-attr-can-print-left-list \ + -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \ + ${CLANG_SRCS}/include/clang/Basic/Attr.td +TGHDRS+= clang/Basic/AttrLeftSideCanPrintList.inc + +clang/Basic/AttrLeftSideMustPrintList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td + ${CLANG_TBLGEN} -gen-clang-attr-must-print-left-list \ + -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \ + ${CLANG_SRCS}/include/clang/Basic/Attr.td +TGHDRS+= clang/Basic/AttrLeftSideMustPrintList.inc + clang/Basic/AttrList.inc: ${CLANG_SRCS}/include/clang/Basic/Attr.td ${CLANG_TBLGEN} -gen-clang-attr-list \ -I ${CLANG_SRCS}/include -d ${.TARGET:C/$/.d/} -o ${.TARGET} \ diff --git a/lib/clang/liblldb/LLDBWrapLua.cpp b/lib/clang/liblldb/LLDBWrapLua.cpp index 762bd18ff0ad..0e4b4a448ef2 100644 --- a/lib/clang/liblldb/LLDBWrapLua.cpp +++ b/lib/clang/liblldb/LLDBWrapLua.cpp @@ -2721,216 +2721,222 @@ SWIG_Lua_dostring(lua_State *L, const char *str) { #define SWIGTYPE_p_lldb__SBFile swig_types[30] #define SWIGTYPE_p_lldb__SBFileSpec swig_types[31] #define SWIGTYPE_p_lldb__SBFileSpecList swig_types[32] -#define SWIGTYPE_p_lldb__SBFrame swig_types[33] -#define SWIGTYPE_p_lldb__SBFunction swig_types[34] -#define SWIGTYPE_p_lldb__SBHostOS swig_types[35] -#define SWIGTYPE_p_lldb__SBInstruction swig_types[36] -#define SWIGTYPE_p_lldb__SBInstructionList swig_types[37] -#define SWIGTYPE_p_lldb__SBLanguageRuntime swig_types[38] -#define SWIGTYPE_p_lldb__SBLaunchInfo swig_types[39] -#define SWIGTYPE_p_lldb__SBLineEntry swig_types[40] -#define SWIGTYPE_p_lldb__SBListener swig_types[41] -#define SWIGTYPE_p_lldb__SBMemoryRegionInfo swig_types[42] -#define SWIGTYPE_p_lldb__SBMemoryRegionInfoList swig_types[43] -#define SWIGTYPE_p_lldb__SBModule swig_types[44] -#define SWIGTYPE_p_lldb__SBModuleSpec swig_types[45] -#define SWIGTYPE_p_lldb__SBModuleSpecList swig_types[46] -#define SWIGTYPE_p_lldb__SBPlatform swig_types[47] -#define SWIGTYPE_p_lldb__SBPlatformConnectOptions swig_types[48] -#define SWIGTYPE_p_lldb__SBPlatformShellCommand swig_types[49] -#define SWIGTYPE_p_lldb__SBProcess swig_types[50] -#define SWIGTYPE_p_lldb__SBProcessInfo swig_types[51] -#define SWIGTYPE_p_lldb__SBQueue swig_types[52] -#define SWIGTYPE_p_lldb__SBQueueItem swig_types[53] -#define SWIGTYPE_p_lldb__SBReproducer swig_types[54] -#define SWIGTYPE_p_lldb__SBScriptObject swig_types[55] -#define SWIGTYPE_p_lldb__SBSection swig_types[56] -#define SWIGTYPE_p_lldb__SBSourceManager swig_types[57] -#define SWIGTYPE_p_lldb__SBStream swig_types[58] -#define SWIGTYPE_p_lldb__SBStringList swig_types[59] -#define SWIGTYPE_p_lldb__SBStructuredData swig_types[60] -#define SWIGTYPE_p_lldb__SBSymbol swig_types[61] -#define SWIGTYPE_p_lldb__SBSymbolContext swig_types[62] -#define SWIGTYPE_p_lldb__SBSymbolContextList swig_types[63] -#define SWIGTYPE_p_lldb__SBTarget swig_types[64] -#define SWIGTYPE_p_lldb__SBThread swig_types[65] -#define SWIGTYPE_p_lldb__SBThreadCollection swig_types[66] -#define SWIGTYPE_p_lldb__SBThreadPlan swig_types[67] -#define SWIGTYPE_p_lldb__SBTrace swig_types[68] -#define SWIGTYPE_p_lldb__SBTraceCursor swig_types[69] -#define SWIGTYPE_p_lldb__SBType swig_types[70] -#define SWIGTYPE_p_lldb__SBTypeCategory swig_types[71] -#define SWIGTYPE_p_lldb__SBTypeEnumMember swig_types[72] -#define SWIGTYPE_p_lldb__SBTypeEnumMemberList swig_types[73] -#define SWIGTYPE_p_lldb__SBTypeFilter swig_types[74] -#define SWIGTYPE_p_lldb__SBTypeFormat swig_types[75] -#define SWIGTYPE_p_lldb__SBTypeList swig_types[76] -#define SWIGTYPE_p_lldb__SBTypeMember swig_types[77] -#define SWIGTYPE_p_lldb__SBTypeMemberFunction swig_types[78] -#define SWIGTYPE_p_lldb__SBTypeNameSpecifier swig_types[79] -#define SWIGTYPE_p_lldb__SBTypeSummary swig_types[80] -#define SWIGTYPE_p_lldb__SBTypeSummaryOptions swig_types[81] -#define SWIGTYPE_p_lldb__SBTypeSynthetic swig_types[82] -#define SWIGTYPE_p_lldb__SBUnixSignals swig_types[83] -#define SWIGTYPE_p_lldb__SBValue swig_types[84] -#define SWIGTYPE_p_lldb__SBValueList swig_types[85] -#define SWIGTYPE_p_lldb__SBVariablesOptions swig_types[86] -#define SWIGTYPE_p_lldb__SBWatchpoint swig_types[87] -#define SWIGTYPE_p_long_double swig_types[88] -#define SWIGTYPE_p_long_long swig_types[89] -#define SWIGTYPE_p_p_void swig_types[90] -#define SWIGTYPE_p_pthread_rwlock_t swig_types[91] -#define SWIGTYPE_p_pthread_t swig_types[92] -#define SWIGTYPE_p_short swig_types[93] -#define SWIGTYPE_p_signed_char swig_types[94] -#define SWIGTYPE_p_size_t swig_types[95] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ABI_t swig_types[96] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Baton_t swig_types[97] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Block_t swig_types[98] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointLocation_t swig_types[99] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t swig_types[100] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointResolver_t swig_types[101] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointSite_t swig_types[102] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Breakpoint_t swig_types[103] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BroadcasterManager_t swig_types[104] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Broadcaster_t swig_types[105] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__CommandObject_t swig_types[106] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__CompileUnit_t swig_types[107] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Connection_t swig_types[108] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataBuffer_t swig_types[109] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataExtractor_t swig_types[110] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Debugger_t swig_types[111] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Disassembler_t swig_types[112] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventDataStructuredData_t swig_types[113] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventData_t swig_types[114] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Event_t swig_types[115] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExecutionContextRef_t swig_types[116] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExpressionVariable_t swig_types[117] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t swig_types[118] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__FuncUnwinders_t swig_types[119] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Function_t swig_types[120] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOHandler_t swig_types[121] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOObject_t swig_types[122] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IRExecutionUnit_t swig_types[123] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t swig_types[124] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Instruction_t swig_types[125] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t swig_types[126] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__JITLoader_t swig_types[127] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__LanguageRuntime_t swig_types[128] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Listener_t swig_types[129] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__MemoryHistory_t swig_types[130] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t swig_types[131] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Module_t swig_types[132] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectContainer_t swig_types[133] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[134] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFile_t swig_types[135] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueProperties_t swig_types[136] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValue_t swig_types[137] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Platform_t swig_types[138] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t swig_types[139] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t swig_types[140] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Process_t swig_types[141] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t swig_types[142] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Queue_t swig_types[143] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__REPL_t swig_types[144] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t swig_types[145] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t swig_types[146] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterContext_t swig_types[147] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterTypeBuilder_t swig_types[148] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegularExpression_t swig_types[149] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptInterpreter_t swig_types[150] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t swig_types[151] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedMetadata_t swig_types[152] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t swig_types[153] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t swig_types[154] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SearchFilter_t swig_types[155] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SectionLoadList_t swig_types[156] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Section_t swig_types[157] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameList_t swig_types[158] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t swig_types[159] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrame_t swig_types[160] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StopInfo_t swig_types[161] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StreamFile_t swig_types[162] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Stream_t swig_types[163] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StringSummaryFormat_t swig_types[164] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t swig_types[165] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t swig_types[166] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolFileType_t swig_types[167] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t swig_types[168] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildren_t swig_types[169] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Target_t swig_types[170] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadCollection_t swig_types[171] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t swig_types[172] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlan_t swig_types[173] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t swig_types[174] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Thread_t swig_types[175] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TraceCursor_t swig_types[176] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Trace_t swig_types[177] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t swig_types[178] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t swig_types[179] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFilterImpl_t swig_types[180] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFormatImpl_t swig_types[181] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeImpl_t swig_types[182] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t swig_types[183] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t swig_types[184] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t swig_types[185] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t swig_types[186] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSystemClang_t swig_types[187] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSystem_t swig_types[188] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Type_t swig_types[189] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnixSignals_t swig_types[190] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindAssembly_t swig_types[191] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindPlan_t swig_types[192] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UserExpression_t swig_types[193] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObjectList_t swig_types[194] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObject_t swig_types[195] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Value_t swig_types[196] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__VariableList_t swig_types[197] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Variable_t swig_types[198] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Watchpoint_t swig_types[199] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__WritableDataBuffer_t swig_types[200] -#define SWIGTYPE_p_std__string swig_types[201] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t swig_types[202] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicLoader_t swig_types[203] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__File_t swig_types[204] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__JITLoaderList_t swig_types[205] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t swig_types[206] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__OperatingSystem_t swig_types[207] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t swig_types[208] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t swig_types[209] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SectionList_t swig_types[210] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SourceManager_t swig_types[211] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t swig_types[212] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t swig_types[213] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SymbolVendor_t swig_types[214] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SystemRuntime_t swig_types[215] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__TraceExporter_t swig_types[216] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointLocation_t swig_types[217] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Breakpoint_t swig_types[218] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BroadcasterManager_t swig_types[219] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Debugger_t swig_types[220] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Listener_t swig_types[221] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Module_t swig_types[222] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[223] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__OptionValue_t swig_types[224] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Process_t swig_types[225] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Queue_t swig_types[226] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Section_t swig_types[227] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StackFrame_t swig_types[228] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t swig_types[229] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Target_t swig_types[230] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ThreadPlan_t swig_types[231] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Thread_t swig_types[232] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__TypeSystem_t swig_types[233] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Type_t swig_types[234] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__UnixSignals_t swig_types[235] -#define SWIGTYPE_p_unsigned_char swig_types[236] -#define SWIGTYPE_p_unsigned_int swig_types[237] -#define SWIGTYPE_p_unsigned_long_long swig_types[238] -#define SWIGTYPE_p_unsigned_short swig_types[239] -#define SWIGTYPE_p_void swig_types[240] -static swig_type_info *swig_types[242]; -static swig_module_info swig_module = {swig_types, 241, 0, 0, 0, 0}; +#define SWIGTYPE_p_lldb__SBFormat swig_types[33] +#define SWIGTYPE_p_lldb__SBFrame swig_types[34] +#define SWIGTYPE_p_lldb__SBFunction swig_types[35] +#define SWIGTYPE_p_lldb__SBHostOS swig_types[36] +#define SWIGTYPE_p_lldb__SBInstruction swig_types[37] +#define SWIGTYPE_p_lldb__SBInstructionList swig_types[38] +#define SWIGTYPE_p_lldb__SBLanguageRuntime swig_types[39] +#define SWIGTYPE_p_lldb__SBLaunchInfo swig_types[40] +#define SWIGTYPE_p_lldb__SBLineEntry swig_types[41] +#define SWIGTYPE_p_lldb__SBListener swig_types[42] +#define SWIGTYPE_p_lldb__SBMemoryRegionInfo swig_types[43] +#define SWIGTYPE_p_lldb__SBMemoryRegionInfoList swig_types[44] +#define SWIGTYPE_p_lldb__SBModule swig_types[45] +#define SWIGTYPE_p_lldb__SBModuleSpec swig_types[46] +#define SWIGTYPE_p_lldb__SBModuleSpecList swig_types[47] +#define SWIGTYPE_p_lldb__SBPlatform swig_types[48] +#define SWIGTYPE_p_lldb__SBPlatformConnectOptions swig_types[49] +#define SWIGTYPE_p_lldb__SBPlatformShellCommand swig_types[50] +#define SWIGTYPE_p_lldb__SBProcess swig_types[51] +#define SWIGTYPE_p_lldb__SBProcessInfo swig_types[52] +#define SWIGTYPE_p_lldb__SBProcessInfoList swig_types[53] +#define SWIGTYPE_p_lldb__SBQueue swig_types[54] +#define SWIGTYPE_p_lldb__SBQueueItem swig_types[55] +#define SWIGTYPE_p_lldb__SBReproducer swig_types[56] +#define SWIGTYPE_p_lldb__SBScriptObject swig_types[57] +#define SWIGTYPE_p_lldb__SBSection swig_types[58] +#define SWIGTYPE_p_lldb__SBSourceManager swig_types[59] +#define SWIGTYPE_p_lldb__SBStream swig_types[60] +#define SWIGTYPE_p_lldb__SBStringList swig_types[61] +#define SWIGTYPE_p_lldb__SBStructuredData swig_types[62] +#define SWIGTYPE_p_lldb__SBSymbol swig_types[63] +#define SWIGTYPE_p_lldb__SBSymbolContext swig_types[64] +#define SWIGTYPE_p_lldb__SBSymbolContextList swig_types[65] +#define SWIGTYPE_p_lldb__SBTarget swig_types[66] +#define SWIGTYPE_p_lldb__SBThread swig_types[67] +#define SWIGTYPE_p_lldb__SBThreadCollection swig_types[68] +#define SWIGTYPE_p_lldb__SBThreadPlan swig_types[69] +#define SWIGTYPE_p_lldb__SBTrace swig_types[70] +#define SWIGTYPE_p_lldb__SBTraceCursor swig_types[71] +#define SWIGTYPE_p_lldb__SBType swig_types[72] +#define SWIGTYPE_p_lldb__SBTypeCategory swig_types[73] +#define SWIGTYPE_p_lldb__SBTypeEnumMember swig_types[74] +#define SWIGTYPE_p_lldb__SBTypeEnumMemberList swig_types[75] +#define SWIGTYPE_p_lldb__SBTypeFilter swig_types[76] +#define SWIGTYPE_p_lldb__SBTypeFormat swig_types[77] +#define SWIGTYPE_p_lldb__SBTypeList swig_types[78] +#define SWIGTYPE_p_lldb__SBTypeMember swig_types[79] +#define SWIGTYPE_p_lldb__SBTypeMemberFunction swig_types[80] +#define SWIGTYPE_p_lldb__SBTypeNameSpecifier swig_types[81] +#define SWIGTYPE_p_lldb__SBTypeSummary swig_types[82] +#define SWIGTYPE_p_lldb__SBTypeSummaryOptions swig_types[83] +#define SWIGTYPE_p_lldb__SBTypeSynthetic swig_types[84] +#define SWIGTYPE_p_lldb__SBUnixSignals swig_types[85] +#define SWIGTYPE_p_lldb__SBValue swig_types[86] +#define SWIGTYPE_p_lldb__SBValueList swig_types[87] +#define SWIGTYPE_p_lldb__SBVariablesOptions swig_types[88] +#define SWIGTYPE_p_lldb__SBWatchpoint swig_types[89] +#define SWIGTYPE_p_lldb__SBWatchpointOptions swig_types[90] +#define SWIGTYPE_p_long_double swig_types[91] +#define SWIGTYPE_p_long_long swig_types[92] +#define SWIGTYPE_p_p_void swig_types[93] +#define SWIGTYPE_p_pthread_rwlock_t swig_types[94] +#define SWIGTYPE_p_pthread_t swig_types[95] +#define SWIGTYPE_p_short swig_types[96] +#define SWIGTYPE_p_signed_char swig_types[97] +#define SWIGTYPE_p_size_t swig_types[98] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ABI_t swig_types[99] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Baton_t swig_types[100] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Block_t swig_types[101] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointLocation_t swig_types[102] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t swig_types[103] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointResolver_t swig_types[104] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointSite_t swig_types[105] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Breakpoint_t swig_types[106] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BroadcasterManager_t swig_types[107] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Broadcaster_t swig_types[108] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__CommandObject_t swig_types[109] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__CompileUnit_t swig_types[110] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Connection_t swig_types[111] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataBuffer_t swig_types[112] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataExtractor_t swig_types[113] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Debugger_t swig_types[114] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Disassembler_t swig_types[115] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventDataStructuredData_t swig_types[116] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventData_t swig_types[117] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Event_t swig_types[118] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExecutionContextRef_t swig_types[119] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExpressionVariable_t swig_types[120] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t swig_types[121] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t swig_types[122] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__FuncUnwinders_t swig_types[123] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Function_t swig_types[124] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOHandler_t swig_types[125] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOObject_t swig_types[126] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IRExecutionUnit_t swig_types[127] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t swig_types[128] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Instruction_t swig_types[129] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t swig_types[130] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__JITLoader_t swig_types[131] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__LanguageRuntime_t swig_types[132] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Listener_t swig_types[133] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__MemoryHistory_t swig_types[134] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t swig_types[135] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Module_t swig_types[136] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectContainer_t swig_types[137] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[138] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFile_t swig_types[139] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t swig_types[140] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueProperties_t swig_types[141] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValue_t swig_types[142] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Platform_t swig_types[143] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t swig_types[144] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t swig_types[145] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Process_t swig_types[146] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t swig_types[147] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Queue_t swig_types[148] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__REPL_t swig_types[149] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t swig_types[150] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t swig_types[151] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterContext_t swig_types[152] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterTypeBuilder_t swig_types[153] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegularExpression_t swig_types[154] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptInterpreter_t swig_types[155] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t swig_types[156] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedMetadata_t swig_types[157] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t swig_types[158] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t swig_types[159] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SearchFilter_t swig_types[160] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SectionLoadList_t swig_types[161] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Section_t swig_types[162] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameList_t swig_types[163] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t swig_types[164] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrame_t swig_types[165] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StopInfo_t swig_types[166] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StreamFile_t swig_types[167] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Stream_t swig_types[168] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StringSummaryFormat_t swig_types[169] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t swig_types[170] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t swig_types[171] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolFileType_t swig_types[172] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t swig_types[173] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildren_t swig_types[174] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Target_t swig_types[175] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadCollection_t swig_types[176] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t swig_types[177] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlan_t swig_types[178] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t swig_types[179] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Thread_t swig_types[180] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TraceCursor_t swig_types[181] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Trace_t swig_types[182] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t swig_types[183] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t swig_types[184] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFilterImpl_t swig_types[185] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFormatImpl_t swig_types[186] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeImpl_t swig_types[187] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t swig_types[188] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t swig_types[189] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t swig_types[190] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t swig_types[191] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSystemClang_t swig_types[192] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSystem_t swig_types[193] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Type_t swig_types[194] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnixSignals_t swig_types[195] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindAssembly_t swig_types[196] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindPlan_t swig_types[197] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UserExpression_t swig_types[198] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObjectList_t swig_types[199] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObject_t swig_types[200] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Value_t swig_types[201] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__VariableList_t swig_types[202] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Variable_t swig_types[203] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__WatchpointResource_t swig_types[204] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Watchpoint_t swig_types[205] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__WritableDataBuffer_t swig_types[206] +#define SWIGTYPE_p_std__string swig_types[207] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t swig_types[208] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicLoader_t swig_types[209] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__File_t swig_types[210] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__JITLoaderList_t swig_types[211] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t swig_types[212] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__OperatingSystem_t swig_types[213] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t swig_types[214] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t swig_types[215] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SectionList_t swig_types[216] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SourceManager_t swig_types[217] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t swig_types[218] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t swig_types[219] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SymbolVendor_t swig_types[220] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SystemRuntime_t swig_types[221] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__TraceExporter_t swig_types[222] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointLocation_t swig_types[223] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Breakpoint_t swig_types[224] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BroadcasterManager_t swig_types[225] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Debugger_t swig_types[226] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Listener_t swig_types[227] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Module_t swig_types[228] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[229] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__OptionValue_t swig_types[230] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Process_t swig_types[231] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Queue_t swig_types[232] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Section_t swig_types[233] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StackFrame_t swig_types[234] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t swig_types[235] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Target_t swig_types[236] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ThreadPlan_t swig_types[237] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Thread_t swig_types[238] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__TypeSystem_t swig_types[239] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Type_t swig_types[240] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__UnixSignals_t swig_types[241] +#define SWIGTYPE_p_unsigned_char swig_types[242] +#define SWIGTYPE_p_unsigned_int swig_types[243] +#define SWIGTYPE_p_unsigned_long_long swig_types[244] +#define SWIGTYPE_p_unsigned_short swig_types[245] +#define SWIGTYPE_p_void swig_types[246] +static swig_type_info *swig_types[248]; +static swig_module_info swig_module = {swig_types, 247, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -3191,6 +3197,7 @@ SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void **array,int size,swig_typ #include "lldb/API/SBFile.h" #include "lldb/API/SBFileSpec.h" #include "lldb/API/SBFileSpecList.h" +#include "lldb/API/SBFormat.h" #include "lldb/API/SBFrame.h" #include "lldb/API/SBFunction.h" #include "lldb/API/SBHostOS.h" @@ -3207,6 +3214,7 @@ SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void **array,int size,swig_typ #include "lldb/API/SBPlatform.h" #include "lldb/API/SBProcess.h" #include "lldb/API/SBProcessInfo.h" +#include "lldb/API/SBProcessInfoList.h" #include "lldb/API/SBQueue.h" #include "lldb/API/SBQueueItem.h" #include "lldb/API/SBReproducer.h" @@ -3224,6 +3232,7 @@ SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void **array,int size,swig_typ #include "lldb/API/SBThreadCollection.h" #include "lldb/API/SBThreadPlan.h" #include "lldb/API/SBTrace.h" +#include "lldb/API/SBTraceCursor.h" #include "lldb/API/SBType.h" #include "lldb/API/SBTypeCategory.h" #include "lldb/API/SBTypeEnumMember.h" @@ -3237,6 +3246,7 @@ SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void **array,int size,swig_typ #include "lldb/API/SBValueList.h" #include "lldb/API/SBVariablesOptions.h" #include "lldb/API/SBWatchpoint.h" +#include "lldb/API/SBWatchpointOptions.h" #include "llvm/Support/Error.h" @@ -3400,6 +3410,16 @@ SWIGINTERN std::string lldb_SBFileSpec___repr__(lldb::SBFileSpec *self){ } return std::string(desc, desc_len); } +SWIGINTERN std::string lldb_SBFileSpecList___repr__(lldb::SBFileSpecList *self){ + lldb::SBStream stream; + self->GetDescription (stream); + const char *desc = stream.GetData(); + size_t desc_len = stream.GetSize(); + if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { + --desc_len; + } + return std::string(desc, desc_len); + } SWIGINTERN std::string lldb_SBFrame___repr__(lldb::SBFrame *self){ lldb::SBStream stream; self->GetDescription (stream); @@ -3513,6 +3533,16 @@ SWIGINTERN std::string lldb_SBSection___repr__(lldb::SBSection *self){ SWIGINTERN void lldb_SBStream_RedirectToFileHandle(lldb::SBStream *self,lldb::FileSP file,bool transfer_fh_ownership){ self->RedirectToFile(file); } +SWIGINTERN std::string lldb_SBStructuredData___repr__(lldb::SBStructuredData *self){ + lldb::SBStream stream; + self->GetDescription (stream); + const char *desc = stream.GetData(); + size_t desc_len = stream.GetSize(); + if (desc_len > 0 && (desc[desc_len-1] == '\n' || desc[desc_len-1] == '\r')) { + --desc_len; + } + return std::string(desc, desc_len); + } SWIGINTERN std::string lldb_SBSymbol___repr__(lldb::SBSymbol *self){ lldb::SBStream stream; self->GetDescription (stream); @@ -11852,7 +11882,24 @@ static swig_lua_class *swig_SBBroadcaster_bases[] = {0}; static const char *swig_SBBroadcaster_base_names[] = {0}; static swig_lua_class _wrap_class_SBBroadcaster = { "SBBroadcaster", "SBBroadcaster", &SWIGTYPE_p_lldb__SBBroadcaster,_proxy__wrap_new_SBBroadcaster, swig_delete_SBBroadcaster, swig_SBBroadcaster_methods, swig_SBBroadcaster_attributes, &swig_SBBroadcaster_Sf_SwigStatic, swig_SBBroadcaster_meta, swig_SBBroadcaster_bases, swig_SBBroadcaster_base_names }; -static int _wrap_new_SBCommandInterpreter(lua_State* L) { +static int _wrap_new_SBCommandInterpreter__SWIG_0(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBCommandInterpreter *result = 0 ; + + SWIG_check_num_args("lldb::SBCommandInterpreter::SBCommandInterpreter",0,0) + result = (lldb::SBCommandInterpreter *)new lldb::SBCommandInterpreter(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandInterpreter,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_new_SBCommandInterpreter__SWIG_1(lua_State* L) { { int SWIG_arg = 0; lldb::SBCommandInterpreter *arg1 = 0 ; @@ -11876,6 +11923,39 @@ static int _wrap_new_SBCommandInterpreter(lua_State* L) { } +static int _wrap_new_SBCommandInterpreter(lua_State* L) { + int argc; + int argv[2]={ + 1,2 + }; + + argc = lua_gettop(L); + if (argc == 0) { + return _wrap_new_SBCommandInterpreter__SWIG_0(L); + } + if (argc == 1) { + int _v = 0; + { + void *ptr; + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBCommandInterpreter, SWIG_POINTER_NO_NULL)) { + _v = 0; + } else { + _v = 1; + } + } + if (_v) { + return _wrap_new_SBCommandInterpreter__SWIG_1(L); + } + } + + SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBCommandInterpreter'\n" + " Possible C/C++ prototypes are:\n" + " lldb::SBCommandInterpreter::SBCommandInterpreter()\n" + " lldb::SBCommandInterpreter::SBCommandInterpreter(lldb::SBCommandInterpreter const &)\n"); + lua_error(L);return 0; +} + + static int _wrap_SBCommandInterpreter_GetArgumentTypeAsCString(lua_State* L) { { int SWIG_arg = 0; @@ -19833,7 +19913,7 @@ static int _wrap_SBDebugger_GetCommandInterpreter(lua_State* L) { { int SWIG_arg = 0; lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; - SwigValueWrapper< lldb::SBCommandInterpreter > result; + lldb::SBCommandInterpreter result; SWIG_check_num_args("lldb::SBDebugger::GetCommandInterpreter",1,1) if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBDebugger::GetCommandInterpreter",1,"lldb::SBDebugger *"); @@ -28373,6 +28453,30 @@ static int _wrap_SBFileSpecList_GetFileSpecAtIndex(lua_State* L) { } +static int _wrap_SBFileSpecList___tostring(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBFileSpecList::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFileSpecList::__repr__",1,"lldb::SBFileSpecList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFileSpecList,0))){ + SWIG_fail_ptr("SBFileSpecList___tostring",1,SWIGTYPE_p_lldb__SBFileSpecList); + } + + result = lldb_SBFileSpecList___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + static void swig_delete_SBFileSpecList(void *obj) { lldb::SBFileSpecList *arg1 = (lldb::SBFileSpecList *) obj; delete arg1; @@ -28396,9 +28500,11 @@ static swig_lua_method swig_SBFileSpecList_methods[]= { { "Clear", _wrap_SBFileSpecList_Clear}, { "FindFileIndex", _wrap_SBFileSpecList_FindFileIndex}, { "GetFileSpecAtIndex", _wrap_SBFileSpecList_GetFileSpecAtIndex}, + { "__tostring", _wrap_SBFileSpecList___tostring}, {0,0} }; static swig_lua_method swig_SBFileSpecList_meta[] = { + { "__tostring", _wrap_SBFileSpecList___tostring}, {0,0} }; @@ -28427,6 +28533,174 @@ static swig_lua_class *swig_SBFileSpecList_bases[] = {0}; static const char *swig_SBFileSpecList_base_names[] = {0}; static swig_lua_class _wrap_class_SBFileSpecList = { "SBFileSpecList", "SBFileSpecList", &SWIGTYPE_p_lldb__SBFileSpecList,_proxy__wrap_new_SBFileSpecList, swig_delete_SBFileSpecList, swig_SBFileSpecList_methods, swig_SBFileSpecList_attributes, &swig_SBFileSpecList_Sf_SwigStatic, swig_SBFileSpecList_meta, swig_SBFileSpecList_bases, swig_SBFileSpecList_base_names }; +static int _wrap_new_SBFormat__SWIG_0(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBFormat *result = 0 ; + + SWIG_check_num_args("lldb::SBFormat::SBFormat",0,0) + result = (lldb::SBFormat *)new lldb::SBFormat(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFormat,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_new_SBFormat__SWIG_1(lua_State* L) { + { + int SWIG_arg = 0; + char *arg1 = (char *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::SBFormat *result = 0 ; + + SWIG_check_num_args("lldb::SBFormat::SBFormat",2,2) + if(!SWIG_lua_isnilstring(L,1)) SWIG_fail_arg("lldb::SBFormat::SBFormat",1,"char const *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFormat::SBFormat",2,"lldb::SBError &"); + arg1 = (char *)lua_tostring(L, 1); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("new_SBFormat",2,SWIGTYPE_p_lldb__SBError); + } + + result = (lldb::SBFormat *)new lldb::SBFormat((char const *)arg1,*arg2); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFormat,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_new_SBFormat__SWIG_2(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBFormat *arg1 = 0 ; + lldb::SBFormat *result = 0 ; + + SWIG_check_num_args("lldb::SBFormat::SBFormat",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBFormat::SBFormat",1,"lldb::SBFormat const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFormat,0))){ + SWIG_fail_ptr("new_SBFormat",1,SWIGTYPE_p_lldb__SBFormat); + } + + result = (lldb::SBFormat *)new lldb::SBFormat((lldb::SBFormat const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBFormat,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_new_SBFormat(lua_State* L) { + int argc; + int argv[3]={ + 1,2,3 + }; + + argc = lua_gettop(L); + if (argc == 0) { + return _wrap_new_SBFormat__SWIG_0(L); + } + if (argc == 1) { + int _v = 0; + { + void *ptr; + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBFormat, SWIG_POINTER_NO_NULL)) { + _v = 0; + } else { + _v = 1; + } + } + if (_v) { + return _wrap_new_SBFormat__SWIG_2(L); + } + } + if (argc == 2) { + int _v = 0; + { + _v = SWIG_lua_isnilstring(L,argv[0]); + } + if (_v) { + { + void *ptr; + if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBError, SWIG_POINTER_NO_NULL)) { + _v = 0; + } else { + _v = 1; + } + } + if (_v) { + return _wrap_new_SBFormat__SWIG_1(L); + } + } + } + + SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBFormat'\n" + " Possible C/C++ prototypes are:\n" + " lldb::SBFormat::SBFormat()\n" + " lldb::SBFormat::SBFormat(char const *,lldb::SBError &)\n" + " lldb::SBFormat::SBFormat(lldb::SBFormat const &)\n"); + lua_error(L);return 0; +} + + +static void swig_delete_SBFormat(void *obj) { +lldb::SBFormat *arg1 = (lldb::SBFormat *) obj; +delete arg1; +} +static int _proxy__wrap_new_SBFormat(lua_State *L) { + assert(lua_istable(L,1)); + lua_pushcfunction(L,_wrap_new_SBFormat); + assert(!lua_isnil(L,-1)); + lua_replace(L,1); /* replace our table with real constructor */ + lua_call(L,lua_gettop(L)-1,1); + return 1; +} +static swig_lua_attribute swig_SBFormat_attributes[] = { + {0,0,0} +}; +static swig_lua_method swig_SBFormat_methods[]= { + {0,0} +}; +static swig_lua_method swig_SBFormat_meta[] = { + {0,0} +}; + +static swig_lua_attribute swig_SBFormat_Sf_SwigStatic_attributes[] = { + {0,0,0} +}; +static swig_lua_const_info swig_SBFormat_Sf_SwigStatic_constants[]= { + {0,0,0,0,0,0} +}; +static swig_lua_method swig_SBFormat_Sf_SwigStatic_methods[]= { + {0,0} +}; +static swig_lua_class* swig_SBFormat_Sf_SwigStatic_classes[]= { + 0 +}; + +static swig_lua_namespace swig_SBFormat_Sf_SwigStatic = { + "SBFormat", + swig_SBFormat_Sf_SwigStatic_methods, + swig_SBFormat_Sf_SwigStatic_attributes, + swig_SBFormat_Sf_SwigStatic_constants, + swig_SBFormat_Sf_SwigStatic_classes, + 0 +}; +static swig_lua_class *swig_SBFormat_bases[] = {0}; +static const char *swig_SBFormat_base_names[] = {0}; +static swig_lua_class _wrap_class_SBFormat = { "SBFormat", "SBFormat", &SWIGTYPE_p_lldb__SBFormat,_proxy__wrap_new_SBFormat, swig_delete_SBFormat, swig_SBFormat_methods, swig_SBFormat_attributes, &swig_SBFormat_Sf_SwigStatic, swig_SBFormat_meta, swig_SBFormat_bases, swig_SBFormat_base_names }; + static int _wrap_new_SBFrame__SWIG_0(lua_State* L) { { int SWIG_arg = 0; @@ -30332,6 +30606,47 @@ static int _wrap_SBFrame_GetDescription(lua_State* L) { } +static int _wrap_SBFrame_GetDescriptionWithFormat(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + lldb::SBFormat *arg2 = 0 ; + lldb::SBStream *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBFrame::GetDescriptionWithFormat",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBFrame::GetDescriptionWithFormat",1,"lldb::SBFrame *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBFrame::GetDescriptionWithFormat",2,"lldb::SBFormat const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBFrame::GetDescriptionWithFormat",3,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBFrame,0))){ + SWIG_fail_ptr("SBFrame_GetDescriptionWithFormat",1,SWIGTYPE_p_lldb__SBFrame); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFormat,0))){ + SWIG_fail_ptr("SBFrame_GetDescriptionWithFormat",2,SWIGTYPE_p_lldb__SBFormat); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBFrame_GetDescriptionWithFormat",3,SWIGTYPE_p_lldb__SBStream); + } + + result = (arg1)->GetDescriptionWithFormat((lldb::SBFormat const &)*arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + static int _wrap_SBFrame___tostring(lua_State* L) { { int SWIG_arg = 0; @@ -30406,6 +30721,7 @@ static swig_lua_method swig_SBFrame_methods[]= { { "GetValueForVariablePath", _wrap_SBFrame_GetValueForVariablePath}, { "FindValue", _wrap_SBFrame_FindValue}, { "GetDescription", _wrap_SBFrame_GetDescription}, + { "GetDescriptionWithFormat", _wrap_SBFrame_GetDescriptionWithFormat}, { "__tostring", _wrap_SBFrame___tostring}, {0,0} }; @@ -40997,6 +41313,95 @@ static int _wrap_SBPlatform_Launch(lua_State* L) { } +static int _wrap_SBPlatform_Attach(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + lldb::SBAttachInfo *arg2 = 0 ; + lldb::SBDebugger *arg3 = 0 ; + lldb::SBTarget *arg4 = 0 ; + lldb::SBError *arg5 = 0 ; + lldb::SBProcess result; + + SWIG_check_num_args("lldb::SBPlatform::Attach",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::Attach",1,"lldb::SBPlatform *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::Attach",2,"lldb::SBAttachInfo &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBPlatform::Attach",3,"lldb::SBDebugger const &"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBPlatform::Attach",4,"lldb::SBTarget &"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBPlatform::Attach",5,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_Attach",1,SWIGTYPE_p_lldb__SBPlatform); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBAttachInfo,0))){ + SWIG_fail_ptr("SBPlatform_Attach",2,SWIGTYPE_p_lldb__SBAttachInfo); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBDebugger,0))){ + SWIG_fail_ptr("SBPlatform_Attach",3,SWIGTYPE_p_lldb__SBDebugger); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&arg4,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBPlatform_Attach",4,SWIGTYPE_p_lldb__SBTarget); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBPlatform_Attach",5,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->Attach(*arg2,(lldb::SBDebugger const &)*arg3,*arg4,*arg5); + { + lldb::SBProcess * resultptr = new lldb::SBProcess(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcess,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_SBPlatform_GetAllProcesses(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBPlatform *arg1 = (lldb::SBPlatform *) 0 ; + lldb::SBError *arg2 = 0 ; + lldb::SBProcessInfoList result; + + SWIG_check_num_args("lldb::SBPlatform::GetAllProcesses",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBPlatform::GetAllProcesses",1,"lldb::SBPlatform *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBPlatform::GetAllProcesses",2,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBPlatform,0))){ + SWIG_fail_ptr("SBPlatform_GetAllProcesses",1,SWIGTYPE_p_lldb__SBPlatform); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBPlatform_GetAllProcesses",2,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->GetAllProcesses(*arg2); + { + lldb::SBProcessInfoList * resultptr = new lldb::SBProcessInfoList(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBProcessInfoList,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + static int _wrap_SBPlatform_Kill(lua_State* L) { { int SWIG_arg = 0; @@ -41337,6 +41742,8 @@ static swig_lua_method swig_SBPlatform_methods[]= { { "Install", _wrap_SBPlatform_Install}, { "Run", _wrap_SBPlatform_Run}, { "Launch", _wrap_SBPlatform_Launch}, + { "Attach", _wrap_SBPlatform_Attach}, + { "GetAllProcesses", _wrap_SBPlatform_GetAllProcesses}, { "Kill", _wrap_SBPlatform_Kill}, { "MakeDirectory", _wrap_SBPlatform_MakeDirectory}, { "GetFilePermissions", _wrap_SBPlatform_GetFilePermissions}, @@ -44932,6 +45339,211 @@ static swig_lua_class *swig_SBProcessInfo_bases[] = {0}; static const char *swig_SBProcessInfo_base_names[] = {0}; static swig_lua_class _wrap_class_SBProcessInfo = { "SBProcessInfo", "SBProcessInfo", &SWIGTYPE_p_lldb__SBProcessInfo,_proxy__wrap_new_SBProcessInfo, swig_delete_SBProcessInfo, swig_SBProcessInfo_methods, swig_SBProcessInfo_attributes, &swig_SBProcessInfo_Sf_SwigStatic, swig_SBProcessInfo_meta, swig_SBProcessInfo_bases, swig_SBProcessInfo_base_names }; +static int _wrap_new_SBProcessInfoList__SWIG_0(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBProcessInfoList *result = 0 ; + + SWIG_check_num_args("lldb::SBProcessInfoList::SBProcessInfoList",0,0) + result = (lldb::SBProcessInfoList *)new lldb::SBProcessInfoList(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcessInfoList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_new_SBProcessInfoList__SWIG_1(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBProcessInfoList *arg1 = 0 ; + lldb::SBProcessInfoList *result = 0 ; + + SWIG_check_num_args("lldb::SBProcessInfoList::SBProcessInfoList",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBProcessInfoList::SBProcessInfoList",1,"lldb::SBProcessInfoList const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfoList,0))){ + SWIG_fail_ptr("new_SBProcessInfoList",1,SWIGTYPE_p_lldb__SBProcessInfoList); + } + + result = (lldb::SBProcessInfoList *)new lldb::SBProcessInfoList((lldb::SBProcessInfoList const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBProcessInfoList,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_new_SBProcessInfoList(lua_State* L) { + int argc; + int argv[2]={ + 1,2 + }; + + argc = lua_gettop(L); + if (argc == 0) { + return _wrap_new_SBProcessInfoList__SWIG_0(L); + } + if (argc == 1) { + int _v = 0; + { + void *ptr; + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBProcessInfoList, SWIG_POINTER_NO_NULL)) { + _v = 0; + } else { + _v = 1; + } + } + if (_v) { + return _wrap_new_SBProcessInfoList__SWIG_1(L); + } + } + + SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBProcessInfoList'\n" + " Possible C/C++ prototypes are:\n" + " lldb::SBProcessInfoList::SBProcessInfoList()\n" + " lldb::SBProcessInfoList::SBProcessInfoList(lldb::SBProcessInfoList const &)\n"); + lua_error(L);return 0; +} + + +static int _wrap_SBProcessInfoList_GetSize(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBProcessInfoList *arg1 = (lldb::SBProcessInfoList *) 0 ; + uint32_t result; + + SWIG_check_num_args("lldb::SBProcessInfoList::GetSize",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfoList::GetSize",1,"lldb::SBProcessInfoList const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfoList,0))){ + SWIG_fail_ptr("SBProcessInfoList_GetSize",1,SWIGTYPE_p_lldb__SBProcessInfoList); + } + + result = (uint32_t)((lldb::SBProcessInfoList const *)arg1)->GetSize(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_SBProcessInfoList_GetProcessInfoAtIndex(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBProcessInfoList *arg1 = (lldb::SBProcessInfoList *) 0 ; + uint32_t arg2 ; + lldb::SBProcessInfo *arg3 = 0 ; + bool result; + + SWIG_check_num_args("lldb::SBProcessInfoList::GetProcessInfoAtIndex",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfoList::GetProcessInfoAtIndex",1,"lldb::SBProcessInfoList *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBProcessInfoList::GetProcessInfoAtIndex",2,"uint32_t"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBProcessInfoList::GetProcessInfoAtIndex",3,"lldb::SBProcessInfo &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfoList,0))){ + SWIG_fail_ptr("SBProcessInfoList_GetProcessInfoAtIndex",1,SWIGTYPE_p_lldb__SBProcessInfoList); + } + + arg2 = (uint32_t)lua_tointeger(L, 2); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBProcessInfo,0))){ + SWIG_fail_ptr("SBProcessInfoList_GetProcessInfoAtIndex",3,SWIGTYPE_p_lldb__SBProcessInfo); + } + + result = (bool)(arg1)->GetProcessInfoAtIndex(arg2,*arg3); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_SBProcessInfoList_Clear(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBProcessInfoList *arg1 = (lldb::SBProcessInfoList *) 0 ; + + SWIG_check_num_args("lldb::SBProcessInfoList::Clear",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBProcessInfoList::Clear",1,"lldb::SBProcessInfoList *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBProcessInfoList,0))){ + SWIG_fail_ptr("SBProcessInfoList_Clear",1,SWIGTYPE_p_lldb__SBProcessInfoList); + } + + (arg1)->Clear(); + + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static void swig_delete_SBProcessInfoList(void *obj) { +lldb::SBProcessInfoList *arg1 = (lldb::SBProcessInfoList *) obj; +delete arg1; +} +static int _proxy__wrap_new_SBProcessInfoList(lua_State *L) { + assert(lua_istable(L,1)); + lua_pushcfunction(L,_wrap_new_SBProcessInfoList); + assert(!lua_isnil(L,-1)); + lua_replace(L,1); /* replace our table with real constructor */ + lua_call(L,lua_gettop(L)-1,1); + return 1; +} +static swig_lua_attribute swig_SBProcessInfoList_attributes[] = { + {0,0,0} +}; +static swig_lua_method swig_SBProcessInfoList_methods[]= { + { "GetSize", _wrap_SBProcessInfoList_GetSize}, + { "GetProcessInfoAtIndex", _wrap_SBProcessInfoList_GetProcessInfoAtIndex}, + { "Clear", _wrap_SBProcessInfoList_Clear}, + {0,0} +}; +static swig_lua_method swig_SBProcessInfoList_meta[] = { + {0,0} +}; + +static swig_lua_attribute swig_SBProcessInfoList_Sf_SwigStatic_attributes[] = { + {0,0,0} +}; +static swig_lua_const_info swig_SBProcessInfoList_Sf_SwigStatic_constants[]= { + {0,0,0,0,0,0} +}; +static swig_lua_method swig_SBProcessInfoList_Sf_SwigStatic_methods[]= { + {0,0} +}; +static swig_lua_class* swig_SBProcessInfoList_Sf_SwigStatic_classes[]= { + 0 +}; + +static swig_lua_namespace swig_SBProcessInfoList_Sf_SwigStatic = { + "SBProcessInfoList", + swig_SBProcessInfoList_Sf_SwigStatic_methods, + swig_SBProcessInfoList_Sf_SwigStatic_attributes, + swig_SBProcessInfoList_Sf_SwigStatic_constants, + swig_SBProcessInfoList_Sf_SwigStatic_classes, + 0 +}; +static swig_lua_class *swig_SBProcessInfoList_bases[] = {0}; +static const char *swig_SBProcessInfoList_base_names[] = {0}; +static swig_lua_class _wrap_class_SBProcessInfoList = { "SBProcessInfoList", "SBProcessInfoList", &SWIGTYPE_p_lldb__SBProcessInfoList,_proxy__wrap_new_SBProcessInfoList, swig_delete_SBProcessInfoList, swig_SBProcessInfoList_methods, swig_SBProcessInfoList_attributes, &swig_SBProcessInfoList_Sf_SwigStatic, swig_SBProcessInfoList_meta, swig_SBProcessInfoList_bases, swig_SBProcessInfoList_base_names }; + static int _wrap_new_SBQueue__SWIG_0(lua_State* L) { { int SWIG_arg = 0; @@ -48992,6 +49604,30 @@ static int _wrap_SBStructuredData_GetGenericValue(lua_State* L) { } +static int _wrap_SBStructuredData___tostring(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) 0 ; + std::string result; + + SWIG_check_num_args("lldb::SBStructuredData::__repr__",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBStructuredData::__repr__",1,"lldb::SBStructuredData *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBStructuredData,0))){ + SWIG_fail_ptr("SBStructuredData___tostring",1,SWIGTYPE_p_lldb__SBStructuredData); + } + + result = lldb_SBStructuredData___repr__(arg1); + lua_pushlstring(L,(&result)->data(),(&result)->size()); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + static void swig_delete_SBStructuredData(void *obj) { lldb::SBStructuredData *arg1 = (lldb::SBStructuredData *) obj; delete arg1; @@ -49025,9 +49661,11 @@ static swig_lua_method swig_SBStructuredData_methods[]= { { "GetBooleanValue", _wrap_SBStructuredData_GetBooleanValue}, { "GetStringValue", _wrap_SBStructuredData_GetStringValue}, { "GetGenericValue", _wrap_SBStructuredData_GetGenericValue}, + { "__tostring", _wrap_SBStructuredData___tostring}, {0,0} }; static swig_lua_method swig_SBStructuredData_meta[] = { + { "__tostring", _wrap_SBStructuredData___tostring}, {0,0} }; @@ -56393,6 +57031,55 @@ static int _wrap_SBTarget_WatchAddress(lua_State* L) { } +static int _wrap_SBTarget_WatchpointCreateByAddress(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + lldb::addr_t arg2 ; + size_t arg3 ; + lldb::SBWatchpointOptions arg4 ; + lldb::SBError *arg5 = 0 ; + lldb::SBWatchpointOptions *argp4 ; + lldb::SBWatchpoint result; + + SWIG_check_num_args("lldb::SBTarget::WatchpointCreateByAddress",5,5) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBTarget::WatchpointCreateByAddress",1,"lldb::SBTarget *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBTarget::WatchpointCreateByAddress",2,"lldb::addr_t"); + if(!lua_isinteger(L,3)) SWIG_fail_arg("lldb::SBTarget::WatchpointCreateByAddress",3,"size_t"); + if(!lua_isuserdata(L,4)) SWIG_fail_arg("lldb::SBTarget::WatchpointCreateByAddress",4,"lldb::SBWatchpointOptions"); + if(!lua_isuserdata(L,5)) SWIG_fail_arg("lldb::SBTarget::WatchpointCreateByAddress",5,"lldb::SBError &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBTarget,0))){ + SWIG_fail_ptr("SBTarget_WatchpointCreateByAddress",1,SWIGTYPE_p_lldb__SBTarget); + } + + arg2 = (lldb::addr_t)lua_tointeger(L, 2); + arg3 = (size_t)lua_tointeger(L, 3); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,4,(void**)&argp4,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){ + SWIG_fail_ptr("SBTarget_WatchpointCreateByAddress",4,SWIGTYPE_p_lldb__SBWatchpointOptions); + } + arg4 = *argp4; + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,5,(void**)&arg5,SWIGTYPE_p_lldb__SBError,0))){ + SWIG_fail_ptr("SBTarget_WatchpointCreateByAddress",5,SWIGTYPE_p_lldb__SBError); + } + + result = (arg1)->WatchpointCreateByAddress(arg2,arg3,arg4,*arg5); + { + lldb::SBWatchpoint * resultptr = new lldb::SBWatchpoint(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBWatchpoint,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + static int _wrap_SBTarget_EnableAllWatchpoints(lua_State* L) { { int SWIG_arg = 0; @@ -57587,6 +58274,7 @@ static swig_lua_method swig_SBTarget_methods[]= { { "DeleteWatchpoint", _wrap_SBTarget_DeleteWatchpoint}, { "FindWatchpointByID", _wrap_SBTarget_FindWatchpointByID}, { "WatchAddress", _wrap_SBTarget_WatchAddress}, + { "WatchpointCreateByAddress", _wrap_SBTarget_WatchpointCreateByAddress}, { "EnableAllWatchpoints", _wrap_SBTarget_EnableAllWatchpoints}, { "DisableAllWatchpoints", _wrap_SBTarget_DisableAllWatchpoints}, { "DeleteAllWatchpoints", _wrap_SBTarget_DeleteAllWatchpoints}, @@ -60172,6 +60860,47 @@ static int _wrap_SBThread_GetDescription(lua_State* L) { } +static int _wrap_SBThread_GetDescriptionWithFormat(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBThread *arg1 = (lldb::SBThread *) 0 ; + lldb::SBFormat *arg2 = 0 ; + lldb::SBStream *arg3 = 0 ; + lldb::SBError result; + + SWIG_check_num_args("lldb::SBThread::GetDescriptionWithFormat",3,3) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBThread::GetDescriptionWithFormat",1,"lldb::SBThread *"); + if(!lua_isuserdata(L,2)) SWIG_fail_arg("lldb::SBThread::GetDescriptionWithFormat",2,"lldb::SBFormat const &"); + if(!lua_isuserdata(L,3)) SWIG_fail_arg("lldb::SBThread::GetDescriptionWithFormat",3,"lldb::SBStream &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBThread,0))){ + SWIG_fail_ptr("SBThread_GetDescriptionWithFormat",1,SWIGTYPE_p_lldb__SBThread); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,2,(void**)&arg2,SWIGTYPE_p_lldb__SBFormat,0))){ + SWIG_fail_ptr("SBThread_GetDescriptionWithFormat",2,SWIGTYPE_p_lldb__SBFormat); + } + + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,3,(void**)&arg3,SWIGTYPE_p_lldb__SBStream,0))){ + SWIG_fail_ptr("SBThread_GetDescriptionWithFormat",3,SWIGTYPE_p_lldb__SBStream); + } + + result = (arg1)->GetDescriptionWithFormat((lldb::SBFormat const &)*arg2,*arg3); + { + lldb::SBError * resultptr = new lldb::SBError(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + static int _wrap_SBThread_GetStatus(lua_State* L) { { int SWIG_arg = 0; @@ -60440,6 +61169,7 @@ static swig_lua_method swig_SBThread_methods[]= { { "GetProcess", _wrap_SBThread_GetProcess}, { "__eq", _wrap_SBThread___eq}, { "GetDescription", _wrap_SBThread_GetDescription}, + { "GetDescriptionWithFormat", _wrap_SBThread_GetDescriptionWithFormat}, { "GetStatus", _wrap_SBThread_GetStatus}, { "GetExtendedBacktraceThread", _wrap_SBThread_GetExtendedBacktraceThread}, { "GetExtendedBacktraceOriginatingIndexID", _wrap_SBThread_GetExtendedBacktraceOriginatingIndexID}, @@ -65477,6 +66207,36 @@ static int _wrap_SBType_GetDescription(lua_State* L) { } +static int _wrap_SBType_FindDirectNestedType(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBType result; + + SWIG_check_num_args("lldb::SBType::FindDirectNestedType",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBType::FindDirectNestedType",1,"lldb::SBType *"); + if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBType::FindDirectNestedType",2,"char const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBType,0))){ + SWIG_fail_ptr("SBType_FindDirectNestedType",1,SWIGTYPE_p_lldb__SBType); + } + + arg2 = (char *)lua_tostring(L, 2); + result = (arg1)->FindDirectNestedType((char const *)arg2); + { + lldb::SBType * resultptr = new lldb::SBType(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBType,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + static int _wrap_SBType___eq(lua_State* L) { { int SWIG_arg = 0; @@ -65593,6 +66353,7 @@ static swig_lua_method swig_SBType_methods[]= { { "IsTypeComplete", _wrap_SBType_IsTypeComplete}, { "GetTypeFlags", _wrap_SBType_GetTypeFlags}, { "GetDescription", _wrap_SBType_GetDescription}, + { "FindDirectNestedType", _wrap_SBType_FindDirectNestedType}, { "__eq", _wrap_SBType___eq}, { "__tostring", _wrap_SBType___tostring}, {0,0} @@ -74820,6 +75581,33 @@ static int _wrap_SBValue_WatchPointee(lua_State* L) { } +static int _wrap_SBValue_GetVTable(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + lldb::SBValue result; + + SWIG_check_num_args("lldb::SBValue::GetVTable",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBValue::GetVTable",1,"lldb::SBValue *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBValue,0))){ + SWIG_fail_ptr("SBValue_GetVTable",1,SWIGTYPE_p_lldb__SBValue); + } + + result = (arg1)->GetVTable(); + { + lldb::SBValue * resultptr = new lldb::SBValue(result); + SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBValue,1); SWIG_arg++; + } + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + static int _wrap_SBValue___tostring(lua_State* L) { { int SWIG_arg = 0; @@ -74929,6 +75717,7 @@ static swig_lua_method swig_SBValue_methods[]= { { "EvaluateExpression", _wrap_SBValue_EvaluateExpression}, { "Watch", _wrap_SBValue_Watch}, { "WatchPointee", _wrap_SBValue_WatchPointee}, + { "GetVTable", _wrap_SBValue_GetVTable}, { "__tostring", _wrap_SBValue___tostring}, {0,0} }; @@ -76725,6 +77514,231 @@ static swig_lua_class *swig_SBWatchpoint_bases[] = {0}; static const char *swig_SBWatchpoint_base_names[] = {0}; static swig_lua_class _wrap_class_SBWatchpoint = { "SBWatchpoint", "SBWatchpoint", &SWIGTYPE_p_lldb__SBWatchpoint,_proxy__wrap_new_SBWatchpoint, swig_delete_SBWatchpoint, swig_SBWatchpoint_methods, swig_SBWatchpoint_attributes, &swig_SBWatchpoint_Sf_SwigStatic, swig_SBWatchpoint_meta, swig_SBWatchpoint_bases, swig_SBWatchpoint_base_names }; +static int _wrap_new_SBWatchpointOptions__SWIG_0(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBWatchpointOptions *result = 0 ; + + SWIG_check_num_args("lldb::SBWatchpointOptions::SBWatchpointOptions",0,0) + result = (lldb::SBWatchpointOptions *)new lldb::SBWatchpointOptions(); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBWatchpointOptions,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_new_SBWatchpointOptions__SWIG_1(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBWatchpointOptions *arg1 = 0 ; + lldb::SBWatchpointOptions *result = 0 ; + + SWIG_check_num_args("lldb::SBWatchpointOptions::SBWatchpointOptions",1,1) + if(!lua_isuserdata(L,1)) SWIG_fail_arg("lldb::SBWatchpointOptions::SBWatchpointOptions",1,"lldb::SBWatchpointOptions const &"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){ + SWIG_fail_ptr("new_SBWatchpointOptions",1,SWIGTYPE_p_lldb__SBWatchpointOptions); + } + + result = (lldb::SBWatchpointOptions *)new lldb::SBWatchpointOptions((lldb::SBWatchpointOptions const &)*arg1); + SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBWatchpointOptions,1); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_new_SBWatchpointOptions(lua_State* L) { + int argc; + int argv[2]={ + 1,2 + }; + + argc = lua_gettop(L); + if (argc == 0) { + return _wrap_new_SBWatchpointOptions__SWIG_0(L); + } + if (argc == 1) { + int _v = 0; + { + void *ptr; + if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBWatchpointOptions, SWIG_POINTER_NO_NULL)) { + _v = 0; + } else { + _v = 1; + } + } + if (_v) { + return _wrap_new_SBWatchpointOptions__SWIG_1(L); + } + } + + SWIG_Lua_pusherrstring(L,"Wrong arguments for overloaded function 'new_SBWatchpointOptions'\n" + " Possible C/C++ prototypes are:\n" + " lldb::SBWatchpointOptions::SBWatchpointOptions()\n" + " lldb::SBWatchpointOptions::SBWatchpointOptions(lldb::SBWatchpointOptions const &)\n"); + lua_error(L);return 0; +} + + +static int _wrap_SBWatchpointOptions_SetWatchpointTypeRead(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBWatchpointOptions *arg1 = (lldb::SBWatchpointOptions *) 0 ; + bool arg2 ; + + SWIG_check_num_args("lldb::SBWatchpointOptions::SetWatchpointTypeRead",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpointOptions::SetWatchpointTypeRead",1,"lldb::SBWatchpointOptions *"); + if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBWatchpointOptions::SetWatchpointTypeRead",2,"bool"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){ + SWIG_fail_ptr("SBWatchpointOptions_SetWatchpointTypeRead",1,SWIGTYPE_p_lldb__SBWatchpointOptions); + } + + arg2 = (lua_toboolean(L, 2)!=0); + (arg1)->SetWatchpointTypeRead(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_SBWatchpointOptions_GetWatchpointTypeRead(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBWatchpointOptions *arg1 = (lldb::SBWatchpointOptions *) 0 ; + bool result; + + SWIG_check_num_args("lldb::SBWatchpointOptions::GetWatchpointTypeRead",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpointOptions::GetWatchpointTypeRead",1,"lldb::SBWatchpointOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){ + SWIG_fail_ptr("SBWatchpointOptions_GetWatchpointTypeRead",1,SWIGTYPE_p_lldb__SBWatchpointOptions); + } + + result = (bool)((lldb::SBWatchpointOptions const *)arg1)->GetWatchpointTypeRead(); + lua_pushboolean(L,(int)(result!=0)); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_SBWatchpointOptions_SetWatchpointTypeWrite(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBWatchpointOptions *arg1 = (lldb::SBWatchpointOptions *) 0 ; + lldb::WatchpointWriteType arg2 ; + + SWIG_check_num_args("lldb::SBWatchpointOptions::SetWatchpointTypeWrite",2,2) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpointOptions::SetWatchpointTypeWrite",1,"lldb::SBWatchpointOptions *"); + if(!lua_isinteger(L,2)) SWIG_fail_arg("lldb::SBWatchpointOptions::SetWatchpointTypeWrite",2,"lldb::WatchpointWriteType"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){ + SWIG_fail_ptr("SBWatchpointOptions_SetWatchpointTypeWrite",1,SWIGTYPE_p_lldb__SBWatchpointOptions); + } + + arg2 = (lldb::WatchpointWriteType)lua_tointeger(L, 2); + (arg1)->SetWatchpointTypeWrite(arg2); + + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static int _wrap_SBWatchpointOptions_GetWatchpointTypeWrite(lua_State* L) { + { + int SWIG_arg = 0; + lldb::SBWatchpointOptions *arg1 = (lldb::SBWatchpointOptions *) 0 ; + lldb::WatchpointWriteType result; + + SWIG_check_num_args("lldb::SBWatchpointOptions::GetWatchpointTypeWrite",1,1) + if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBWatchpointOptions::GetWatchpointTypeWrite",1,"lldb::SBWatchpointOptions const *"); + + if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBWatchpointOptions,0))){ + SWIG_fail_ptr("SBWatchpointOptions_GetWatchpointTypeWrite",1,SWIGTYPE_p_lldb__SBWatchpointOptions); + } + + result = (lldb::WatchpointWriteType)((lldb::SBWatchpointOptions const *)arg1)->GetWatchpointTypeWrite(); + lua_pushinteger(L, (lua_Integer) result); SWIG_arg++; + return SWIG_arg; + + fail: SWIGUNUSED; + } + lua_error(L); + return 0; +} + + +static void swig_delete_SBWatchpointOptions(void *obj) { +lldb::SBWatchpointOptions *arg1 = (lldb::SBWatchpointOptions *) obj; +delete arg1; +} +static int _proxy__wrap_new_SBWatchpointOptions(lua_State *L) { + assert(lua_istable(L,1)); + lua_pushcfunction(L,_wrap_new_SBWatchpointOptions); + assert(!lua_isnil(L,-1)); + lua_replace(L,1); /* replace our table with real constructor */ + lua_call(L,lua_gettop(L)-1,1); + return 1; +} +static swig_lua_attribute swig_SBWatchpointOptions_attributes[] = { + {0,0,0} +}; +static swig_lua_method swig_SBWatchpointOptions_methods[]= { + { "SetWatchpointTypeRead", _wrap_SBWatchpointOptions_SetWatchpointTypeRead}, + { "GetWatchpointTypeRead", _wrap_SBWatchpointOptions_GetWatchpointTypeRead}, + { "SetWatchpointTypeWrite", _wrap_SBWatchpointOptions_SetWatchpointTypeWrite}, + { "GetWatchpointTypeWrite", _wrap_SBWatchpointOptions_GetWatchpointTypeWrite}, + {0,0} +}; +static swig_lua_method swig_SBWatchpointOptions_meta[] = { + {0,0} +}; + +static swig_lua_attribute swig_SBWatchpointOptions_Sf_SwigStatic_attributes[] = { + {0,0,0} +}; +static swig_lua_const_info swig_SBWatchpointOptions_Sf_SwigStatic_constants[]= { + {0,0,0,0,0,0} +}; +static swig_lua_method swig_SBWatchpointOptions_Sf_SwigStatic_methods[]= { + {0,0} +}; +static swig_lua_class* swig_SBWatchpointOptions_Sf_SwigStatic_classes[]= { + 0 +}; + +static swig_lua_namespace swig_SBWatchpointOptions_Sf_SwigStatic = { + "SBWatchpointOptions", + swig_SBWatchpointOptions_Sf_SwigStatic_methods, + swig_SBWatchpointOptions_Sf_SwigStatic_attributes, + swig_SBWatchpointOptions_Sf_SwigStatic_constants, + swig_SBWatchpointOptions_Sf_SwigStatic_classes, + 0 +}; +static swig_lua_class *swig_SBWatchpointOptions_bases[] = {0}; +static const char *swig_SBWatchpointOptions_base_names[] = {0}; +static swig_lua_class _wrap_class_SBWatchpointOptions = { "SBWatchpointOptions", "SBWatchpointOptions", &SWIGTYPE_p_lldb__SBWatchpointOptions,_proxy__wrap_new_SBWatchpointOptions, swig_delete_SBWatchpointOptions, swig_SBWatchpointOptions_methods, swig_SBWatchpointOptions_attributes, &swig_SBWatchpointOptions_Sf_SwigStatic, swig_SBWatchpointOptions_meta, swig_SBWatchpointOptions_bases, swig_SBWatchpointOptions_base_names }; + static swig_lua_attribute swig_SwigModule_attributes[] = { {0,0,0} }; @@ -76738,6 +77752,8 @@ static swig_lua_const_info swig_SwigModule_constants[]= { {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_WATCH_ID", 0)}, {SWIG_LUA_CONSTTAB_INT("LLDB_WATCH_TYPE_READ", (1u << 0))}, {SWIG_LUA_CONSTTAB_INT("LLDB_WATCH_TYPE_WRITE", (1u << 1))}, + {SWIG_LUA_CONSTTAB_INT("LLDB_WATCH_TYPE_MODIFY", (1u << 2))}, + {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_SITE_ID", 4294967295U)}, {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_PC", 0)}, {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_SP", 1)}, {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_FP", 2)}, @@ -76751,6 +77767,7 @@ static swig_lua_const_info swig_SwigModule_constants[]= { {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_ARG6", 10)}, {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_ARG7", 11)}, {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_ARG8", 12)}, + {SWIG_LUA_CONSTTAB_INT("LLDB_REGNUM_GENERIC_TP", 13)}, {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_STOP_ID", 0)}, {SWIG_LUA_CONSTTAB_STRING("LLDB_INVALID_ADDRESS", "18446744073709551615ULL")}, {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_INDEX32", 4294967295U)}, @@ -76768,6 +77785,7 @@ static swig_lua_const_info swig_SwigModule_constants[]= { {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_COLUMN_NUMBER", 0)}, {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_QUEUE_ID", 0)}, {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_CPU_ID", 4294967295U)}, + {SWIG_LUA_CONSTTAB_INT("LLDB_INVALID_WATCHPOINT_RESOURCE_ID", 4294967295U)}, {SWIG_LUA_CONSTTAB_STRING("LLDB_ARCH_DEFAULT", "systemArch")}, {SWIG_LUA_CONSTTAB_STRING("LLDB_ARCH_DEFAULT_32BIT", "systemArch32")}, {SWIG_LUA_CONSTTAB_STRING("LLDB_ARCH_DEFAULT_64BIT", "systemArch64")}, @@ -76947,6 +77965,8 @@ static swig_lua_const_info swig_SwigModule_constants[]= { {SWIG_LUA_CONSTTAB_INT("eValueTypeRegisterSet", lldb::eValueTypeRegisterSet)}, {SWIG_LUA_CONSTTAB_INT("eValueTypeConstResult", lldb::eValueTypeConstResult)}, {SWIG_LUA_CONSTTAB_INT("eValueTypeVariableThreadLocal", lldb::eValueTypeVariableThreadLocal)}, + {SWIG_LUA_CONSTTAB_INT("eValueTypeVTable", lldb::eValueTypeVTable)}, + {SWIG_LUA_CONSTTAB_INT("eValueTypeVTableEntry", lldb::eValueTypeVTableEntry)}, {SWIG_LUA_CONSTTAB_INT("eInputReaderGranularityInvalid", lldb::eInputReaderGranularityInvalid)}, {SWIG_LUA_CONSTTAB_INT("eInputReaderGranularityByte", lldb::eInputReaderGranularityByte)}, {SWIG_LUA_CONSTTAB_INT("eInputReaderGranularityWord", lldb::eInputReaderGranularityWord)}, @@ -76996,6 +78016,9 @@ static swig_lua_const_info swig_SwigModule_constants[]= { {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeIgnoreChanged", lldb::eWatchpointEventTypeIgnoreChanged)}, {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeThreadChanged", lldb::eWatchpointEventTypeThreadChanged)}, {SWIG_LUA_CONSTTAB_INT("eWatchpointEventTypeTypeChanged", lldb::eWatchpointEventTypeTypeChanged)}, + {SWIG_LUA_CONSTTAB_INT("eWatchpointWriteTypeDisabled", lldb::eWatchpointWriteTypeDisabled)}, + {SWIG_LUA_CONSTTAB_INT("eWatchpointWriteTypeAlways", lldb::eWatchpointWriteTypeAlways)}, + {SWIG_LUA_CONSTTAB_INT("eWatchpointWriteTypeOnModify", lldb::eWatchpointWriteTypeOnModify)}, {SWIG_LUA_CONSTTAB_INT("eLanguageTypeUnknown", lldb::eLanguageTypeUnknown)}, {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC89", lldb::eLanguageTypeC89)}, {SWIG_LUA_CONSTTAB_INT("eLanguageTypeC", lldb::eLanguageTypeC)}, @@ -77054,6 +78077,7 @@ static swig_lua_const_info swig_SwigModule_constants[]= { {SWIG_LUA_CONSTTAB_INT("eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer", lldb::eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer)}, {SWIG_LUA_CONSTTAB_INT("eInstrumentationRuntimeTypeMainThreadChecker", lldb::eInstrumentationRuntimeTypeMainThreadChecker)}, {SWIG_LUA_CONSTTAB_INT("eInstrumentationRuntimeTypeSwiftRuntimeReporting", lldb::eInstrumentationRuntimeTypeSwiftRuntimeReporting)}, + {SWIG_LUA_CONSTTAB_INT("eInstrumentationRuntimeTypeLibsanitizersAsan", lldb::eInstrumentationRuntimeTypeLibsanitizersAsan)}, {SWIG_LUA_CONSTTAB_INT("eNumInstrumentationRuntimeTypes", lldb::eNumInstrumentationRuntimeTypes)}, {SWIG_LUA_CONSTTAB_INT("eNoDynamicValues", lldb::eNoDynamicValues)}, {SWIG_LUA_CONSTTAB_INT("eDynamicCanRunTarget", lldb::eDynamicCanRunTarget)}, @@ -77255,6 +78279,7 @@ static swig_lua_const_info swig_SwigModule_constants[]= { {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugLocListsDwo", lldb::eSectionTypeDWARFDebugLocListsDwo)}, {SWIG_LUA_CONSTTAB_INT("eSectionTypeDWARFDebugTuIndex", lldb::eSectionTypeDWARFDebugTuIndex)}, {SWIG_LUA_CONSTTAB_INT("eSectionTypeCTF", lldb::eSectionTypeCTF)}, + {SWIG_LUA_CONSTTAB_INT("eSectionTypeSwiftModules", lldb::eSectionTypeSwiftModules)}, {SWIG_LUA_CONSTTAB_INT("eEmulateInstructionOptionNone", lldb::eEmulateInstructionOptionNone)}, {SWIG_LUA_CONSTTAB_INT("eEmulateInstructionOptionAutoAdvancePC", lldb::eEmulateInstructionOptionAutoAdvancePC)}, {SWIG_LUA_CONSTTAB_INT("eEmulateInstructionOptionIgnoreConditions", lldb::eEmulateInstructionOptionIgnoreConditions)}, @@ -77519,6 +78544,8 @@ static swig_lua_const_info swig_SwigModule_constants[]= { {SWIG_LUA_CONSTTAB_INT("eRemoteDiskDirectoryCompletion", lldb::eRemoteDiskDirectoryCompletion)}, {SWIG_LUA_CONSTTAB_INT("eTypeCategoryNameCompletion", lldb::eTypeCategoryNameCompletion)}, {SWIG_LUA_CONSTTAB_INT("eCustomCompletion", lldb::eCustomCompletion)}, + {SWIG_LUA_CONSTTAB_INT("eThreadIDCompletion", lldb::eThreadIDCompletion)}, + {SWIG_LUA_CONSTTAB_INT("eTerminatorCompletion", lldb::eTerminatorCompletion)}, {SWIG_LUA_CONSTTAB_INT("SBCommandInterpreter_eBroadcastBitThreadShouldExit", lldb::SBCommandInterpreter::eBroadcastBitThreadShouldExit)}, {SWIG_LUA_CONSTTAB_INT("SBCommandInterpreter_eBroadcastBitResetPrompt", lldb::SBCommandInterpreter::eBroadcastBitResetPrompt)}, {SWIG_LUA_CONSTTAB_INT("SBCommandInterpreter_eBroadcastBitQuitCommandReceived", lldb::SBCommandInterpreter::eBroadcastBitQuitCommandReceived)}, @@ -77671,6 +78698,7 @@ static swig_lua_class* swig_SwigModule_classes[]= { &_wrap_class_SBFile, &_wrap_class_SBFileSpec, &_wrap_class_SBFileSpecList, +&_wrap_class_SBFormat, &_wrap_class_SBFrame, &_wrap_class_SBFunction, &_wrap_class_SBHostOS, @@ -77690,6 +78718,7 @@ static swig_lua_class* swig_SwigModule_classes[]= { &_wrap_class_SBPlatform, &_wrap_class_SBProcess, &_wrap_class_SBProcessInfo, +&_wrap_class_SBProcessInfoList, &_wrap_class_SBQueue, &_wrap_class_SBQueueItem, &_wrap_class_SBReproducer, @@ -77726,6 +78755,7 @@ static swig_lua_class* swig_SwigModule_classes[]= { &_wrap_class_SBValueList, &_wrap_class_SBVariablesOptions, &_wrap_class_SBWatchpoint, +&_wrap_class_SBWatchpointOptions, 0 }; static swig_lua_namespace* swig_SwigModule_namespaces[] = { @@ -77779,6 +78809,7 @@ static swig_type_info _swigt__p_lldb__SBExpressionOptions = {"_p_lldb__SBExpress static swig_type_info _swigt__p_lldb__SBFile = {"_p_lldb__SBFile", "lldb::SBFile *", 0, 0, (void*)&_wrap_class_SBFile, 0}; static swig_type_info _swigt__p_lldb__SBFileSpec = {"_p_lldb__SBFileSpec", "lldb::SBFileSpec *", 0, 0, (void*)&_wrap_class_SBFileSpec, 0}; static swig_type_info _swigt__p_lldb__SBFileSpecList = {"_p_lldb__SBFileSpecList", "lldb::SBFileSpecList *", 0, 0, (void*)&_wrap_class_SBFileSpecList, 0}; +static swig_type_info _swigt__p_lldb__SBFormat = {"_p_lldb__SBFormat", "lldb::SBFormat *", 0, 0, (void*)&_wrap_class_SBFormat, 0}; static swig_type_info _swigt__p_lldb__SBFrame = {"_p_lldb__SBFrame", "lldb::SBFrame *", 0, 0, (void*)&_wrap_class_SBFrame, 0}; static swig_type_info _swigt__p_lldb__SBFunction = {"_p_lldb__SBFunction", "lldb::SBFunction *", 0, 0, (void*)&_wrap_class_SBFunction, 0}; static swig_type_info _swigt__p_lldb__SBHostOS = {"_p_lldb__SBHostOS", "lldb::SBHostOS *", 0, 0, (void*)&_wrap_class_SBHostOS, 0}; @@ -77798,6 +78829,7 @@ static swig_type_info _swigt__p_lldb__SBPlatformConnectOptions = {"_p_lldb__SBPl static swig_type_info _swigt__p_lldb__SBPlatformShellCommand = {"_p_lldb__SBPlatformShellCommand", "lldb::SBPlatformShellCommand *", 0, 0, (void*)&_wrap_class_SBPlatformShellCommand, 0}; static swig_type_info _swigt__p_lldb__SBProcess = {"_p_lldb__SBProcess", "lldb::SBProcess *", 0, 0, (void*)&_wrap_class_SBProcess, 0}; static swig_type_info _swigt__p_lldb__SBProcessInfo = {"_p_lldb__SBProcessInfo", "lldb::SBProcessInfo *", 0, 0, (void*)&_wrap_class_SBProcessInfo, 0}; +static swig_type_info _swigt__p_lldb__SBProcessInfoList = {"_p_lldb__SBProcessInfoList", "lldb::SBProcessInfoList *", 0, 0, (void*)&_wrap_class_SBProcessInfoList, 0}; static swig_type_info _swigt__p_lldb__SBQueue = {"_p_lldb__SBQueue", "lldb::SBQueue *", 0, 0, (void*)&_wrap_class_SBQueue, 0}; static swig_type_info _swigt__p_lldb__SBQueueItem = {"_p_lldb__SBQueueItem", "lldb::SBQueueItem *", 0, 0, (void*)&_wrap_class_SBQueueItem, 0}; static swig_type_info _swigt__p_lldb__SBReproducer = {"_p_lldb__SBReproducer", "lldb::SBReproducer *", 0, 0, (void*)&_wrap_class_SBReproducer, 0}; @@ -77834,6 +78866,7 @@ static swig_type_info _swigt__p_lldb__SBValue = {"_p_lldb__SBValue", "lldb::SBVa static swig_type_info _swigt__p_lldb__SBValueList = {"_p_lldb__SBValueList", "lldb::SBValueList *", 0, 0, (void*)&_wrap_class_SBValueList, 0}; static swig_type_info _swigt__p_lldb__SBVariablesOptions = {"_p_lldb__SBVariablesOptions", "lldb::SBVariablesOptions *", 0, 0, (void*)&_wrap_class_SBVariablesOptions, 0}; static swig_type_info _swigt__p_lldb__SBWatchpoint = {"_p_lldb__SBWatchpoint", "lldb::SBWatchpoint *", 0, 0, (void*)&_wrap_class_SBWatchpoint, 0}; +static swig_type_info _swigt__p_lldb__SBWatchpointOptions = {"_p_lldb__SBWatchpointOptions", "lldb::SBWatchpointOptions *", 0, 0, (void*)&_wrap_class_SBWatchpointOptions, 0}; static swig_type_info _swigt__p_long_double = {"_p_long_double", "long double *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_long_long = {"_p_long_long", "int64_t *|int_fast64_t *|int_least64_t *|intmax_t *|long long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_p_void = {"_p_p_void", "lldb::thread_result_t *|void **", 0, 0, (void*)0, 0}; @@ -77865,6 +78898,7 @@ static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Event_t = {"_p_st static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t = {"_p_std__shared_ptrT_lldb_private__ExecutionContextRef_t", "lldb::ExecutionContextRefSP *|std::shared_ptr< lldb_private::ExecutionContextRef > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ExpressionVariable_t = {"_p_std__shared_ptrT_lldb_private__ExpressionVariable_t", "lldb::ExpressionVariableSP *|std::shared_ptr< lldb_private::ExpressionVariable > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__File_t = {"_p_std__shared_ptrT_lldb_private__File_t", "lldb::FileSP *|std::shared_ptr< lldb_private::File > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t = {"_p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t", "lldb::FormatEntrySP *|std::shared_ptr< lldb_private::FormatEntity::Entry > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__FuncUnwinders_t = {"_p_std__shared_ptrT_lldb_private__FuncUnwinders_t", "lldb::FuncUnwindersSP *|std::shared_ptr< lldb_private::FuncUnwinders > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Function_t = {"_p_std__shared_ptrT_lldb_private__Function_t", "lldb::FunctionSP *|std::shared_ptr< lldb_private::Function > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__IOHandler_t = {"_p_std__shared_ptrT_lldb_private__IOHandler_t", "lldb::IOHandlerSP *|std::shared_ptr< lldb_private::IOHandler > *", 0, 0, (void*)0, 0}; @@ -77882,6 +78916,7 @@ static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Module_t = {"_p_s static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ObjectContainer_t = {"_p_std__shared_ptrT_lldb_private__ObjectContainer_t", "lldb::ObjectContainerSP *|std::shared_ptr< lldb_private::ObjectContainer > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t = {"_p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t", "lldb::ObjectFileJITDelegateSP *|std::shared_ptr< lldb_private::ObjectFileJITDelegate > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ObjectFile_t = {"_p_std__shared_ptrT_lldb_private__ObjectFile_t", "lldb::ObjectFileSP *|std::shared_ptr< lldb_private::ObjectFile > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t = {"_p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t", "lldb::OperatingSystemInterfaceSP *|std::shared_ptr< lldb_private::OperatingSystemInterface > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__OptionValueProperties_t = {"_p_std__shared_ptrT_lldb_private__OptionValueProperties_t", "lldb::OptionValuePropertiesSP *|std::shared_ptr< lldb_private::OptionValueProperties > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__OptionValue_t = {"_p_std__shared_ptrT_lldb_private__OptionValue_t", "lldb::OptionValueSP *|std::shared_ptr< lldb_private::OptionValue > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Platform_t = {"_p_std__shared_ptrT_lldb_private__Platform_t", "lldb::PlatformSP *|std::shared_ptr< lldb_private::Platform > *", 0, 0, (void*)0, 0}; @@ -77945,6 +78980,7 @@ static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ValueObject_t = { static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Value_t = {"_p_std__shared_ptrT_lldb_private__Value_t", "lldb::ValueSP *|std::shared_ptr< lldb_private::Value > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__VariableList_t = {"_p_std__shared_ptrT_lldb_private__VariableList_t", "lldb::VariableListSP *|std::shared_ptr< lldb_private::VariableList > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Variable_t = {"_p_std__shared_ptrT_lldb_private__Variable_t", "lldb::VariableSP *|std::shared_ptr< lldb_private::Variable > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__WatchpointResource_t = {"_p_std__shared_ptrT_lldb_private__WatchpointResource_t", "lldb::WatchpointResourceSP *|std::shared_ptr< lldb_private::WatchpointResource > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Watchpoint_t = {"_p_std__shared_ptrT_lldb_private__Watchpoint_t", "lldb::WatchpointSP *|std::shared_ptr< lldb_private::Watchpoint > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t = {"_p_std__shared_ptrT_lldb_private__WritableDataBuffer_t", "lldb::WritableDataBufferSP *|std::shared_ptr< lldb_private::WritableDataBuffer > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__string = {"_p_std__string", "std::string *", 0, 0, (void*)&_wrap_class_string, 0}; @@ -77983,7 +79019,7 @@ static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__TypeSystem_t = {"_p static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__Type_t = {"_p_std__weak_ptrT_lldb_private__Type_t", "lldb::TypeWP *|std::weak_ptr< lldb_private::Type > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__weak_ptrT_lldb_private__UnixSignals_t = {"_p_std__weak_ptrT_lldb_private__UnixSignals_t", "lldb::UnixSignalsWP *|std::weak_ptr< lldb_private::UnixSignals > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "uint8_t *|uint_fast8_t *|uint_least8_t *|unsigned char *", 0, 0, (void*)0, 0}; -static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "lldb::cpu_id_t *|uint32_t *|uint_fast16_t *|uint_fast32_t *|uint_least32_t *|uintptr_t *|unsigned int *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "lldb::cpu_id_t *|lldb::wp_resource_id_t *|uint32_t *|uint_fast16_t *|uint_fast32_t *|uint_least32_t *|uintptr_t *|unsigned int *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_long_long = {"_p_unsigned_long_long", "lldb::addr_t *|lldb::offset_t *|lldb::pid_t *|lldb::process_t *|lldb::queue_id_t *|lldb::tid_t *|lldb::user_id_t *|uint64_t *|uint_fast64_t *|uint_least64_t *|uintmax_t *|unsigned long long *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_unsigned_short = {"_p_unsigned_short", "uint16_t *|uint_least16_t *|unsigned short *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_void = {"_p_void", "lldb::ScriptObjectPtr|void *", 0, 0, (void*)0, 0}; @@ -78022,6 +79058,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_lldb__SBFile, &_swigt__p_lldb__SBFileSpec, &_swigt__p_lldb__SBFileSpecList, + &_swigt__p_lldb__SBFormat, &_swigt__p_lldb__SBFrame, &_swigt__p_lldb__SBFunction, &_swigt__p_lldb__SBHostOS, @@ -78041,6 +79078,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_lldb__SBPlatformShellCommand, &_swigt__p_lldb__SBProcess, &_swigt__p_lldb__SBProcessInfo, + &_swigt__p_lldb__SBProcessInfoList, &_swigt__p_lldb__SBQueue, &_swigt__p_lldb__SBQueueItem, &_swigt__p_lldb__SBReproducer, @@ -78077,6 +79115,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_lldb__SBValueList, &_swigt__p_lldb__SBVariablesOptions, &_swigt__p_lldb__SBWatchpoint, + &_swigt__p_lldb__SBWatchpointOptions, &_swigt__p_long_double, &_swigt__p_long_long, &_swigt__p_p_void, @@ -78108,6 +79147,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t, &_swigt__p_std__shared_ptrT_lldb_private__ExpressionVariable_t, &_swigt__p_std__shared_ptrT_lldb_private__File_t, + &_swigt__p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t, &_swigt__p_std__shared_ptrT_lldb_private__FuncUnwinders_t, &_swigt__p_std__shared_ptrT_lldb_private__Function_t, &_swigt__p_std__shared_ptrT_lldb_private__IOHandler_t, @@ -78125,6 +79165,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_std__shared_ptrT_lldb_private__ObjectContainer_t, &_swigt__p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t, &_swigt__p_std__shared_ptrT_lldb_private__ObjectFile_t, + &_swigt__p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t, &_swigt__p_std__shared_ptrT_lldb_private__OptionValueProperties_t, &_swigt__p_std__shared_ptrT_lldb_private__OptionValue_t, &_swigt__p_std__shared_ptrT_lldb_private__Platform_t, @@ -78188,6 +79229,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_std__shared_ptrT_lldb_private__Value_t, &_swigt__p_std__shared_ptrT_lldb_private__VariableList_t, &_swigt__p_std__shared_ptrT_lldb_private__Variable_t, + &_swigt__p_std__shared_ptrT_lldb_private__WatchpointResource_t, &_swigt__p_std__shared_ptrT_lldb_private__Watchpoint_t, &_swigt__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t, &_swigt__p_std__string, @@ -78265,6 +79307,7 @@ static swig_cast_info _swigc__p_lldb__SBExpressionOptions[] = { {&_swigt__p_lld static swig_cast_info _swigc__p_lldb__SBFile[] = { {&_swigt__p_lldb__SBFile, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBFileSpec[] = { {&_swigt__p_lldb__SBFileSpec, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBFileSpecList[] = { {&_swigt__p_lldb__SBFileSpecList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_lldb__SBFormat[] = { {&_swigt__p_lldb__SBFormat, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBFrame[] = { {&_swigt__p_lldb__SBFrame, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBFunction[] = { {&_swigt__p_lldb__SBFunction, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBHostOS[] = { {&_swigt__p_lldb__SBHostOS, 0, 0, 0},{0, 0, 0, 0}}; @@ -78284,6 +79327,7 @@ static swig_cast_info _swigc__p_lldb__SBPlatformConnectOptions[] = { {&_swigt__ static swig_cast_info _swigc__p_lldb__SBPlatformShellCommand[] = { {&_swigt__p_lldb__SBPlatformShellCommand, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBProcess[] = { {&_swigt__p_lldb__SBProcess, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBProcessInfo[] = { {&_swigt__p_lldb__SBProcessInfo, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_lldb__SBProcessInfoList[] = { {&_swigt__p_lldb__SBProcessInfoList, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBQueue[] = { {&_swigt__p_lldb__SBQueue, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBQueueItem[] = { {&_swigt__p_lldb__SBQueueItem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBReproducer[] = { {&_swigt__p_lldb__SBReproducer, 0, 0, 0},{0, 0, 0, 0}}; @@ -78320,6 +79364,7 @@ static swig_cast_info _swigc__p_lldb__SBValue[] = { {&_swigt__p_lldb__SBValue, static swig_cast_info _swigc__p_lldb__SBValueList[] = { {&_swigt__p_lldb__SBValueList, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBVariablesOptions[] = { {&_swigt__p_lldb__SBVariablesOptions, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBWatchpoint[] = { {&_swigt__p_lldb__SBWatchpoint, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_lldb__SBWatchpointOptions[] = { {&_swigt__p_lldb__SBWatchpointOptions, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_long_double[] = { {&_swigt__p_long_double, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_long_long[] = { {&_swigt__p_long_long, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_p_void[] = { {&_swigt__p_p_void, 0, 0, 0},{0, 0, 0, 0}}; @@ -78351,6 +79396,7 @@ static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Event_t[] = { {& static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ExpressionVariable_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ExpressionVariable_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__File_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__File_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__FuncUnwinders_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__FuncUnwinders_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Function_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__Function_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__IOHandler_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__IOHandler_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -78368,6 +79414,7 @@ static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Module_t[] = { { static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ObjectContainer_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ObjectContainer_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ObjectFile_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ObjectFile_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__OptionValueProperties_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__OptionValueProperties_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__OptionValue_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__OptionValue_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Platform_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__Platform_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -78431,6 +79478,7 @@ static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ValueObject_t[] = static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Value_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__Value_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__VariableList_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__VariableList_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Variable_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__Variable_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__WatchpointResource_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__WatchpointResource_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Watchpoint_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__Watchpoint_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__string[] = { {&_swigt__p_std__string, 0, 0, 0},{0, 0, 0, 0}}; @@ -78508,6 +79556,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_lldb__SBFile, _swigc__p_lldb__SBFileSpec, _swigc__p_lldb__SBFileSpecList, + _swigc__p_lldb__SBFormat, _swigc__p_lldb__SBFrame, _swigc__p_lldb__SBFunction, _swigc__p_lldb__SBHostOS, @@ -78527,6 +79576,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_lldb__SBPlatformShellCommand, _swigc__p_lldb__SBProcess, _swigc__p_lldb__SBProcessInfo, + _swigc__p_lldb__SBProcessInfoList, _swigc__p_lldb__SBQueue, _swigc__p_lldb__SBQueueItem, _swigc__p_lldb__SBReproducer, @@ -78563,6 +79613,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_lldb__SBValueList, _swigc__p_lldb__SBVariablesOptions, _swigc__p_lldb__SBWatchpoint, + _swigc__p_lldb__SBWatchpointOptions, _swigc__p_long_double, _swigc__p_long_long, _swigc__p_p_void, @@ -78594,6 +79645,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_std__shared_ptrT_lldb_private__ExecutionContextRef_t, _swigc__p_std__shared_ptrT_lldb_private__ExpressionVariable_t, _swigc__p_std__shared_ptrT_lldb_private__File_t, + _swigc__p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t, _swigc__p_std__shared_ptrT_lldb_private__FuncUnwinders_t, _swigc__p_std__shared_ptrT_lldb_private__Function_t, _swigc__p_std__shared_ptrT_lldb_private__IOHandler_t, @@ -78611,6 +79663,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_std__shared_ptrT_lldb_private__ObjectContainer_t, _swigc__p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t, _swigc__p_std__shared_ptrT_lldb_private__ObjectFile_t, + _swigc__p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t, _swigc__p_std__shared_ptrT_lldb_private__OptionValueProperties_t, _swigc__p_std__shared_ptrT_lldb_private__OptionValue_t, _swigc__p_std__shared_ptrT_lldb_private__Platform_t, @@ -78674,6 +79727,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_std__shared_ptrT_lldb_private__Value_t, _swigc__p_std__shared_ptrT_lldb_private__VariableList_t, _swigc__p_std__shared_ptrT_lldb_private__Variable_t, + _swigc__p_std__shared_ptrT_lldb_private__WatchpointResource_t, _swigc__p_std__shared_ptrT_lldb_private__Watchpoint_t, _swigc__p_std__shared_ptrT_lldb_private__WritableDataBuffer_t, _swigc__p_std__string, diff --git a/lib/clang/liblldb/Makefile b/lib/clang/liblldb/Makefile index e6e1e638abce..bac7e55896f9 100644 --- a/lib/clang/liblldb/Makefile +++ b/lib/clang/liblldb/Makefile @@ -40,6 +40,7 @@ SRCS+= API/SBExpressionOptions.cpp SRCS+= API/SBFile.cpp SRCS+= API/SBFileSpec.cpp SRCS+= API/SBFileSpecList.cpp +SRCS+= API/SBFormat.cpp SRCS+= API/SBFrame.cpp SRCS+= API/SBFunction.cpp SRCS+= API/SBHostOS.cpp @@ -56,6 +57,7 @@ SRCS+= API/SBModuleSpec.cpp SRCS+= API/SBPlatform.cpp SRCS+= API/SBProcess.cpp SRCS+= API/SBProcessInfo.cpp +SRCS+= API/SBProcessInfoList.cpp SRCS+= API/SBQueue.cpp SRCS+= API/SBQueueItem.cpp SRCS+= API/SBReproducer.cpp @@ -87,6 +89,7 @@ SRCS+= API/SBValue.cpp SRCS+= API/SBValueList.cpp SRCS+= API/SBVariablesOptions.cpp SRCS+= API/SBWatchpoint.cpp +SRCS+= API/SBWatchpointOptions.cpp SRCS+= API/SystemInitializerFull.cpp SRCS+= Breakpoint/Breakpoint.cpp SRCS+= Breakpoint/BreakpointID.cpp @@ -104,13 +107,14 @@ SRCS+= Breakpoint/BreakpointResolverFileRegex.cpp SRCS+= Breakpoint/BreakpointResolverName.cpp SRCS+= Breakpoint/BreakpointResolverScripted.cpp SRCS+= Breakpoint/BreakpointSite.cpp -SRCS+= Breakpoint/BreakpointSiteList.cpp +SRCS+= Breakpoint/StopPointSiteList.cpp SRCS+= Breakpoint/Stoppoint.cpp SRCS+= Breakpoint/StoppointCallbackContext.cpp SRCS+= Breakpoint/StoppointSite.cpp SRCS+= Breakpoint/Watchpoint.cpp SRCS+= Breakpoint/WatchpointList.cpp SRCS+= Breakpoint/WatchpointOptions.cpp +SRCS+= Breakpoint/WatchpointResource.cpp SRCS+= Commands/CommandCompletions.cpp SRCS+= Commands/CommandObjectApropos.cpp SRCS+= Commands/CommandObjectBreakpoint.cpp @@ -183,7 +187,6 @@ SRCS+= Core/Section.cpp SRCS+= Core/SourceLocationSpec.cpp SRCS+= Core/SourceManager.cpp SRCS+= Core/StreamAsynchronousIO.cpp -SRCS+= Core/StreamFile.cpp SRCS+= Core/ThreadedCommunication.cpp SRCS+= Core/UserSettingsController.cpp SRCS+= Core/Value.cpp @@ -200,6 +203,7 @@ SRCS+= Core/ValueObjectMemory.cpp SRCS+= Core/ValueObjectRegister.cpp SRCS+= Core/ValueObjectSyntheticFilter.cpp SRCS+= Core/ValueObjectUpdater.cpp +SRCS+= Core/ValueObjectVTable.cpp SRCS+= Core/ValueObjectVariable.cpp SRCS+= DataFormatters/CXXFunctionPointer.cpp SRCS+= DataFormatters/DataVisualization.cpp @@ -258,6 +262,7 @@ SRCS+= Host/common/ProcessRunLock.cpp SRCS+= Host/common/PseudoTerminal.cpp SRCS+= Host/common/Socket.cpp SRCS+= Host/common/SocketAddress.cpp +SRCS+= Host/common/StreamFile.cpp SRCS+= Host/common/TCPSocket.cpp SRCS+= Host/common/Terminal.cpp SRCS+= Host/common/ThreadLauncher.cpp @@ -334,6 +339,7 @@ SRCS+= Plugins/ABI/Mips/ABISysV_mips64.cpp SRCS+= Plugins/ABI/PowerPC/ABIPowerPC.cpp SRCS+= Plugins/ABI/PowerPC/ABISysV_ppc.cpp SRCS+= Plugins/ABI/PowerPC/ABISysV_ppc64.cpp +SRCS+= Plugins/ABI/RISCV/ABISysV_riscv.cpp SRCS+= Plugins/ABI/X86/ABISysV_i386.cpp SRCS+= Plugins/ABI/X86/ABISysV_x86_64.cpp SRCS+= Plugins/ABI/X86/ABIX86.cpp @@ -380,9 +386,11 @@ SRCS+= Plugins/Instruction/MIPS64/EmulateInstructionMIPS64.cpp SRCS+= Plugins/Instruction/PPC64/EmulateInstructionPPC64.cpp SRCS+= Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp SRCS+= Plugins/InstrumentationRuntime/ASan/InstrumentationRuntimeASan.cpp +SRCS+= Plugins/InstrumentationRuntime/ASanLibsanitizers/InstrumentationRuntimeASanLibsanitizers.cpp SRCS+= Plugins/InstrumentationRuntime/MainThreadChecker/InstrumentationRuntimeMainThreadChecker.cpp SRCS+= Plugins/InstrumentationRuntime/TSan/InstrumentationRuntimeTSan.cpp SRCS+= Plugins/InstrumentationRuntime/UBSan/InstrumentationRuntimeUBSan.cpp +SRCS+= Plugins/InstrumentationRuntime/Utility/ReportRetriever.cpp SRCS+= Plugins/JITLoader/GDB/JITLoaderGDB.cpp SRCS+= Plugins/Language/CPlusPlus/BlockPointer.cpp SRCS+= Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp @@ -439,6 +447,7 @@ SRCS+= Plugins/ObjectFile/ELF/ELFHeader.cpp SRCS+= Plugins/ObjectFile/ELF/ObjectFileELF.cpp SRCS+= Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp SRCS+= Plugins/Platform/POSIX/PlatformPOSIX.cpp +SRCS+= Plugins/Platform/QemuUser/PlatformQemuUser.cpp SRCS+= Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp SRCS+= Plugins/Process/FreeBSD/NativeProcessFreeBSD.cpp SRCS+= Plugins/Process/FreeBSD/NativeRegisterContextFreeBSD.cpp @@ -492,6 +501,7 @@ SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_ppc64le.cpp SRCS+= Plugins/Process/Utility/RegisterContextPOSIX_x86.cpp SRCS+= Plugins/Process/Utility/RegisterContextThreadMemory.cpp SRCS+= Plugins/Process/Utility/RegisterContext_x86.cpp +SRCS+= Plugins/Process/Utility/RegisterFlagsLinux_arm64.cpp SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_arm.cpp SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_arm64.cpp SRCS+= Plugins/Process/Utility/RegisterInfoPOSIX_ppc64le.cpp @@ -538,7 +548,6 @@ SRCS+= Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFContext.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDIE.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDataExtractor.cpp -SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugAbbrev.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugArangeSet.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugAranges.cpp SRCS+= Plugins/SymbolFile/DWARF/DWARFDebugInfo.cpp @@ -560,6 +569,8 @@ SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp SRCS+= Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp SRCS+= Plugins/SymbolFile/DWARF/UniqueDWARFASTType.cpp SRCS+= Plugins/SymbolFile/Symtab/SymbolFileSymtab.cpp +SRCS+= Plugins/SymbolLocator/Default/SymbolLocatorDefault.cpp +SRCS+= Plugins/SymbolLocator/Debuginfod/SymbolLocatorDebuginfod.cpp SRCS+= Plugins/SymbolVendor/ELF/SymbolVendorELF.cpp SRCS+= Plugins/TypeSystem/Clang/TypeSystemClang.cpp SRCS+= Plugins/UnwindAssembly/InstEmulation/UnwindAssemblyInstEmulation.cpp @@ -579,7 +590,6 @@ SRCS+= Symbol/FuncUnwinders.cpp SRCS+= Symbol/Function.cpp SRCS+= Symbol/LineEntry.cpp SRCS+= Symbol/LineTable.cpp -SRCS+= Symbol/LocateSymbolFile.cpp SRCS+= Symbol/ObjectContainer.cpp SRCS+= Symbol/ObjectFile.cpp SRCS+= Symbol/PostfixExpression.cpp @@ -587,6 +597,7 @@ SRCS+= Symbol/Symbol.cpp SRCS+= Symbol/SymbolContext.cpp SRCS+= Symbol/SymbolFile.cpp SRCS+= Symbol/SymbolFileOnDemand.cpp +SRCS+= Symbol/SymbolLocator.cpp SRCS+= Symbol/SymbolVendor.cpp SRCS+= Symbol/Symtab.cpp SRCS+= Symbol/Type.cpp @@ -664,10 +675,12 @@ SRCS+= Target/TraceDumper.cpp SRCS+= Target/UnixSignals.cpp SRCS+= Target/UnwindAssembly.cpp SRCS+= Target/UnwindLLDB.cpp +SRCS+= Utility/AddressableBits.cpp SRCS+= Utility/ArchSpec.cpp SRCS+= Utility/Args.cpp SRCS+= Utility/Baton.cpp SRCS+= Utility/Broadcaster.cpp +SRCS+= Utility/Checksum.cpp SRCS+= Utility/CompletionRequest.cpp SRCS+= Utility/Connection.cpp SRCS+= Utility/ConstString.cpp @@ -727,8 +740,10 @@ TGHDRS+= CommandOptions.inc Core/Core \ Interpreter/Interpreter \ Plugins/JITLoader/GDB/JITLoaderGDB \ + Plugins/Platform/QemuUser/PlatformQemuUser \ Plugins/Process/gdb-remote/ProcessGDBRemote \ Plugins/SymbolFile/DWARF/SymbolFileDWARF \ + Plugins/SymbolLocator/Debuginfod/SymbolLocatorDebuginfod \ Target/Target ${path:T}Properties.inc: ${LLDB_SRCS}/source/${path}Properties.td ${LLDB_TBLGEN} -gen-lldb-property-defs \ diff --git a/lib/clang/libllvm/Makefile b/lib/clang/libllvm/Makefile index b59d881ad99a..839af78865a0 100644 --- a/lib/clang/libllvm/Makefile +++ b/lib/clang/libllvm/Makefile @@ -79,6 +79,7 @@ SRCS_MIN+= Analysis/Delinearization.cpp SRCS_MIN+= Analysis/DemandedBits.cpp SRCS_MIN+= Analysis/DependenceAnalysis.cpp SRCS_MIN+= Analysis/DependenceGraphBuilder.cpp +SRCS_MIN+= Analysis/DomConditionCache.cpp SRCS_MIN+= Analysis/DomPrinter.cpp SRCS_MIN+= Analysis/DomTreeUpdater.cpp SRCS_MIN+= Analysis/DominanceFrontier.cpp @@ -148,6 +149,7 @@ SRCS_MIN+= Analysis/ScalarEvolutionNormalization.cpp SRCS_MIN+= Analysis/ScopedNoAliasAA.cpp SRCS_MIN+= Analysis/StackLifetime.cpp SRCS_MIN+= Analysis/StackSafetyAnalysis.cpp +SRCS_MIN+= Analysis/StructuralHash.cpp SRCS_MIN+= Analysis/SyntheticCountsUtils.cpp SRCS_MIN+= Analysis/TargetLibraryInfo.cpp SRCS_MIN+= Analysis/TargetTransformInfo.cpp @@ -167,8 +169,8 @@ SRCS_MIN+= AsmParser/Parser.cpp SRCS_MIN+= BinaryFormat/AMDGPUMetadataVerifier.cpp SRCS_MIN+= BinaryFormat/COFF.cpp SRCS_MIN+= BinaryFormat/Dwarf.cpp -SRCS_MIN+= BinaryFormat/Magic.cpp SRCS_MIN+= BinaryFormat/MachO.cpp +SRCS_MIN+= BinaryFormat/Magic.cpp SRCS_MIN+= BinaryFormat/MsgPackDocument.cpp SRCS_MIN+= BinaryFormat/MsgPackDocumentYAML.cpp SRCS_MIN+= BinaryFormat/MsgPackReader.cpp @@ -216,6 +218,7 @@ SRCS_MIN+= CodeGen/AsmPrinter/WinCFGuard.cpp SRCS_MIN+= CodeGen/AsmPrinter/WinException.cpp SRCS_MIN+= CodeGen/AssignmentTrackingAnalysis.cpp SRCS_MIN+= CodeGen/AtomicExpandPass.cpp +SRCS_MIN+= CodeGen/BasicBlockPathCloning.cpp SRCS_MIN+= CodeGen/BasicBlockSections.cpp SRCS_MIN+= CodeGen/BasicBlockSectionsProfileReader.cpp SRCS_MIN+= CodeGen/BasicTargetTransformInfo.cpp @@ -253,14 +256,15 @@ SRCS_MIN+= CodeGen/FaultMaps.cpp SRCS_MIN+= CodeGen/FinalizeISel.cpp SRCS_MIN+= CodeGen/FixupStatepointCallerSaved.cpp SRCS_MIN+= CodeGen/FuncletLayout.cpp +SRCS_MIN+= CodeGen/GCEmptyBasicBlocks.cpp SRCS_MIN+= CodeGen/GCMetadata.cpp SRCS_MIN+= CodeGen/GCMetadataPrinter.cpp SRCS_MIN+= CodeGen/GCRootLowering.cpp SRCS_MIN+= CodeGen/GlobalISel/CSEInfo.cpp SRCS_MIN+= CodeGen/GlobalISel/CSEMIRBuilder.cpp +SRCS_MIN+= CodeGen/GlobalISel/CallLowering.cpp SRCS_MIN+= CodeGen/GlobalISel/Combiner.cpp SRCS_MIN+= CodeGen/GlobalISel/CombinerHelper.cpp -SRCS_MIN+= CodeGen/GlobalISel/CallLowering.cpp SRCS_MIN+= CodeGen/GlobalISel/GIMatchTableExecutor.cpp SRCS_MIN+= CodeGen/GlobalISel/GISelChangeObserver.cpp SRCS_MIN+= CodeGen/GlobalISel/GISelKnownBits.cpp @@ -329,8 +333,8 @@ SRCS_MIN+= CodeGen/MIRPrinter.cpp SRCS_MIN+= CodeGen/MIRPrintingPass.cpp SRCS_MIN+= CodeGen/MIRSampleProfile.cpp SRCS_MIN+= CodeGen/MIRVRegNamerUtils.cpp -SRCS_MIN+= CodeGen/MLRegallocEvictAdvisor.cpp -SRCS_MIN+= CodeGen/MLRegallocPriorityAdvisor.cpp +SRCS_MIN+= CodeGen/MLRegAllocEvictAdvisor.cpp +SRCS_MIN+= CodeGen/MLRegAllocPriorityAdvisor.cpp SRCS_MIN+= CodeGen/MachineBasicBlock.cpp SRCS_MIN+= CodeGen/MachineBlockFrequencyInfo.cpp SRCS_MIN+= CodeGen/MachineBlockPlacement.cpp @@ -392,11 +396,10 @@ SRCS_MIN+= CodeGen/ProcessImplicitDefs.cpp SRCS_MIN+= CodeGen/PrologEpilogInserter.cpp SRCS_MIN+= CodeGen/PseudoProbeInserter.cpp SRCS_MIN+= CodeGen/PseudoSourceValue.cpp -SRCS_MIN+= CodeGen/ReachingDefAnalysis.cpp -SRCS_MIN+= CodeGen/ReplaceWithVeclib.cpp SRCS_MIN+= CodeGen/RDFGraph.cpp SRCS_MIN+= CodeGen/RDFLiveness.cpp SRCS_MIN+= CodeGen/RDFRegisters.cpp +SRCS_MIN+= CodeGen/ReachingDefAnalysis.cpp SRCS_MIN+= CodeGen/RegAllocBase.cpp SRCS_MIN+= CodeGen/RegAllocBasic.cpp SRCS_MIN+= CodeGen/RegAllocEvictionAdvisor.cpp @@ -415,6 +418,7 @@ SRCS_MIN+= CodeGen/RegisterScavenging.cpp SRCS_MIN+= CodeGen/RegisterUsageInfo.cpp SRCS_MIN+= CodeGen/RemoveRedundantDebugValues.cpp SRCS_MIN+= CodeGen/RenameIndependentSubregs.cpp +SRCS_MIN+= CodeGen/ReplaceWithVeclib.cpp SRCS_MIN+= CodeGen/ResetMachineFunctionPass.cpp SRCS_MIN+= CodeGen/SafeStack.cpp SRCS_MIN+= CodeGen/SafeStackLayout.cpp @@ -486,9 +490,18 @@ SRCS_EXT+= DWARFLinker/DWARFLinker.cpp SRCS_EXT+= DWARFLinker/DWARFLinkerCompileUnit.cpp SRCS_EXT+= DWARFLinker/DWARFLinkerDeclContext.cpp SRCS_EXT+= DWARFLinker/DWARFStreamer.cpp +SRCS_EXT+= DWARFLinkerParallel/AcceleratorRecordsSaver.cpp +SRCS_EXT+= DWARFLinkerParallel/DIEAttributeCloner.cpp SRCS_EXT+= DWARFLinkerParallel/DWARFEmitterImpl.cpp +SRCS_EXT+= DWARFLinkerParallel/DWARFFile.cpp SRCS_EXT+= DWARFLinkerParallel/DWARFLinker.cpp +SRCS_EXT+= DWARFLinkerParallel/DWARFLinkerCompileUnit.cpp SRCS_EXT+= DWARFLinkerParallel/DWARFLinkerImpl.cpp +SRCS_EXT+= DWARFLinkerParallel/DWARFLinkerTypeUnit.cpp +SRCS_EXT+= DWARFLinkerParallel/DWARFLinkerUnit.cpp +SRCS_EXT+= DWARFLinkerParallel/DependencyTracker.cpp +SRCS_EXT+= DWARFLinkerParallel/OutputSections.cpp +SRCS_EXT+= DWARFLinkerParallel/SyntheticTypeNameBuilder.cpp SRCS_EXT+= DWP/DWP.cpp SRCS_EXT+= DWP/DWPError.cpp SRCS_MIW+= DebugInfo/BTF/BTFContext.cpp @@ -680,12 +693,13 @@ SRCS_XDB+= ExecutionEngine/Interpreter/Execution.cpp SRCS_XDB+= ExecutionEngine/Interpreter/ExternalFunctions.cpp SRCS_XDB+= ExecutionEngine/Interpreter/Interpreter.cpp SRCS_EXT+= ExecutionEngine/JITLink/COFF.cpp -SRCS_EXT+= ExecutionEngine/JITLink/COFF_x86_64.cpp SRCS_EXT+= ExecutionEngine/JITLink/COFFDirectiveParser.cpp SRCS_EXT+= ExecutionEngine/JITLink/COFFLinkGraphBuilder.cpp +SRCS_EXT+= ExecutionEngine/JITLink/COFF_x86_64.cpp SRCS_EXT+= ExecutionEngine/JITLink/DWARFRecordSectionSplitter.cpp SRCS_EXT+= ExecutionEngine/JITLink/EHFrameSupport.cpp SRCS_EXT+= ExecutionEngine/JITLink/ELF.cpp +SRCS_EXT+= ExecutionEngine/JITLink/ELFLinkGraphBuilder.cpp SRCS_EXT+= ExecutionEngine/JITLink/ELF_aarch32.cpp SRCS_EXT+= ExecutionEngine/JITLink/ELF_aarch64.cpp SRCS_EXT+= ExecutionEngine/JITLink/ELF_i386.cpp @@ -693,7 +707,6 @@ SRCS_EXT+= ExecutionEngine/JITLink/ELF_loongarch.cpp SRCS_EXT+= ExecutionEngine/JITLink/ELF_ppc64.cpp SRCS_EXT+= ExecutionEngine/JITLink/ELF_riscv.cpp SRCS_EXT+= ExecutionEngine/JITLink/ELF_x86_64.cpp -SRCS_EXT+= ExecutionEngine/JITLink/ELFLinkGraphBuilder.cpp SRCS_EXT+= ExecutionEngine/JITLink/JITLink.cpp SRCS_EXT+= ExecutionEngine/JITLink/JITLinkGeneric.cpp SRCS_EXT+= ExecutionEngine/JITLink/JITLinkMemoryManager.cpp @@ -716,7 +729,8 @@ SRCS_EXT+= ExecutionEngine/Orc/CompileUtils.cpp SRCS_EXT+= ExecutionEngine/Orc/Core.cpp SRCS_EXT+= ExecutionEngine/Orc/DebugObjectManagerPlugin.cpp SRCS_EXT+= ExecutionEngine/Orc/DebugUtils.cpp -SRCS_EXT+= ExecutionEngine/Orc/DebuggerSupportPlugin.cpp +SRCS_EXT+= ExecutionEngine/Orc/Debugging/DebuggerSupport.cpp +SRCS_EXT+= ExecutionEngine/Orc/Debugging/DebuggerSupportPlugin.cpp SRCS_EXT+= ExecutionEngine/Orc/ELFNixPlatform.cpp SRCS_EXT+= ExecutionEngine/Orc/EPCDebugObjectRegistrar.cpp SRCS_EXT+= ExecutionEngine/Orc/EPCDynamicLibrarySearchGenerator.cpp @@ -763,7 +777,9 @@ SRCS_XDB+= ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp SRCS_XDB+= ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp SRCS_XDB+= ExecutionEngine/SectionMemoryManager.cpp SRCS_XDB+= ExecutionEngine/TargetSelect.cpp +SRCS_MIN+= Frontend/Driver/CodeGenOptions.cpp SRCS_MIN+= Frontend/HLSL/HLSLResource.cpp +SRCS_MIN+= Frontend/Offloading/Utility.cpp SRCS_MIN+= Frontend/OpenMP/OMP.cpp SRCS_MIN+= Frontend/OpenMP/OMPContext.cpp SRCS_MIN+= Frontend/OpenMP/OMPIRBuilder.cpp @@ -778,6 +794,7 @@ SRCS_MIN+= IR/Comdat.cpp SRCS_MIN+= IR/ConstantFold.cpp SRCS_MIN+= IR/ConstantRange.cpp SRCS_MIN+= IR/Constants.cpp +SRCS_MIN+= IR/ConvergenceVerifier.cpp SRCS_MIN+= IR/Core.cpp SRCS_MIN+= IR/CycleInfo.cpp SRCS_MIN+= IR/DIBuilder.cpp @@ -785,6 +802,7 @@ SRCS_MIN+= IR/DataLayout.cpp SRCS_MIN+= IR/DebugInfo.cpp SRCS_MIN+= IR/DebugInfoMetadata.cpp SRCS_MIN+= IR/DebugLoc.cpp +SRCS_MIN+= IR/DebugProgramInstruction.cpp SRCS_MIN+= IR/DiagnosticHandler.cpp SRCS_MIN+= IR/DiagnosticInfo.cpp SRCS_MIN+= IR/DiagnosticPrinter.cpp @@ -833,8 +851,8 @@ SRCS_MIN+= IR/User.cpp SRCS_MIN+= IR/Value.cpp SRCS_MIN+= IR/ValueSymbolTable.cpp SRCS_MIN+= IR/Verifier.cpp -SRCS_MIN+= IRReader/IRReader.cpp SRCS_MIN+= IRPrinter/IRPrintingPasses.cpp +SRCS_MIN+= IRReader/IRReader.cpp SRCS_MIN+= LTO/LTO.cpp SRCS_MIN+= LTO/LTOBackend.cpp SRCS_EXL+= LTO/LTOCodeGenerator.cpp @@ -842,12 +860,13 @@ SRCS_EXL+= LTO/LTOModule.cpp SRCS_EXL+= LTO/SummaryBasedOptimizations.cpp SRCS_EXL+= LTO/ThinLTOCodeGenerator.cpp SRCS_MIN+= LTO/UpdateCompilerUsed.cpp +SRCS_MIN+= Linker/IRMover.cpp # Only needed for clangd/clang-query, uncomment once we build those. # SRCS_XDW+= LineEditor/LineEditor.cpp -SRCS_MIN+= Linker/IRMover.cpp SRCS_MIN+= Linker/LinkModules.cpp SRCS_MIN+= MC/ConstantPools.cpp SRCS_MIN+= MC/ELFObjectWriter.cpp +SRCS_MIN+= MC/GOFFObjectWriter.cpp SRCS_MIN+= MC/MCAsmBackend.cpp SRCS_MIN+= MC/MCAsmInfo.cpp SRCS_MIN+= MC/MCAsmInfoCOFF.cpp @@ -872,6 +891,7 @@ SRCS_MIN+= MC/MCELFObjectTargetWriter.cpp SRCS_MIN+= MC/MCELFStreamer.cpp SRCS_MIN+= MC/MCExpr.cpp SRCS_MIN+= MC/MCFragment.cpp +SRCS_MIN+= MC/MCGOFFStreamer.cpp SRCS_MIN+= MC/MCInst.cpp SRCS_MIN+= MC/MCInstPrinter.cpp SRCS_MIN+= MC/MCInstrAnalysis.cpp @@ -919,8 +939,8 @@ SRCS_MIN+= MC/MCWasmStreamer.cpp SRCS_MIN+= MC/MCWin64EH.cpp SRCS_MIN+= MC/MCWinCOFFStreamer.cpp SRCS_MIN+= MC/MCWinEH.cpp -SRCS_MIN+= MC/MCXCOFFStreamer.cpp SRCS_MIN+= MC/MCXCOFFObjectTargetWriter.cpp +SRCS_MIN+= MC/MCXCOFFStreamer.cpp SRCS_MIN+= MC/MachObjectWriter.cpp SRCS_MIN+= MC/SPIRVObjectWriter.cpp SRCS_MIN+= MC/StringTableBuilder.cpp @@ -1057,16 +1077,18 @@ SRCS_MIN+= Support/ARMBuildAttrs.cpp SRCS_MIN+= Support/ARMWinEH.cpp SRCS_MIN+= Support/Allocator.cpp SRCS_MIN+= Support/BLAKE3/blake3.c +.if ${TARGET_ARCH} == "amd64" +SRCS_MIN+= Support/BLAKE3/blake3_avx2_x86-64_unix.S +SRCS_MIN+= Support/BLAKE3/blake3_avx512_x86-64_unix.S +.endif SRCS_MIN+= Support/BLAKE3/blake3_dispatch.c .if ${TARGET_ARCH} == "aarch64" SRCS_MIN+= Support/BLAKE3/blake3_neon.c .endif SRCS_MIN+= Support/BLAKE3/blake3_portable.c .if ${TARGET_ARCH} == "amd64" -SRCS_MIN+= Support/BLAKE3/blake3_avx2_x86-64_unix.S SRCS_MIN+= Support/BLAKE3/blake3_sse2_x86-64_unix.S SRCS_MIN+= Support/BLAKE3/blake3_sse41_x86-64_unix.S -SRCS_MIN+= Support/BLAKE3/blake3_avx512_x86-64_unix.S .endif SRCS_COV+= Support/BalancedPartitioning.cpp SRCS_MIN+= Support/BinaryStreamError.cpp @@ -1177,8 +1199,8 @@ SRCS_MIN+= Support/UnicodeCaseFold.cpp SRCS_MIN+= Support/UnicodeNameToCodepoint.cpp SRCS_MIN+= Support/UnicodeNameToCodepointGenerated.cpp SRCS_MIN+= Support/Valgrind.cpp -SRCS_MIN+= Support/VirtualFileSystem.cpp SRCS_MIN+= Support/VersionTuple.cpp +SRCS_MIN+= Support/VirtualFileSystem.cpp SRCS_MIN+= Support/Watchdog.cpp SRCS_MIN+= Support/WithColor.cpp SRCS_MIN+= Support/YAMLParser.cpp @@ -1234,6 +1256,7 @@ SRCS_MIN+= Target/AArch64/AArch64MachineFunctionInfo.cpp SRCS_MIN+= Target/AArch64/AArch64MachineScheduler.cpp SRCS_MIN+= Target/AArch64/AArch64MacroFusion.cpp SRCS_MIN+= Target/AArch64/AArch64PBQPRegAlloc.cpp +SRCS_MIN+= Target/AArch64/AArch64PointerAuth.cpp SRCS_MIN+= Target/AArch64/AArch64PromoteConstant.cpp SRCS_MIN+= Target/AArch64/AArch64RedundantCopyElimination.cpp SRCS_MIN+= Target/AArch64/AArch64RegisterInfo.cpp @@ -1256,10 +1279,10 @@ SRCS_MIN+= Target/AArch64/GISel/AArch64GlobalISelUtils.cpp SRCS_MIN+= Target/AArch64/GISel/AArch64InstructionSelector.cpp SRCS_MIN+= Target/AArch64/GISel/AArch64LegalizerInfo.cpp SRCS_MIN+= Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp -SRCS_MIN+= Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp SRCS_MIN+= Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp SRCS_MIN+= Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp SRCS_MIN+= Target/AArch64/GISel/AArch64PostSelectOptimize.cpp +SRCS_MIN+= Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp SRCS_MIN+= Target/AArch64/GISel/AArch64RegisterBankInfo.cpp SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp SRCS_MIN+= Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp @@ -1421,8 +1444,8 @@ SRCS_MIN+= Target/Mips/MipsModuleISelDAGToDAG.cpp SRCS_MIN+= Target/Mips/MipsMulMulBugPass.cpp SRCS_MIN+= Target/Mips/MipsOptimizePICCall.cpp SRCS_MIN+= Target/Mips/MipsOs16.cpp -SRCS_MIN+= Target/Mips/MipsPreLegalizerCombiner.cpp SRCS_MIN+= Target/Mips/MipsPostLegalizerCombiner.cpp +SRCS_MIN+= Target/Mips/MipsPreLegalizerCombiner.cpp SRCS_MIN+= Target/Mips/MipsRegisterBankInfo.cpp SRCS_MIN+= Target/Mips/MipsRegisterInfo.cpp SRCS_MIN+= Target/Mips/MipsSEFrameLowering.cpp @@ -1474,11 +1497,12 @@ SRCS_MIN+= Target/PowerPC/PPCISelLowering.cpp SRCS_MIN+= Target/PowerPC/PPCInstrInfo.cpp SRCS_MIN+= Target/PowerPC/PPCLoopInstrFormPrep.cpp SRCS_MIN+= Target/PowerPC/PPCLowerMASSVEntries.cpp -SRCS_MIN+= Target/PowerPC/PPCMacroFusion.cpp SRCS_MIN+= Target/PowerPC/PPCMCInstLower.cpp SRCS_MIN+= Target/PowerPC/PPCMIPeephole.cpp SRCS_MIN+= Target/PowerPC/PPCMachineFunctionInfo.cpp SRCS_MIN+= Target/PowerPC/PPCMachineScheduler.cpp +SRCS_MIN+= Target/PowerPC/PPCMacroFusion.cpp +SRCS_MIN+= Target/PowerPC/PPCMergeStringPool.cpp SRCS_MIN+= Target/PowerPC/PPCPreEmitPeephole.cpp SRCS_MIN+= Target/PowerPC/PPCReduceCRLogicals.cpp SRCS_MIN+= Target/PowerPC/PPCRegisterInfo.cpp @@ -1499,6 +1523,9 @@ SRCS_MIN+= Target/RISCV/Disassembler/RISCVDisassembler.cpp SRCS_MIN+= Target/RISCV/GISel/RISCVCallLowering.cpp SRCS_MIN+= Target/RISCV/GISel/RISCVInstructionSelector.cpp SRCS_MIN+= Target/RISCV/GISel/RISCVLegalizerInfo.cpp +SRCS_MIN+= Target/RISCV/GISel/RISCVO0PreLegalizerCombiner.cpp +SRCS_MIN+= Target/RISCV/GISel/RISCVPostLegalizerCombiner.cpp +SRCS_MIN+= Target/RISCV/GISel/RISCVPreLegalizerCombiner.cpp SRCS_MIN+= Target/RISCV/GISel/RISCVRegisterBankInfo.cpp SRCS_EXT+= Target/RISCV/MCA/RISCVCustomBehaviour.cpp SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp @@ -1506,30 +1533,34 @@ SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp -SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVMatInt.cpp SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVMCObjectFileInfo.cpp SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp +SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVMatInt.cpp SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp SRCS_MIN+= Target/RISCV/RISCVAsmPrinter.cpp SRCS_MIN+= Target/RISCV/RISCVCodeGenPrepare.cpp +SRCS_MIN+= Target/RISCV/RISCVDeadRegisterDefinitions.cpp SRCS_MIN+= Target/RISCV/RISCVExpandAtomicPseudoInsts.cpp SRCS_MIN+= Target/RISCV/RISCVExpandPseudoInsts.cpp +SRCS_MIN+= Target/RISCV/RISCVFoldMasks.cpp SRCS_MIN+= Target/RISCV/RISCVFrameLowering.cpp SRCS_MIN+= Target/RISCV/RISCVGatherScatterLowering.cpp +SRCS_MIN+= Target/RISCV/RISCVISelDAGToDAG.cpp +SRCS_MIN+= Target/RISCV/RISCVISelLowering.cpp SRCS_MIN+= Target/RISCV/RISCVInsertReadWriteCSR.cpp SRCS_MIN+= Target/RISCV/RISCVInsertVSETVLI.cpp +SRCS_MIN+= Target/RISCV/RISCVInsertWriteVXRM.cpp SRCS_MIN+= Target/RISCV/RISCVInstrInfo.cpp -SRCS_MIN+= Target/RISCV/RISCVISelDAGToDAG.cpp -SRCS_MIN+= Target/RISCV/RISCVISelLowering.cpp SRCS_MIN+= Target/RISCV/RISCVMachineFunctionInfo.cpp SRCS_MIN+= Target/RISCV/RISCVMacroFusion.cpp SRCS_MIN+= Target/RISCV/RISCVMakeCompressible.cpp SRCS_MIN+= Target/RISCV/RISCVMergeBaseOffset.cpp SRCS_MIN+= Target/RISCV/RISCVMoveMerger.cpp SRCS_MIN+= Target/RISCV/RISCVOptWInstrs.cpp +SRCS_MIN+= Target/RISCV/RISCVPostRAExpandPseudoInsts.cpp SRCS_MIN+= Target/RISCV/RISCVPushPopOptimizer.cpp SRCS_MIN+= Target/RISCV/RISCVRVVInitUndef.cpp SRCS_MIN+= Target/RISCV/RISCVRedundantCopyElimination.cpp @@ -1547,6 +1578,10 @@ SRCS_MIN+= Target/TargetMachineC.cpp .if ${MK_LLVM_TARGET_X86} != "no" SRCS_MIN+= Target/X86/AsmParser/X86AsmParser.cpp SRCS_XDW+= Target/X86/Disassembler/X86Disassembler.cpp +SRCS_MIN+= Target/X86/GISel/X86CallLowering.cpp +SRCS_MIN+= Target/X86/GISel/X86InstructionSelector.cpp +SRCS_MIN+= Target/X86/GISel/X86LegalizerInfo.cpp +SRCS_MIN+= Target/X86/GISel/X86RegisterBankInfo.cpp SRCS_EXT+= Target/X86/MCA/X86CustomBehaviour.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86ATTInstPrinter.cpp SRCS_MIN+= Target/X86/MCTargetDesc/X86AsmBackend.cpp @@ -1570,7 +1605,6 @@ SRCS_MIN+= Target/X86/X86AsmPrinter.cpp SRCS_MIN+= Target/X86/X86AvoidStoreForwardingBlocks.cpp SRCS_MIN+= Target/X86/X86AvoidTrailingCall.cpp SRCS_MIN+= Target/X86/X86CallFrameOptimization.cpp -SRCS_MIN+= Target/X86/X86CallLowering.cpp SRCS_MIN+= Target/X86/X86CallingConv.cpp SRCS_MIN+= Target/X86/X86CmovConversion.cpp SRCS_MIN+= Target/X86/X86DiscriminateMemOps.cpp @@ -1591,6 +1625,7 @@ SRCS_MIN+= Target/X86/X86FloatingPoint.cpp SRCS_MIN+= Target/X86/X86FrameLowering.cpp SRCS_MIN+= Target/X86/X86ISelDAGToDAG.cpp SRCS_MIN+= Target/X86/X86ISelLowering.cpp +SRCS_MIN+= Target/X86/X86ISelLoweringCall.cpp SRCS_MIN+= Target/X86/X86IndirectBranchTracking.cpp SRCS_MIN+= Target/X86/X86IndirectThunks.cpp SRCS_MIN+= Target/X86/X86InsertPrefetch.cpp @@ -1599,9 +1634,7 @@ SRCS_MIN+= Target/X86/X86InstCombineIntrinsic.cpp SRCS_MIN+= Target/X86/X86InstrFMA3Info.cpp SRCS_MIN+= Target/X86/X86InstrFoldTables.cpp SRCS_MIN+= Target/X86/X86InstrInfo.cpp -SRCS_MIN+= Target/X86/X86InstructionSelector.cpp SRCS_MIN+= Target/X86/X86InterleavedAccess.cpp -SRCS_MIN+= Target/X86/X86LegalizerInfo.cpp SRCS_MIN+= Target/X86/X86LoadValueInjectionLoadHardening.cpp SRCS_MIN+= Target/X86/X86LoadValueInjectionRetHardening.cpp SRCS_MIN+= Target/X86/X86LowerAMXIntrinsics.cpp @@ -1613,9 +1646,7 @@ SRCS_MIN+= Target/X86/X86MacroFusion.cpp SRCS_MIN+= Target/X86/X86OptimizeLEAs.cpp SRCS_MIN+= Target/X86/X86PadShortFunction.cpp SRCS_MIN+= Target/X86/X86PartialReduction.cpp -SRCS_MIN+= Target/X86/X86PreAMXConfig.cpp SRCS_MIN+= Target/X86/X86PreTileConfig.cpp -SRCS_MIN+= Target/X86/X86RegisterBankInfo.cpp SRCS_MIN+= Target/X86/X86RegisterInfo.cpp SRCS_MIN+= Target/X86/X86ReturnThunks.cpp SRCS_MIN+= Target/X86/X86SelectionDAGInfo.cpp @@ -1649,6 +1680,7 @@ SRCS_MIW+= TextAPI/Platform.cpp SRCS_MIW+= TextAPI/Symbol.cpp SRCS_MIW+= TextAPI/SymbolSet.cpp SRCS_MIW+= TextAPI/Target.cpp +SRCS_MIW+= TextAPI/TextAPIError.cpp SRCS_MIW+= TextAPI/TextStub.cpp SRCS_MIW+= TextAPI/TextStubCommon.cpp SRCS_MIW+= TextAPI/TextStubV5.cpp @@ -1664,6 +1696,7 @@ SRCS_MIN+= Transforms/Coroutines/CoroElide.cpp SRCS_MIN+= Transforms/Coroutines/CoroFrame.cpp SRCS_MIN+= Transforms/Coroutines/CoroSplit.cpp SRCS_MIN+= Transforms/Coroutines/Coroutines.cpp +SRCS_MIN+= Transforms/HipStdPar/HipStdPar.cpp SRCS_MIN+= Transforms/IPO/AlwaysInliner.cpp SRCS_MIN+= Transforms/IPO/Annotation2Metadata.cpp SRCS_MIN+= Transforms/IPO/ArgumentPromotion.cpp @@ -1740,8 +1773,8 @@ SRCS_MIN+= Transforms/Instrumentation/MemorySanitizer.cpp SRCS_MIN+= Transforms/Instrumentation/PGOInstrumentation.cpp SRCS_MIN+= Transforms/Instrumentation/PGOMemOPSizeOpt.cpp SRCS_MIN+= Transforms/Instrumentation/PoisonChecking.cpp -SRCS_MIN+= Transforms/Instrumentation/SanitizerCoverage.cpp SRCS_MIN+= Transforms/Instrumentation/SanitizerBinaryMetadata.cpp +SRCS_MIN+= Transforms/Instrumentation/SanitizerCoverage.cpp SRCS_MIN+= Transforms/Instrumentation/ThreadSanitizer.cpp SRCS_MIN+= Transforms/Instrumentation/ValueProfileCollector.cpp SRCS_MIN+= Transforms/ObjCARC/DependencyAnalysis.cpp @@ -1776,6 +1809,7 @@ SRCS_MIN+= Transforms/Scalar/IVUsersPrinter.cpp SRCS_MIN+= Transforms/Scalar/IndVarSimplify.cpp SRCS_MIN+= Transforms/Scalar/InductiveRangeCheckElimination.cpp SRCS_MIN+= Transforms/Scalar/InferAddressSpaces.cpp +SRCS_MIN+= Transforms/Scalar/InferAlignment.cpp SRCS_MIN+= Transforms/Scalar/InstSimplifyPass.cpp SRCS_MIN+= Transforms/Scalar/JumpThreading.cpp SRCS_MIN+= Transforms/Scalar/LICM.cpp @@ -1797,8 +1831,8 @@ SRCS_MIN+= Transforms/Scalar/LoopRotation.cpp SRCS_MIN+= Transforms/Scalar/LoopSimplifyCFG.cpp SRCS_MIN+= Transforms/Scalar/LoopSink.cpp SRCS_MIN+= Transforms/Scalar/LoopStrengthReduce.cpp -SRCS_MIN+= Transforms/Scalar/LoopUnrollPass.cpp SRCS_MIN+= Transforms/Scalar/LoopUnrollAndJamPass.cpp +SRCS_MIN+= Transforms/Scalar/LoopUnrollPass.cpp SRCS_MIN+= Transforms/Scalar/LoopVersioningLICM.cpp SRCS_MIN+= Transforms/Scalar/LowerAtomicPass.cpp SRCS_MIN+= Transforms/Scalar/LowerConstantIntrinsics.cpp @@ -1851,6 +1885,7 @@ SRCS_MIN+= Transforms/Utils/CodeLayout.cpp SRCS_MIN+= Transforms/Utils/CodeMoverUtils.cpp SRCS_MIN+= Transforms/Utils/CountVisits.cpp SRCS_MIN+= Transforms/Utils/CtorUtils.cpp +SRCS_MIN+= Transforms/Utils/DXILUpgrade.cpp SRCS_MIN+= Transforms/Utils/Debugify.cpp SRCS_MIN+= Transforms/Utils/DemoteRegToStack.cpp SRCS_MIN+= Transforms/Utils/EntryExitInstrumenter.cpp @@ -1870,9 +1905,10 @@ SRCS_MIN+= Transforms/Utils/IntegerDivision.cpp SRCS_MIN+= Transforms/Utils/LCSSA.cpp SRCS_MIN+= Transforms/Utils/LibCallsShrinkWrap.cpp SRCS_MIN+= Transforms/Utils/Local.cpp +SRCS_MIN+= Transforms/Utils/LoopConstrainer.cpp SRCS_MIN+= Transforms/Utils/LoopPeel.cpp -SRCS_MIN+= Transforms/Utils/LoopSimplify.cpp SRCS_MIN+= Transforms/Utils/LoopRotationUtils.cpp +SRCS_MIN+= Transforms/Utils/LoopSimplify.cpp SRCS_MIN+= Transforms/Utils/LoopUnroll.cpp SRCS_MIN+= Transforms/Utils/LoopUnrollAndJam.cpp SRCS_MIN+= Transforms/Utils/LoopUnrollRuntime.cpp @@ -1886,9 +1922,9 @@ SRCS_MIN+= Transforms/Utils/LowerMemIntrinsics.cpp SRCS_MIN+= Transforms/Utils/LowerSwitch.cpp SRCS_MIN+= Transforms/Utils/MatrixUtils.cpp SRCS_MIN+= Transforms/Utils/Mem2Reg.cpp -SRCS_MIN+= Transforms/Utils/MetaRenamer.cpp SRCS_MIN+= Transforms/Utils/MemoryOpRemark.cpp SRCS_MIN+= Transforms/Utils/MemoryTaggingSupport.cpp +SRCS_MIN+= Transforms/Utils/MetaRenamer.cpp SRCS_MIN+= Transforms/Utils/MisExpect.cpp SRCS_MIN+= Transforms/Utils/ModuleUtils.cpp SRCS_MIN+= Transforms/Utils/MoveAutoInit.cpp @@ -1899,10 +1935,10 @@ SRCS_MIN+= Transforms/Utils/RelLookupTableConverter.cpp SRCS_MIN+= Transforms/Utils/SCCPSolver.cpp SRCS_MIN+= Transforms/Utils/SSAUpdater.cpp SRCS_MIN+= Transforms/Utils/SSAUpdaterBulk.cpp -SRCS_MIN+= Transforms/Utils/SanitizerStats.cpp -SRCS_MIN+= Transforms/Utils/ScalarEvolutionExpander.cpp SRCS_MIN+= Transforms/Utils/SampleProfileInference.cpp SRCS_MIN+= Transforms/Utils/SampleProfileLoaderBaseUtil.cpp +SRCS_MIN+= Transforms/Utils/SanitizerStats.cpp +SRCS_MIN+= Transforms/Utils/ScalarEvolutionExpander.cpp SRCS_MIN+= Transforms/Utils/SimplifyCFG.cpp SRCS_MIN+= Transforms/Utils/SimplifyIndVar.cpp SRCS_MIN+= Transforms/Utils/SimplifyLibCalls.cpp @@ -1921,6 +1957,7 @@ SRCS_MIN+= Transforms/Vectorize/LoopVectorizationLegality.cpp SRCS_MIN+= Transforms/Vectorize/LoopVectorize.cpp SRCS_MIN+= Transforms/Vectorize/SLPVectorizer.cpp SRCS_MIN+= Transforms/Vectorize/VPlan.cpp +SRCS_MIN+= Transforms/Vectorize/VPlanAnalysis.cpp SRCS_MIN+= Transforms/Vectorize/VPlanHCFGBuilder.cpp SRCS_MIN+= Transforms/Vectorize/VPlanRecipes.cpp SRCS_MIN+= Transforms/Vectorize/VPlanTransforms.cpp @@ -2086,21 +2123,26 @@ beforebuild: MCCodeEmitter/-gen-emitter \ MCPseudoLowering/-gen-pseudo-lowering \ MnemonicTables/-gen-x86-mnemonic-tables,-asmwriternum=1 \ - O0PreLegalizeGICombiner/-gen-global-isel-combiner-matchtable,-combiners=${arch:H}O0PreLegalizerCombiner \ - PostLegalizeGICombiner/-gen-global-isel-combiner-matchtable,-combiners=${arch:H}PostLegalizerCombiner \ - PostLegalizeGILowering/-gen-global-isel-combiner-matchtable,-combiners=${arch:H}PostLegalizerLowering \ - PreLegalizeGICombiner/-gen-global-isel-combiner-matchtable,-combiners=${arch:H}PreLegalizerCombiner \ + O0PreLegalizeGICombiner/-gen-global-isel-combiner,-combiners=${arch:H}O0PreLegalizerCombiner \ + PostLegalizeGICombiner/-gen-global-isel-combiner,-combiners=${arch:H}PostLegalizerCombiner \ + PostLegalizeGILowering/-gen-global-isel-combiner,-combiners=${arch:H}PostLegalizerLowering \ + PreLegalizeGICombiner/-gen-global-isel-combiner,-combiners=${arch:H}PreLegalizerCombiner \ RegisterBank/-gen-register-bank \ RegisterInfo/-gen-register-info \ SearchableTables/-gen-searchable-tables \ SubtargetInfo/-gen-subtarget \ SystemOperands/-gen-searchable-tables \ SystemRegister/-gen-searchable-tables -${arch:T}Gen${hdr:H}.inc: ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td +. if "${arch:T}" == "RISCV" && "${hdr:T:C/(-gen-global-isel).*/\1/}" == "-gen-global-isel" +tdfile_${arch:T}_${hdr:H}= ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}GISel.td +. else +tdfile_${arch:T}_${hdr:H}= ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td +.endif +${arch:T}Gen${hdr:H}.inc: ${tdfile_${arch:T}_${hdr:H}} ${LLVM_TBLGEN} ${hdr:T:C/,/ /g} \ -I ${LLVM_SRCS}/include -I ${LLVM_SRCS}/lib/Target/${arch:H} \ -d ${.TARGET}.d -o ${.TARGET} \ - ${LLVM_SRCS}/lib/Target/${arch:H}/${arch:T}.td + ${tdfile_${arch:T}_${hdr:H}} . endfor .endfor .if ${MK_LLVM_TARGET_AARCH64} != "no" @@ -2187,12 +2229,15 @@ TGHDRS+= RISCVGenAsmWriter.inc TGHDRS+= RISCVGenCallingConv.inc TGHDRS+= RISCVGenCompressInstEmitter.inc TGHDRS+= RISCVGenDAGISel.inc -TGHDRS+= RISCVGenDisassemblerTables.inc TGHDRS+= RISCVGenDAGISel.inc +TGHDRS+= RISCVGenDisassemblerTables.inc TGHDRS+= RISCVGenGlobalISel.inc TGHDRS+= RISCVGenInstrInfo.inc TGHDRS+= RISCVGenMCCodeEmitter.inc TGHDRS+= RISCVGenMCPseudoLowering.inc +TGHDRS+= RISCVGenO0PreLegalizeGICombiner.inc +TGHDRS+= RISCVGenPostLegalizeGICombiner.inc +TGHDRS+= RISCVGenPreLegalizeGICombiner.inc TGHDRS+= RISCVGenRegisterBank.inc TGHDRS+= RISCVGenRegisterInfo.inc TGHDRS+= RISCVGenSearchableTables.inc diff --git a/lib/libc++/Makefile b/lib/libc++/Makefile index 937d73434b0f..649590a3b67a 100644 --- a/lib/libc++/Makefile +++ b/lib/libc++/Makefile @@ -20,10 +20,12 @@ SRCS+= any.cpp SRCS+= atomic.cpp SRCS+= barrier.cpp SRCS+= bind.cpp +SRCS+= call_once.cpp SRCS+= charconv.cpp SRCS+= chrono.cpp SRCS+= condition_variable.cpp SRCS+= condition_variable_destructor.cpp +SRCS+= error_category.cpp SRCS+= exception.cpp SRCS+= filesystem/directory_entry.cpp SRCS+= filesystem/directory_iterator.cpp @@ -109,10 +111,8 @@ STD_HEADERS+= __hash_table STD_HEADERS+= __locale STD_HEADERS+= __mbstate_t.h STD_HEADERS+= __node_handle -STD_HEADERS+= __pstl_algorithm -STD_HEADERS+= __pstl_memory -STD_HEADERS+= __pstl_numeric STD_HEADERS+= __split_buffer +STD_HEADERS+= __std_clang_module STD_HEADERS+= __std_mbstate_t.h STD_HEADERS+= __threading_support STD_HEADERS+= __tree @@ -184,7 +184,6 @@ STD_HEADERS+= iterator STD_HEADERS+= latch STD_HEADERS+= libcxx.imp STD_HEADERS+= limits -STD_HEADERS+= limits.h STD_HEADERS+= list STD_HEADERS+= locale STD_HEADERS+= locale.h @@ -208,7 +207,6 @@ STD_HEADERS+= regex STD_HEADERS+= scoped_allocator STD_HEADERS+= semaphore STD_HEADERS+= set -STD_HEADERS+= setjmp.h STD_HEADERS+= shared_mutex STD_HEADERS+= source_location STD_HEADERS+= span @@ -227,6 +225,7 @@ STD_HEADERS+= string STD_HEADERS+= string.h STD_HEADERS+= string_view STD_HEADERS+= strstream +STD_HEADERS+= syncstream STD_HEADERS+= system_error STD_HEADERS+= tgmath.h STD_HEADERS+= thread @@ -286,6 +285,7 @@ ALG_HEADERS+= find_end.h ALG_HEADERS+= find_first_of.h ALG_HEADERS+= find_if.h ALG_HEADERS+= find_if_not.h +ALG_HEADERS+= find_segment_if.h ALG_HEADERS+= for_each.h ALG_HEADERS+= for_each_n.h ALG_HEADERS+= for_each_segment.h @@ -338,6 +338,7 @@ ALG_HEADERS+= pstl_any_all_none_of.h ALG_HEADERS+= pstl_backend.h ALG_HEADERS+= pstl_copy.h ALG_HEADERS+= pstl_count.h +ALG_HEADERS+= pstl_equal.h ALG_HEADERS+= pstl_fill.h ALG_HEADERS+= pstl_find.h ALG_HEADERS+= pstl_for_each.h @@ -345,7 +346,9 @@ ALG_HEADERS+= pstl_frontend_dispatch.h ALG_HEADERS+= pstl_generate.h ALG_HEADERS+= pstl_is_partitioned.h ALG_HEADERS+= pstl_merge.h +ALG_HEADERS+= pstl_move.h ALG_HEADERS+= pstl_replace.h +ALG_HEADERS+= pstl_rotate_copy.h ALG_HEADERS+= pstl_sort.h ALG_HEADERS+= pstl_stable_sort.h ALG_HEADERS+= pstl_transform.h @@ -361,6 +364,7 @@ ALG_HEADERS+= ranges_copy_if.h ALG_HEADERS+= ranges_copy_n.h ALG_HEADERS+= ranges_count.h ALG_HEADERS+= ranges_count_if.h +ALG_HEADERS+= ranges_ends_with.h ALG_HEADERS+= ranges_equal.h ALG_HEADERS+= ranges_equal_range.h ALG_HEADERS+= ranges_fill.h @@ -535,6 +539,7 @@ BIT_HEADERS+= countl.h BIT_HEADERS+= countr.h BIT_HEADERS+= endian.h BIT_HEADERS+= has_single_bit.h +BIT_HEADERS+= invert_if.h BIT_HEADERS+= popcount.h BIT_HEADERS+= rotate.h .for hdr in ${BIT_HEADERS} @@ -579,6 +584,8 @@ CHR_HEADERS+= statically_widen.h CHR_HEADERS+= steady_clock.h CHR_HEADERS+= system_clock.h CHR_HEADERS+= time_point.h +CHR_HEADERS+= tzdb.h +CHR_HEADERS+= tzdb_list.h CHR_HEADERS+= weekday.h CHR_HEADERS+= year.h CHR_HEADERS+= year_month.h @@ -777,6 +784,7 @@ FUN+= ${HDRDIR}/__functional/${hdr} INCSGROUPS+= FWD FWDDIR= ${CXXINCLUDEDIR}/__fwd FWD_HEADERS+= array.h +FWD_HEADERS+= bit_reference.h FWD_HEADERS+= fstream.h FWD_HEADERS+= get.h FWD_HEADERS+= hash.h @@ -861,12 +869,38 @@ LBA_HEADERS+= locale_guard.h LBA+= ${HDRDIR}/__locale_dir/locale_base_api/${hdr} .endfor +INCSGROUPS+= MAT +MATDIR= ${CXXINCLUDEDIR}/__math +MAT_HEADERS+= abs.h +MAT_HEADERS+= copysign.h +MAT_HEADERS+= error_functions.h +MAT_HEADERS+= exponential_functions.h +MAT_HEADERS+= fdim.h +MAT_HEADERS+= fma.h +MAT_HEADERS+= gamma.h +MAT_HEADERS+= hyperbolic_functions.h +MAT_HEADERS+= hypot.h +MAT_HEADERS+= inverse_hyperbolic_functions.h +MAT_HEADERS+= inverse_trigonometric_functions.h +MAT_HEADERS+= logarithms.h +MAT_HEADERS+= min_max.h +MAT_HEADERS+= modulo.h +MAT_HEADERS+= remainder.h +MAT_HEADERS+= roots.h +MAT_HEADERS+= rounding_functions.h +MAT_HEADERS+= traits.h +MAT_HEADERS+= trigonometric_functions.h +.for hdr in ${MAT_HEADERS} +MAT+= ${HDRDIR}/__math/${hdr} +.endfor + INCSGROUPS+= MDS MDSDIR= ${CXXINCLUDEDIR}/__mdspan MDS_HEADERS+= default_accessor.h MDS_HEADERS+= extents.h MDS_HEADERS+= layout_left.h MDS_HEADERS+= layout_right.h +MDS_HEADERS+= layout_stride.h MDS_HEADERS+= mdspan.h .for hdr in ${MDS_HEADERS} MDS+= ${HDRDIR}/__mdspan/${hdr} @@ -923,6 +957,7 @@ INCSGROUPS+= MUT MUTDIR= ${CXXINCLUDEDIR}/__mutex MUT_HEADERS+= lock_guard.h MUT_HEADERS+= mutex.h +MUT_HEADERS+= once_flag.h MUT_HEADERS+= tag_types.h MUT_HEADERS+= unique_lock.h .for hdr in ${MUT_HEADERS} @@ -950,48 +985,6 @@ NUM_HEADERS+= transform_reduce.h NUM+= ${HDRDIR}/__numeric/${hdr} .endfor -INCSGROUPS+= PSI -PSIDIR= ${CXXINCLUDEDIR}/__pstl/internal -PSI_HEADERS+= algorithm_fwd.h -PSI_HEADERS+= algorithm_impl.h -PSI_HEADERS+= execution_defs.h -PSI_HEADERS+= execution_impl.h -PSI_HEADERS+= glue_algorithm_defs.h -PSI_HEADERS+= glue_algorithm_impl.h -PSI_HEADERS+= glue_memory_defs.h -PSI_HEADERS+= glue_memory_impl.h -PSI_HEADERS+= glue_numeric_defs.h -PSI_HEADERS+= glue_numeric_impl.h -PSI_HEADERS+= memory_impl.h -PSI_HEADERS+= numeric_fwd.h -PSI_HEADERS+= numeric_impl.h -PSI_HEADERS+= parallel_backend.h -PSI_HEADERS+= parallel_backend_omp.h -PSI_HEADERS+= parallel_backend_serial.h -PSI_HEADERS+= parallel_backend_tbb.h -PSI_HEADERS+= parallel_backend_utils.h -PSI_HEADERS+= unseq_backend_simd.h -PSI_HEADERS+= utils.h -.for hdr in ${PSI_HEADERS} -PSI+= ${HDRDIR}/__pstl/internal/${hdr} -.endfor - -INCSGROUPS+= PSO -PSODIR= ${CXXINCLUDEDIR}/__pstl/internal/omp -PSO_HEADERS+= parallel_for.h -PSO_HEADERS+= parallel_for_each.h -PSO_HEADERS+= parallel_invoke.h -PSO_HEADERS+= parallel_merge.h -PSO_HEADERS+= parallel_scan.h -PSO_HEADERS+= parallel_stable_partial_sort.h -PSO_HEADERS+= parallel_stable_sort.h -PSO_HEADERS+= parallel_transform_reduce.h -PSO_HEADERS+= parallel_transform_scan.h -PSO_HEADERS+= util.h -.for hdr in ${PSO_HEADERS} -PSO+= ${HDRDIR}/__pstl/internal/omp/${hdr} -.endfor - INCSGROUPS+= RND RNDDIR= ${CXXINCLUDEDIR}/__random RND_HEADERS+= bernoulli_distribution.h @@ -1040,6 +1033,7 @@ RNGDIR= ${CXXINCLUDEDIR}/__ranges RNG_HEADERS+= access.h RNG_HEADERS+= all.h RNG_HEADERS+= as_rvalue_view.h +RNG_HEADERS+= chunk_by_view.h RNG_HEADERS+= common_view.h RNG_HEADERS+= concepts.h RNG_HEADERS+= container_compatible_range.h @@ -1120,6 +1114,7 @@ INCSGROUPS+= THR THRDIR= ${CXXINCLUDEDIR}/__thread THR_HEADERS+= formatter.h THR_HEADERS+= id.h +THR_HEADERS+= jthread.h THR_HEADERS+= poll_with_backoff.h THR_HEADERS+= this_thread.h THR_HEADERS+= thread.h @@ -1264,7 +1259,6 @@ TTR_HEADERS+= nat.h TTR_HEADERS+= negation.h TTR_HEADERS+= noexcept_move_assign_container.h TTR_HEADERS+= operation_traits.h -TTR_HEADERS+= predicate_traits.h TTR_HEADERS+= promote.h TTR_HEADERS+= rank.h TTR_HEADERS+= remove_all_extents.h @@ -1290,10 +1284,12 @@ TTR+= ${HDRDIR}/__type_traits/${hdr} INCSGROUPS+= UTL UTLDIR= ${CXXINCLUDEDIR}/__utility UTL_HEADERS+= as_const.h +UTL_HEADERS+= as_lvalue.h UTL_HEADERS+= auto_cast.h UTL_HEADERS+= cmp.h UTL_HEADERS+= convert_to_integral.h UTL_HEADERS+= declval.h +UTL_HEADERS+= empty.h UTL_HEADERS+= exception_guard.h UTL_HEADERS+= exchange.h UTL_HEADERS+= forward.h @@ -1302,12 +1298,13 @@ UTL_HEADERS+= in_place.h UTL_HEADERS+= integer_sequence.h UTL_HEADERS+= is_pointer_in_range.h UTL_HEADERS+= move.h +UTL_HEADERS+= no_destroy.h UTL_HEADERS+= pair.h UTL_HEADERS+= piecewise_construct.h UTL_HEADERS+= priority_tag.h UTL_HEADERS+= rel_ops.h +UTL_HEADERS+= small_buffer.h UTL_HEADERS+= swap.h -UTL_HEADERS+= terminate_on_exception.h UTL_HEADERS+= to_underlying.h UTL_HEADERS+= unreachable.h .for hdr in ${UTL_HEADERS} @@ -1325,26 +1322,33 @@ INCSGROUPS+= EXP EXPDIR= ${CXXINCLUDEDIR}/experimental EXP_HEADERS+= __config EXP_HEADERS+= __memory -EXP_HEADERS+= deque -EXP_HEADERS+= forward_list EXP_HEADERS+= iterator -EXP_HEADERS+= list -EXP_HEADERS+= map -EXP_HEADERS+= memory_resource +EXP_HEADERS+= memory EXP_HEADERS+= propagate_const -EXP_HEADERS+= regex -EXP_HEADERS+= set EXP_HEADERS+= simd -EXP_HEADERS+= string EXP_HEADERS+= type_traits -EXP_HEADERS+= unordered_map -EXP_HEADERS+= unordered_set EXP_HEADERS+= utility -EXP_HEADERS+= vector .for hdr in ${EXP_HEADERS} EXP+= ${HDRDIR}/experimental/${hdr} .endfor +INCSGROUPS+= EXS +EXSDIR= ${CXXINCLUDEDIR}/experimental/__simd +EXS_HEADERS+= abi_tag.h +EXS_HEADERS+= aligned_tag.h +EXS_HEADERS+= declaration.h +EXS_HEADERS+= internal_declaration.h +EXS_HEADERS+= reference.h +EXS_HEADERS+= scalar.h +EXS_HEADERS+= simd.h +EXS_HEADERS+= simd_mask.h +EXS_HEADERS+= traits.h +EXS_HEADERS+= utility.h +EXS_HEADERS+= vec_ext.h +.for hdr in ${EXS_HEADERS} +EXS+= ${HDRDIR}/experimental/__simd/${hdr} +.endfor + INCSGROUPS+= EXT EXTDIR= ${CXXINCLUDEDIR}/ext EXT_HEADERS+= __hash diff --git a/lib/libc++/__config_site b/lib/libc++/__config_site index 858699c83b3d..5693995b9d9f 100644 --- a/lib/libc++/__config_site +++ b/lib/libc++/__config_site @@ -27,7 +27,9 @@ /* #undef _LIBCPP_HAS_NO_RANDOM_DEVICE */ /* #undef _LIBCPP_HAS_NO_LOCALIZATION */ /* #undef _LIBCPP_HAS_NO_WIDE_CHARACTERS */ -#define _LIBCPP_ENABLE_ASSERTIONS_DEFAULT 0 +#define _LIBCPP_HAS_NO_STD_MODULES +#define _LIBCPP_HAS_NO_TIME_ZONE_DATABASE +/* #undef _LIBCPP_INSTRUMENTED_WITH_ASAN */ // PSTL backends /* #undef _LIBCPP_PSTL_CPU_BACKEND_SERIAL */ @@ -35,8 +37,7 @@ /* #undef _LIBCPP_PSTL_CPU_BACKEND_LIBDISPATCH */ // Hardening. -#define _LIBCPP_ENABLE_HARDENED_MODE_DEFAULT 0 -#define _LIBCPP_ENABLE_DEBUG_MODE_DEFAULT 0 +#define _LIBCPP_HARDENING_MODE_DEFAULT 16 // __USE_MINGW_ANSI_STDIO gets redefined on MinGW #ifdef __clang__ diff --git a/lib/libc++/module.modulemap b/lib/libc++/module.modulemap index e3929e56525b..5f57a8a2b1bf 100644 --- a/lib/libc++/module.modulemap +++ b/lib/libc++/module.modulemap @@ -265,6 +265,10 @@ module std_strstream [system] { header "strstream" export * } +module std_syncstream [system] { + header "syncstream" + export * +} module std_system_error [system] { header "system_error" export * @@ -448,10 +452,6 @@ module std_inttypes_h [system] { export * } // <iso646.h> provided by compiler. -module std_limits_h [system] { - header "limits.h" - export * -} module std_locale_h [system] { header "locale.h" export * @@ -460,10 +460,7 @@ module std_math_h [system] { header "math.h" export * } -module std_setjmp_h [system] { - header "setjmp.h" - export * -} +// <setjmp.h> provided by C library. // <signal.h> provided by C library. // FIXME: <stdalign.h> is missing. // <stdarg.h> provided by compiler. @@ -520,73 +517,44 @@ module std_wctype_h [system] { // Experimental C++ standard library interfaces module std_experimental [system] { - module deque { - header "experimental/deque" - export * - } - module forward_list { - header "experimental/forward_list" - export * - } module iterator { header "experimental/iterator" export * } - module list { - header "experimental/list" - export * - } - module map { - header "experimental/map" - export * - } - module memory_resource { - header "experimental/memory_resource" + module memory { + header "experimental/memory" export * } module propagate_const { header "experimental/propagate_const" export * } - module regex { - - header "experimental/regex" - export * - } module simd { + module abi_tag { private header "experimental/__simd/abi_tag.h" } + module aligned_tag { private header "experimental/__simd/aligned_tag.h" } + module declaration { private header "experimental/__simd/declaration.h" } + module internal_declaration { private header "experimental/__simd/internal_declaration.h" } + module reference { private header "experimental/__simd/reference.h" } + module scalar { private header "experimental/__simd/scalar.h" } + module simd { private header "experimental/__simd/simd.h" } + module simd_mask { private header "experimental/__simd/simd_mask.h" } + module traits { private header "experimental/__simd/traits.h" } + module utility { private header "experimental/__simd/utility.h" } + module vec_ext { private header "experimental/__simd/vec_ext.h" } + header "experimental/simd" export * } - module set { - header "experimental/set" - export * - } - module string { - header "experimental/string" - export * - } module type_traits { header "experimental/type_traits" export * } - module unordered_map { - header "experimental/unordered_map" - export * - } - module unordered_set { - header "experimental/unordered_set" - export * - } module utility { header "experimental/utility" export * } - module vector { - header "experimental/vector" - export * - } module __config { - private textual header "experimental/__config" + textual header "experimental/__config" export * } // FIXME these should be private @@ -617,6 +585,9 @@ module std_private_bit_reference [system] { header "__bit_reference" export * } +module std_private_fwd_bit_reference [system] { + header "__fwd/bit_reference.h" +} module std_private_config [system] { textual header "__config" export * @@ -694,6 +665,7 @@ module std_private_algorithm_find_end [system module std_private_algorithm_find_first_of [system] { header "__algorithm/find_first_of.h" } module std_private_algorithm_find_if [system] { header "__algorithm/find_if.h" } module std_private_algorithm_find_if_not [system] { header "__algorithm/find_if_not.h" } +module std_private_algorithm_find_segment_if [system] { header "__algorithm/find_segment_if.h" } module std_private_algorithm_for_each [system] { header "__algorithm/for_each.h" } module std_private_algorithm_for_each_n [system] { header "__algorithm/for_each_n.h" } module std_private_algorithm_for_each_segment [system] { header "__algorithm/for_each_segment.h" } @@ -777,6 +749,7 @@ module std_private_algorithm_pstl_backends_cpu_backends_transform [system module std_private_algorithm_pstl_backends_cpu_backends_transform_reduce [system] { header "__algorithm/pstl_backends/cpu_backends/transform_reduce.h" } module std_private_algorithm_pstl_copy [system] { header "__algorithm/pstl_copy.h" } module std_private_algorithm_pstl_count [system] { header "__algorithm/pstl_count.h" } +module std_private_algorithm_pstl_equal [system] { header "__algorithm/pstl_equal.h" } module std_private_algorithm_pstl_fill [system] { header "__algorithm/pstl_fill.h" } module std_private_algorithm_pstl_find [system] { header "__algorithm/pstl_find.h" @@ -793,7 +766,9 @@ module std_private_algorithm_pstl_frontend_dispatch [system module std_private_algorithm_pstl_generate [system] { header "__algorithm/pstl_generate.h" } module std_private_algorithm_pstl_is_partitioned [system] { header "__algorithm/pstl_is_partitioned.h" } module std_private_algorithm_pstl_merge [system] { header "__algorithm/pstl_merge.h" } +module std_private_algorithm_pstl_move [system] { header "__algorithm/pstl_move.h" } module std_private_algorithm_pstl_replace [system] { header "__algorithm/pstl_replace.h" } +module std_private_algorithm_pstl_rotate_copy [system] { header "__algorithm/pstl_rotate_copy.h" } module std_private_algorithm_pstl_sort [system] { header "__algorithm/pstl_sort.h" } module std_private_algorithm_pstl_stable_sort [system] { header "__algorithm/pstl_stable_sort.h" @@ -830,6 +805,7 @@ module std_private_algorithm_ranges_copy_n [system } module std_private_algorithm_ranges_count [system] { header "__algorithm/ranges_count.h" } module std_private_algorithm_ranges_count_if [system] { header "__algorithm/ranges_count_if.h" } +module std_private_algorithm_ranges_ends_with [system] { header "__algorithm/ranges_ends_with.h" } module std_private_algorithm_ranges_equal [system] { header "__algorithm/ranges_equal.h" } module std_private_algorithm_ranges_equal_range [system] { header "__algorithm/ranges_equal_range.h" @@ -1139,6 +1115,7 @@ module std_private_bit_countl [system] { header "__bit/countl.h" } module std_private_bit_countr [system] { header "__bit/countr.h" } module std_private_bit_endian [system] { header "__bit/endian.h" } module std_private_bit_has_single_bit [system] { header "__bit/has_single_bit.h" } +module std_private_bit_invert_if [system] { header "__bit/invert_if.h" } module std_private_bit_popcount [system] { header "__bit/popcount.h" } module std_private_bit_rotate [system] { header "__bit/rotate.h" } @@ -1191,6 +1168,14 @@ module std_private_chrono_system_clock [system] { header "__chrono/system_clock.h" export std_private_chrono_time_point } +module std_private_chrono_tzdb [system] { + header "__chrono/tzdb.h" + export * +} +module std_private_chrono_tzdb_list [system] { + header "__chrono/tzdb_list.h" + export * +} module std_private_chrono_time_point [system] { header "__chrono/time_point.h" } module std_private_chrono_weekday [system] { header "__chrono/weekday.h" } module std_private_chrono_year [system] { header "__chrono/year.h" } @@ -1482,6 +1467,26 @@ module std_private_locale_locale_base_api_bsd_locale_defaults [system] { textua module std_private_locale_locale_base_api_bsd_locale_fallbacks [system] { textual header "__locale_dir/locale_base_api/bsd_locale_fallbacks.h" } module std_private_locale_locale_base_api_locale_guard [system] { header "__locale_dir/locale_base_api/locale_guard.h" } +module std_private_math_abs [system] { header "__math/abs.h" } +module std_private_math_copysign [system] { header "__math/copysign.h" } +module std_private_math_error_functions [system] { header "__math/error_functions.h" } +module std_private_math_exponential_functions [system] { header "__math/exponential_functions.h" } +module std_private_math_fdim [system] { header "__math/fdim.h" } +module std_private_math_fma [system] { header "__math/fma.h" } +module std_private_math_gamma [system] { header "__math/gamma.h" } +module std_private_math_hyperbolic_functions [system] { header "__math/hyperbolic_functions.h" } +module std_private_math_hypot [system] { header "__math/hypot.h" } +module std_private_math_inverse_hyperbolic_functions [system] { header "__math/inverse_hyperbolic_functions.h" } +module std_private_math_inverse_trigonometric_functions [system] { header "__math/inverse_trigonometric_functions.h" } +module std_private_math_logarithms [system] { header "__math/logarithms.h" } +module std_private_math_min_max [system] { header "__math/min_max.h" } +module std_private_math_modulo [system] { header "__math/modulo.h" } +module std_private_math_remainder [system] { header "__math/remainder.h" } +module std_private_math_roots [system] { header "__math/roots.h" } +module std_private_math_rounding_functions [system] { header "__math/rounding_functions.h" } +module std_private_math_traits [system] { header "__math/traits.h" } +module std_private_math_trigonometric_functions [system] { header "__math/trigonometric_functions.h" } + module std_private_mdspan_default_accessor [system] { header "__mdspan/default_accessor.h" } module std_private_mdspan_extents [system] { header "__mdspan/extents.h" @@ -1489,6 +1494,7 @@ module std_private_mdspan_extents [system] { } module std_private_mdspan_layout_left [system] { header "__mdspan/layout_left.h" } module std_private_mdspan_layout_right [system] { header "__mdspan/layout_right.h" } +module std_private_mdspan_layout_stride [system] { header "__mdspan/layout_stride.h" } module std_private_mdspan_mdspan [system] { header "__mdspan/mdspan.h" } module std_private_mdspan_mdspan_fwd [system] { header "__fwd/mdspan.h" } @@ -1555,6 +1561,7 @@ module std_private_memory_resource_unsynchronized_pool_resource [system] { heade module std_private_mutex_lock_guard [system] { header "__mutex/lock_guard.h" } module std_private_mutex_mutex [system] { header "__mutex/mutex.h" } +module std_private_mutex_once_flag [system] { header "__mutex/once_flag.h" } module std_private_mutex_tag_types [system] { header "__mutex/tag_types.h" } module std_private_mutex_unique_lock [system] { header "__mutex/unique_lock.h" } @@ -1638,6 +1645,7 @@ module std_private_ranges_all [system] { export std_private_ranges_owning_view } module std_private_ranges_as_rvalue_view [system] { header "__ranges/as_rvalue_view.h" } +module std_private_ranges_chunk_by_view [system] { header "__ranges/chunk_by_view.h" } module std_private_ranges_common_view [system] { header "__ranges/common_view.h" } module std_private_ranges_concepts [system] { header "__ranges/concepts.h" @@ -1759,6 +1767,10 @@ module std_private_system_error_system_error [system] { header "__system_erro module std_private_thread_formatter [system] { header "__thread/formatter.h" } module std_private_thread_id [system] { header "__thread/id.h" } +module std_private_thread_jthread [system] { + header "__thread/jthread.h" + export * +} module std_private_thread_poll_with_backoff [system] { header "__thread/poll_with_backoff.h" } module std_private_thread_this_thread [system] { header "__thread/this_thread.h" } module std_private_thread_thread [system] { @@ -1981,7 +1993,6 @@ module std_private_type_traits_nat [system module std_private_type_traits_negation [system] { header "__type_traits/negation.h" } module std_private_type_traits_noexcept_move_assign_container [system] { header "__type_traits/noexcept_move_assign_container.h" } module std_private_type_traits_operation_traits [system] { header "__type_traits/operation_traits.h" } -module std_private_type_traits_predicate_traits [system] { header "__type_traits/predicate_traits.h" } module std_private_type_traits_promote [system] { header "__type_traits/promote.h" } module std_private_type_traits_rank [system] { header "__type_traits/rank.h" } module std_private_type_traits_remove_all_extents [system] { header "__type_traits/remove_all_extents.h" } @@ -2009,6 +2020,7 @@ module std_private_type_traits_unwrap_ref [system module std_private_type_traits_void_t [system] { header "__type_traits/void_t.h" } module std_private_utility_as_const [system] { header "__utility/as_const.h" } +module std_private_utility_as_lvalue [system] { header "__utility/as_lvalue.h" } module std_private_utility_auto_cast [system] { header "__utility/auto_cast.h" export std_private_type_traits_decay @@ -2019,6 +2031,7 @@ module std_private_utility_cmp [system] { } module std_private_utility_convert_to_integral [system] { header "__utility/convert_to_integral.h" } module std_private_utility_declval [system] { header "__utility/declval.h" } +module std_private_utility_empty [system] { header "__utility/empty.h" } module std_private_utility_exception_guard [system] { header "__utility/exception_guard.h" } module std_private_utility_exchange [system] { header "__utility/exchange.h" } module std_private_utility_forward [system] { header "__utility/forward.h" } @@ -2032,6 +2045,7 @@ module std_private_utility_move [system] { export std_private_type_traits_is_nothrow_move_constructible export std_private_type_traits_remove_reference } +module std_private_utility_no_destroy [system] { header "__utility/no_destroy.h" } module std_private_utility_pair [system] { header "__utility/pair.h" export std_private_ranges_subrange_fwd @@ -2050,11 +2064,11 @@ module std_private_utility_pair_fwd [system] { header "__fwd/pair. module std_private_utility_piecewise_construct [system] { header "__utility/piecewise_construct.h" } module std_private_utility_priority_tag [system] { header "__utility/priority_tag.h" } module std_private_utility_rel_ops [system] { header "__utility/rel_ops.h" } +module std_private_utility_small_buffer [system] { header "__utility/small_buffer.h" } module std_private_utility_swap [system] { header "__utility/swap.h" export std_private_type_traits_is_swappable } -module std_private_utility_terminate_on_exception [system] { header "__utility/terminate_on_exception.h" } module std_private_utility_to_underlying [system] { header "__utility/to_underlying.h" } module std_private_utility_unreachable [system] { header "__utility/unreachable.h" } diff --git a/lib/libc++experimental/Makefile b/lib/libc++experimental/Makefile index 6d70c5587ac6..ddc34e8756c9 100644 --- a/lib/libc++experimental/Makefile +++ b/lib/libc++experimental/Makefile @@ -10,7 +10,7 @@ MK_PROFILE= no .PATH: ${SRCDIR}/src -SRCS+= experimental/memory_resource.cpp +SRCS+= experimental/keep.cpp WARNS?= 0 CXXFLAGS+= ${PICFLAG} diff --git a/lib/libclang_rt/asan/Makefile b/lib/libclang_rt/asan/Makefile index 6156371241da..630b2d4ea065 100644 --- a/lib/libclang_rt/asan/Makefile +++ b/lib/libclang_rt/asan/Makefile @@ -27,6 +27,7 @@ SRCS+= asan/asan_stats.cpp SRCS+= asan/asan_suppressions.cpp SRCS+= asan/asan_thread.cpp SRCS+= interception/interception_linux.cpp +SRCS+= lsan/lsan_common.cpp SRCS+= sanitizer_common/sancov_flags.cpp SRCS+= sanitizer_common/sanitizer_allocator.cpp SRCS+= sanitizer_common/sanitizer_allocator_checks.cpp @@ -36,7 +37,7 @@ SRCS+= sanitizer_common/sanitizer_common.cpp SRCS+= sanitizer_common/sanitizer_common_libcdep.cpp SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cpp SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cpp -SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cpp +SRCS+= sanitizer_common/sanitizer_dl.cpp SRCS+= sanitizer_common/sanitizer_errno.cpp SRCS+= sanitizer_common/sanitizer_file.cpp SRCS+= sanitizer_common/sanitizer_flag_parser.cpp @@ -52,6 +53,7 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_printf.cpp SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cpp SRCS+= sanitizer_common/sanitizer_procmaps_common.cpp +SRCS+= sanitizer_common/sanitizer_range.cpp SRCS+= sanitizer_common/sanitizer_stack_store.cpp SRCS+= sanitizer_common/sanitizer_stackdepot.cpp SRCS+= sanitizer_common/sanitizer_stacktrace.cpp @@ -61,6 +63,7 @@ SRCS+= sanitizer_common/sanitizer_suppressions.cpp SRCS+= sanitizer_common/sanitizer_symbolizer.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cpp +SRCS+= sanitizer_common/sanitizer_symbolizer_markup.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_report.cpp SRCS+= sanitizer_common/sanitizer_termination.cpp diff --git a/lib/libclang_rt/asan/warn.txt b/lib/libclang_rt/asan/warn.txt new file mode 100644 index 000000000000..3d3fe896efa9 --- /dev/null +++ b/lib/libclang_rt/asan/warn.txt @@ -0,0 +1,60 @@ +--- sanitizer_common/sanitizer_symbolizer_markup.o --- +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:31:32: warning: format specifies type 'void *' but the argument has type 'uptr' (aka 'unsigned long') [-Wformat] + 31 | buffer->AppendF(kFormatData, DI->start); + | ~~~~~~~~~~~ ^~~~~~~~~ +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:33:46: note: format string is defined here + 33 | constexpr const char *kFormatData = "{{{data:%p}}}"; + | ^~ + | %lu +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:46:43: warning: format specifies type 'void *' but the argument has type 'uptr' (aka 'unsigned long') [-Wformat] + 46 | buffer->AppendF(kFormatFrame, frame_no, address); + | ~~~~~~~~~~~~ ^~~~~~~ +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:36:48: note: format string is defined here + 36 | constexpr const char *kFormatFrame = "{{{bt:%u:%p}}}"; + | ^~ + | %lu +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:51:62: warning: format specifies type 'void *' but the argument has type 'uptr' (aka 'unsigned long') [-Wformat] + 51 | internal_snprintf(buffer, sizeof(buffer), kFormatFunction, addr); + | ~~~~~~~~~~~~~~~ ^~~~ +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:29:48: note: format string is defined here + 29 | constexpr const char *kFormatFunction = "{{{pc:%p}}}"; + | ^~ + | %lu +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:99:34: warning: format specifies type 'int' but the argument has type 'uptr' (aka 'unsigned long') [-Wformat] + 99 | buffer->AppendF(kFormatModule, moduleId, module.full_name(), + | ~~~~~~~~~~~~~ ^~~~~~~~ +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:39:50: note: format string is defined here + 39 | constexpr const char *kFormatModule = "{{{module:%d:%s:elf:%s}}}"; + | ^~ + | %lu +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:121:34: warning: format specifies type 'void *' but the argument has type 'uptr' (aka 'unsigned long') [-Wformat] + 121 | buffer->AppendF(kFormatMmap, range.beg, range.end - range.beg, moduleId, + | ~~~~~~~~~~~ ^~~~~~~~~ +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:42:46: note: format string is defined here + 42 | constexpr const char *kFormatMmap = "{{{mmap:%p:0x%x:load:%d:%s:0x%x}}}"; + | ^~ + | %lu +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:121:45: warning: format specifies type 'unsigned int' but the argument has type 'uptr' (aka 'unsigned long') [-Wformat] + 121 | buffer->AppendF(kFormatMmap, range.beg, range.end - range.beg, moduleId, + | ~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~ +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:42:51: note: format string is defined here + 42 | constexpr const char *kFormatMmap = "{{{mmap:%p:0x%x:load:%d:%s:0x%x}}}"; + | ^~ + | %lx +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:121:68: warning: format specifies type 'int' but the argument has type 'uptr' (aka 'unsigned long') [-Wformat] + 121 | buffer->AppendF(kFormatMmap, range.beg, range.end - range.beg, moduleId, + | ~~~~~~~~~~~ ^~~~~~~~ +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:42:59: note: format string is defined here + 42 | constexpr const char *kFormatMmap = "{{{mmap:%p:0x%x:load:%d:%s:0x%x}}}"; + | ^~ + | %lu +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:122:42: warning: format specifies type 'unsigned int' but the argument has type 'uptr' (aka 'unsigned long') [-Wformat] + 121 | buffer->AppendF(kFormatMmap, range.beg, range.end - range.beg, moduleId, + | ~~~~~~~~~~~ + 122 | accessBuffer.data(), range.beg - module.base_address()); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/share/dim/src/freebsd/llvm-18-update/contrib/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:42:67: note: format string is defined here + 42 | constexpr const char *kFormatMmap = "{{{mmap:%p:0x%x:load:%d:%s:0x%x}}}"; + | ^~ + | %lx +8 warnings generated. diff --git a/lib/libclang_rt/asan_dynamic/Makefile b/lib/libclang_rt/asan_dynamic/Makefile index 1ba9840946b6..ed70c7c3dc34 100644 --- a/lib/libclang_rt/asan_dynamic/Makefile +++ b/lib/libclang_rt/asan_dynamic/Makefile @@ -30,6 +30,7 @@ SRCS+= asan/asan_stats.cpp SRCS+= asan/asan_suppressions.cpp SRCS+= asan/asan_thread.cpp SRCS+= interception/interception_linux.cpp +SRCS+= lsan/lsan_common.cpp SRCS+= sanitizer_common/sancov_flags.cpp SRCS+= sanitizer_common/sanitizer_allocator.cpp SRCS+= sanitizer_common/sanitizer_allocator_checks.cpp @@ -39,7 +40,7 @@ SRCS+= sanitizer_common/sanitizer_common.cpp SRCS+= sanitizer_common/sanitizer_common_libcdep.cpp SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cpp SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cpp -SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cpp +SRCS+= sanitizer_common/sanitizer_dl.cpp SRCS+= sanitizer_common/sanitizer_errno.cpp SRCS+= sanitizer_common/sanitizer_file.cpp SRCS+= sanitizer_common/sanitizer_flag_parser.cpp @@ -55,6 +56,7 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_printf.cpp SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cpp SRCS+= sanitizer_common/sanitizer_procmaps_common.cpp +SRCS+= sanitizer_common/sanitizer_range.cpp SRCS+= sanitizer_common/sanitizer_stack_store.cpp SRCS+= sanitizer_common/sanitizer_stackdepot.cpp SRCS+= sanitizer_common/sanitizer_stacktrace.cpp @@ -64,6 +66,7 @@ SRCS+= sanitizer_common/sanitizer_suppressions.cpp SRCS+= sanitizer_common/sanitizer_symbolizer.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cpp +SRCS+= sanitizer_common/sanitizer_symbolizer_markup.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_report.cpp SRCS+= sanitizer_common/sanitizer_termination.cpp diff --git a/lib/libclang_rt/cfi/Makefile b/lib/libclang_rt/cfi/Makefile index 604c3cd9a593..5fdbb9fd6cc3 100644 --- a/lib/libclang_rt/cfi/Makefile +++ b/lib/libclang_rt/cfi/Makefile @@ -10,7 +10,7 @@ SRCS+= sanitizer_common/sanitizer_allocator_checks.cpp SRCS+= sanitizer_common/sanitizer_common.cpp SRCS+= sanitizer_common/sanitizer_common_libcdep.cpp SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cpp -SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cpp +SRCS+= sanitizer_common/sanitizer_dl.cpp SRCS+= sanitizer_common/sanitizer_errno.cpp SRCS+= sanitizer_common/sanitizer_file.cpp SRCS+= sanitizer_common/sanitizer_flag_parser.cpp @@ -26,6 +26,7 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_printf.cpp SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cpp SRCS+= sanitizer_common/sanitizer_procmaps_common.cpp +SRCS+= sanitizer_common/sanitizer_range.cpp SRCS+= sanitizer_common/sanitizer_suppressions.cpp SRCS+= sanitizer_common/sanitizer_termination.cpp SRCS+= sanitizer_common/sanitizer_thread_arg_retval.cpp diff --git a/lib/libclang_rt/cfi_diag/Makefile b/lib/libclang_rt/cfi_diag/Makefile index 4f4bb9472bb7..66a5d2c88e8d 100644 --- a/lib/libclang_rt/cfi_diag/Makefile +++ b/lib/libclang_rt/cfi_diag/Makefile @@ -14,7 +14,7 @@ SRCS+= sanitizer_common/sanitizer_common.cpp SRCS+= sanitizer_common/sanitizer_common_libcdep.cpp SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cpp SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cpp -SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cpp +SRCS+= sanitizer_common/sanitizer_dl.cpp SRCS+= sanitizer_common/sanitizer_errno.cpp SRCS+= sanitizer_common/sanitizer_file.cpp SRCS+= sanitizer_common/sanitizer_flag_parser.cpp @@ -30,6 +30,7 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_printf.cpp SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cpp SRCS+= sanitizer_common/sanitizer_procmaps_common.cpp +SRCS+= sanitizer_common/sanitizer_range.cpp SRCS+= sanitizer_common/sanitizer_stack_store.cpp SRCS+= sanitizer_common/sanitizer_stackdepot.cpp SRCS+= sanitizer_common/sanitizer_stacktrace.cpp @@ -39,6 +40,7 @@ SRCS+= sanitizer_common/sanitizer_suppressions.cpp SRCS+= sanitizer_common/sanitizer_symbolizer.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cpp +SRCS+= sanitizer_common/sanitizer_symbolizer_markup.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_report.cpp SRCS+= sanitizer_common/sanitizer_termination.cpp diff --git a/lib/libclang_rt/compiler-rt-vars.mk b/lib/libclang_rt/compiler-rt-vars.mk index 2af64e8568af..5a9f115697d9 100644 --- a/lib/libclang_rt/compiler-rt-vars.mk +++ b/lib/libclang_rt/compiler-rt-vars.mk @@ -1,4 +1,4 @@ -CLANG_SUBDIR=clang/17 +CLANG_SUBDIR=clang/18 CLANGDIR= /usr/lib/${CLANG_SUBDIR} SANITIZER_LIBDIR= ${CLANGDIR}/lib/freebsd SANITIZER_SHAREDIR= ${CLANGDIR}/share diff --git a/lib/libclang_rt/dd/Makefile b/lib/libclang_rt/dd/Makefile index 80ed7e497797..558d7cfb6982 100644 --- a/lib/libclang_rt/dd/Makefile +++ b/lib/libclang_rt/dd/Makefile @@ -9,7 +9,7 @@ SRCS+= sanitizer_common/sanitizer_allocator_checks.cpp SRCS+= sanitizer_common/sanitizer_common.cpp SRCS+= sanitizer_common/sanitizer_common_libcdep.cpp SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cpp -SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cpp +SRCS+= sanitizer_common/sanitizer_dl.cpp SRCS+= sanitizer_common/sanitizer_errno.cpp SRCS+= sanitizer_common/sanitizer_file.cpp SRCS+= sanitizer_common/sanitizer_flag_parser.cpp @@ -25,6 +25,7 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_printf.cpp SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cpp SRCS+= sanitizer_common/sanitizer_procmaps_common.cpp +SRCS+= sanitizer_common/sanitizer_range.cpp SRCS+= sanitizer_common/sanitizer_suppressions.cpp SRCS+= sanitizer_common/sanitizer_termination.cpp SRCS+= sanitizer_common/sanitizer_thread_arg_retval.cpp diff --git a/lib/libclang_rt/msan/Makefile b/lib/libclang_rt/msan/Makefile index 474b08a640a7..18afe7e474f1 100644 --- a/lib/libclang_rt/msan/Makefile +++ b/lib/libclang_rt/msan/Makefile @@ -22,7 +22,7 @@ SRCS+= sanitizer_common/sanitizer_common.cpp SRCS+= sanitizer_common/sanitizer_common_libcdep.cpp SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cpp SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cpp -SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cpp +SRCS+= sanitizer_common/sanitizer_dl.cpp SRCS+= sanitizer_common/sanitizer_errno.cpp SRCS+= sanitizer_common/sanitizer_file.cpp SRCS+= sanitizer_common/sanitizer_flag_parser.cpp @@ -38,6 +38,7 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_printf.cpp SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cpp SRCS+= sanitizer_common/sanitizer_procmaps_common.cpp +SRCS+= sanitizer_common/sanitizer_range.cpp SRCS+= sanitizer_common/sanitizer_stack_store.cpp SRCS+= sanitizer_common/sanitizer_stackdepot.cpp SRCS+= sanitizer_common/sanitizer_stacktrace.cpp @@ -47,6 +48,7 @@ SRCS+= sanitizer_common/sanitizer_suppressions.cpp SRCS+= sanitizer_common/sanitizer_symbolizer.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cpp +SRCS+= sanitizer_common/sanitizer_symbolizer_markup.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_report.cpp SRCS+= sanitizer_common/sanitizer_termination.cpp diff --git a/lib/libclang_rt/stats/Makefile b/lib/libclang_rt/stats/Makefile index 2fd929575123..63ed5eb22c5f 100644 --- a/lib/libclang_rt/stats/Makefile +++ b/lib/libclang_rt/stats/Makefile @@ -10,7 +10,7 @@ SRCS+= sanitizer_common/sanitizer_chained_origin_depot.cpp SRCS+= sanitizer_common/sanitizer_common.cpp SRCS+= sanitizer_common/sanitizer_common_libcdep.cpp SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cpp -SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cpp +SRCS+= sanitizer_common/sanitizer_dl.cpp SRCS+= sanitizer_common/sanitizer_errno.cpp SRCS+= sanitizer_common/sanitizer_file.cpp SRCS+= sanitizer_common/sanitizer_flag_parser.cpp @@ -26,6 +26,7 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_printf.cpp SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cpp SRCS+= sanitizer_common/sanitizer_procmaps_common.cpp +SRCS+= sanitizer_common/sanitizer_range.cpp SRCS+= sanitizer_common/sanitizer_stack_store.cpp SRCS+= sanitizer_common/sanitizer_stackdepot.cpp SRCS+= sanitizer_common/sanitizer_stacktrace.cpp @@ -35,6 +36,7 @@ SRCS+= sanitizer_common/sanitizer_suppressions.cpp SRCS+= sanitizer_common/sanitizer_symbolizer.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cpp +SRCS+= sanitizer_common/sanitizer_symbolizer_markup.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_report.cpp SRCS+= sanitizer_common/sanitizer_termination.cpp diff --git a/lib/libclang_rt/tsan/Makefile b/lib/libclang_rt/tsan/Makefile index f3f5bd41668c..906156a48204 100644 --- a/lib/libclang_rt/tsan/Makefile +++ b/lib/libclang_rt/tsan/Makefile @@ -13,7 +13,7 @@ SRCS+= sanitizer_common/sanitizer_common.cpp SRCS+= sanitizer_common/sanitizer_common_libcdep.cpp SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cpp SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cpp -SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cpp +SRCS+= sanitizer_common/sanitizer_dl.cpp SRCS+= sanitizer_common/sanitizer_errno.cpp SRCS+= sanitizer_common/sanitizer_file.cpp SRCS+= sanitizer_common/sanitizer_flag_parser.cpp @@ -29,6 +29,7 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_printf.cpp SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cpp SRCS+= sanitizer_common/sanitizer_procmaps_common.cpp +SRCS+= sanitizer_common/sanitizer_range.cpp SRCS+= sanitizer_common/sanitizer_stack_store.cpp SRCS+= sanitizer_common/sanitizer_stackdepot.cpp SRCS+= sanitizer_common/sanitizer_stacktrace.cpp @@ -38,6 +39,7 @@ SRCS+= sanitizer_common/sanitizer_suppressions.cpp SRCS+= sanitizer_common/sanitizer_symbolizer.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cpp +SRCS+= sanitizer_common/sanitizer_symbolizer_markup.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_report.cpp SRCS+= sanitizer_common/sanitizer_termination.cpp diff --git a/lib/libclang_rt/ubsan_standalone/Makefile b/lib/libclang_rt/ubsan_standalone/Makefile index 95d1c0405e2d..6b4964715b5a 100644 --- a/lib/libclang_rt/ubsan_standalone/Makefile +++ b/lib/libclang_rt/ubsan_standalone/Makefile @@ -13,7 +13,7 @@ SRCS+= sanitizer_common/sanitizer_common.cpp SRCS+= sanitizer_common/sanitizer_common_libcdep.cpp SRCS+= sanitizer_common/sanitizer_coverage_libcdep_new.cpp SRCS+= sanitizer_common/sanitizer_deadlock_detector1.cpp -SRCS+= sanitizer_common/sanitizer_deadlock_detector2.cpp +SRCS+= sanitizer_common/sanitizer_dl.cpp SRCS+= sanitizer_common/sanitizer_errno.cpp SRCS+= sanitizer_common/sanitizer_file.cpp SRCS+= sanitizer_common/sanitizer_flag_parser.cpp @@ -29,6 +29,7 @@ SRCS+= sanitizer_common/sanitizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_printf.cpp SRCS+= sanitizer_common/sanitizer_procmaps_bsd.cpp SRCS+= sanitizer_common/sanitizer_procmaps_common.cpp +SRCS+= sanitizer_common/sanitizer_range.cpp SRCS+= sanitizer_common/sanitizer_stack_store.cpp SRCS+= sanitizer_common/sanitizer_stackdepot.cpp SRCS+= sanitizer_common/sanitizer_stacktrace.cpp @@ -38,6 +39,7 @@ SRCS+= sanitizer_common/sanitizer_suppressions.cpp SRCS+= sanitizer_common/sanitizer_symbolizer.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libbacktrace.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_libcdep.cpp +SRCS+= sanitizer_common/sanitizer_symbolizer_markup.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp SRCS+= sanitizer_common/sanitizer_symbolizer_report.cpp SRCS+= sanitizer_common/sanitizer_termination.cpp diff --git a/lib/libcompiler_rt/Makefile.inc b/lib/libcompiler_rt/Makefile.inc index ab457105d384..fcb5c7b2ebd3 100644 --- a/lib/libcompiler_rt/Makefile.inc +++ b/lib/libcompiler_rt/Makefile.inc @@ -40,6 +40,7 @@ SRCF+= divti3 SRCF+= divxc3 SRCF+= enable_execute_stack SRCF+= extendhfsf2 +SRCF+= extendxftf2 SRCF+= ffsdi2 SRCF+= ffssi2 SRCF+= ffsti2 @@ -109,6 +110,7 @@ SRCF+= subvti3 SRCF+= trampoline_setup SRCF+= truncdfhf2 SRCF+= truncsfhf2 +SRCF+= trunctfxf2 SRCF+= ucmpdi2 SRCF+= ucmpti2 SRCF+= udivdi3 @@ -163,7 +165,8 @@ SRCF+= fp_mode # 128-bit quad precision long double support, # only used on some architectures. # -.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "riscv" +.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ + ${MACHINE_CPUARCH} == "riscv" SRCF+= addtf3 SRCF+= comparetf2 SRCF+= divtf3 @@ -210,6 +213,16 @@ SRCF+= comparedf2 SRCF+= comparesf2 .endif +# +# bfloat16 support, only used on some architectures. +# +.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ + ${MACHINE_CPUARCH} == "arm" || (${MACHINE_CPUARCH} == "i386" && \ + !empty(MACHINE_CPU:Msse2)) || ${MACHINE_CPUARCH} == "riscv" +SRCF+= truncdfbf2 +SRCF+= truncsfbf2 +.endif + # FreeBSD-specific atomic intrinsics. .if ${MACHINE_CPUARCH} == "arm" .PATH: ${SRCTOP}/sys/arm/arm diff --git a/lib/libgcc_s/Symbol.map b/lib/libgcc_s/Symbol.map index 72b083c698ba..2aa31ec34542 100644 --- a/lib/libgcc_s/Symbol.map +++ b/lib/libgcc_s/Symbol.map @@ -155,6 +155,7 @@ GCC_4.6.0 { __eqtf2; __extenddftf2; __extendsftf2; + __extendxftf2; __fixtfdi; __fixtfsi; __fixtfti; @@ -176,5 +177,6 @@ GCC_4.6.0 { __subtf3; __trunctfdf2; __trunctfsf2; + __trunctfxf2; __unordtf2; }; diff --git a/lib/libomp/Makefile b/lib/libomp/Makefile index 52f234512ea7..aa9e6799ab59 100644 --- a/lib/libomp/Makefile +++ b/lib/libomp/Makefile @@ -57,7 +57,8 @@ CXXFLAGS+= -fno-exceptions CXXFLAGS+= -fno-rtti CXXSTD= c++17 -.if ${COMPILER_TYPE} == "clang" && ${MACHINE_CPUARCH} == "i386" +.if ${COMPILER_TYPE} == "clang" +.if ${MACHINE_CPUARCH} == "i386" .if ${COMPILER_VERSION} >= 90000 # When targeting i386, clang 9.0.0 produces a new warning about large atomic # operations "possibly incurring significant performance penalties", but there @@ -69,8 +70,14 @@ CWARNFLAGS+= -Wno-atomic-alignment # builtin operations must have natural alignment, but there is not much we # can do about it. CWARNFLAGS+= -Wno-sync-alignment -.endif -.endif +.endif # COMPILER_VERSION >= 170000 +.endif # MACHINE_CPUARCH == i386 +.if ${COMPILER_VERSION} >= 180000 +# clang 18.0.0 introduces a new warning about variable length arrays in C++, +# which OpenMP makes use of in several sources. +CXXWARNFLAGS+= -Wno-vla-cxx-extension +.endif # COMPILER_VERSION >= 180000 +.endif # COMPILER_TYPE == clang LDFLAGS+= -Wl,--warn-shared-textrel LDFLAGS+= -Wl,--gc-sections diff --git a/lib/libomp/kmp_config.h b/lib/libomp/kmp_config.h index eb6bca431a3d..3a8f726353bf 100644 --- a/lib/libomp/kmp_config.h +++ b/lib/libomp/kmp_config.h @@ -152,6 +152,8 @@ # define CACHE_LINE 128 #elif KMP_ARCH_AARCH64_A64FX # define CACHE_LINE 256 +#elif KMP_ARCH_S390X +# define CACHE_LINE 256 #else # define CACHE_LINE 64 #endif diff --git a/lib/libomp/kmp_i18n_default.inc b/lib/libomp/kmp_i18n_default.inc index 5445622c4d82..253ef7472ce5 100644 --- a/lib/libomp/kmp_i18n_default.inc +++ b/lib/libomp/kmp_i18n_default.inc @@ -1,5 +1,5 @@ // Do not edit this file! // -// The file was generated from en_US.txt by message-converter.pl on Sun Sep 3 00:38:26 2023. // +// The file was generated from en_US.txt by message-converter.pl on Sun Dec 17 22:59:54 2023. // static char const * __kmp_i18n_default_meta[] = @@ -415,6 +415,8 @@ __kmp_i18n_default_messages[] = "KMP_HW_SUBSET ignored: Too many attributes specified. This machine is not a hybrid architecutre.", "KMP_HW_SUBSET: ignoring %1$s attribute. This machine is not a hybrid architecutre.", "Target memory not available, will use default allocator.", + "%1$s ignored: This machine is not a hybrid architecutre. Using \"%2$s\" instead.", + "%1$s ignored: %2$s is not available. Using \"%3$s\" instead.", NULL }; @@ -467,7 +469,7 @@ __kmp_i18n_sections[] = { 5, __kmp_i18n_default_meta }, { 79, __kmp_i18n_default_strings }, { 6, __kmp_i18n_default_formats }, - { 299, __kmp_i18n_default_messages }, + { 301, __kmp_i18n_default_messages }, { 29, __kmp_i18n_default_hints }, { 0, NULL } }; diff --git a/lib/libomp/kmp_i18n_id.inc b/lib/libomp/kmp_i18n_id.inc index 7fee381ab780..e2895a860b32 100644 --- a/lib/libomp/kmp_i18n_id.inc +++ b/lib/libomp/kmp_i18n_id.inc @@ -1,5 +1,5 @@ // Do not edit this file! // -// The file was generated from en_US.txt by message-converter.pl on Sun Sep 3 00:38:26 2023. // +// The file was generated from en_US.txt by message-converter.pl on Sun Dec 17 22:59:54 2023. // enum kmp_i18n_id { @@ -409,6 +409,8 @@ enum kmp_i18n_id { kmp_i18n_msg_AffHWSubsetAttrsNonHybrid, kmp_i18n_msg_AffHWSubsetIgnoringAttr, kmp_i18n_msg_TargetMemNotAvailable, + kmp_i18n_msg_AffIgnoringNonHybrid, + kmp_i18n_msg_AffIgnoringNotAvailable, kmp_i18n_msg_last, // Set #5, hints. diff --git a/lib/libomp/omp.h b/lib/libomp/omp.h index 618e09de86de..94be362f2e6e 100644 --- a/lib/libomp/omp.h +++ b/lib/libomp/omp.h @@ -15,6 +15,7 @@ #ifndef __OMP_H # define __OMP_H +# include <stddef.h> # include <stdlib.h> # include <stdint.h> @@ -236,6 +237,11 @@ extern int __KAI_KMPC_CONVENTION omp_target_memcpy_rect_async(void *, const void *, size_t, int, const size_t *, const size_t *, const size_t *, const size_t *, const size_t *, int, int, int, omp_depend_t *); + + /* OpenMP 6.0 device memory routines */ + extern void * __KAI_KMPC_CONVENTION omp_target_memset(void *, int, size_t, int); + extern void * __KAI_KMPC_CONVENTION omp_target_memset_async(void *, int, size_t, int, int, omp_depend_t *); + /*! * The `omp_get_mapped_ptr` routine returns the device pointer that is associated with a host pointer for a given device. */ @@ -497,7 +503,7 @@ extern int __KAI_KMPC_CONVENTION omp_in_explicit_task(void); /* LLVM Extensions */ - extern void *llvm_omp_target_dynamic_shared_alloc(); + extern void *llvm_omp_target_dynamic_shared_alloc(void); # undef __KAI_KMPC_CONVENTION # undef __KMP_IMP |