aboutsummaryrefslogtreecommitdiff
path: root/lib/clang/include
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang/include')
-rw-r--r--lib/clang/include/Plugins/Plugins.def7
-rw-r--r--lib/clang/include/VCSVersion.inc6
-rw-r--r--lib/clang/include/clang/Basic/Version.inc12
-rw-r--r--lib/clang/include/clang/Config/config.h9
-rw-r--r--lib/clang/include/lld/Common/Version.inc4
-rw-r--r--lib/clang/include/lldb/API/SBLanguages.h101
-rw-r--r--lib/clang/include/lldb/Host/Config.h2
-rw-r--r--lib/clang/include/lldb/Version/Version.inc10
-rw-r--r--lib/clang/include/llvm/Config/AsmParsers.def26
-rw-r--r--lib/clang/include/llvm/Config/AsmPrinters.def26
-rw-r--r--lib/clang/include/llvm/Config/Disassemblers.def26
-rw-r--r--lib/clang/include/llvm/Config/TargetMCAs.def23
-rw-r--r--lib/clang/include/llvm/Config/Targets.def25
-rw-r--r--lib/clang/include/llvm/Config/abi-breaking.h4
-rw-r--r--lib/clang/include/llvm/Config/config.h21
-rw-r--r--lib/clang/include/llvm/Config/llvm-config.h121
-rw-r--r--lib/clang/include/llvm/Support/VCSRevision.h2
17 files changed, 371 insertions, 54 deletions
diff --git a/lib/clang/include/Plugins/Plugins.def b/lib/clang/include/Plugins/Plugins.def
index a1224b71fc75..272e1f3aa5ee 100644
--- a/lib/clang/include/Plugins/Plugins.def
+++ b/lib/clang/include/Plugins/Plugins.def
@@ -33,12 +33,14 @@ LLDB_PLUGIN(ABIAArch64)
LLDB_PLUGIN(ABIARM)
LLDB_PLUGIN(ABIMips)
LLDB_PLUGIN(ABIPowerPC)
+LLDB_PLUGIN(ABIRISCV)
LLDB_PLUGIN(ABIX86)
LLDB_PLUGIN(ArchitectureArm)
LLDB_PLUGIN(ArchitectureMips)
LLDB_PLUGIN(ArchitecturePPC64)
LLDB_PLUGIN(ArchitectureAArch64)
LLDB_PLUGIN(DisassemblerLLVMC)
+LLDB_PLUGIN(DynamicLoaderFreeBSDKernel)
LLDB_PLUGIN(DynamicLoaderPosixDYLD)
LLDB_PLUGIN(DynamicLoaderStatic)
LLDB_PLUGIN(InstructionARM)
@@ -48,6 +50,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)
@@ -58,9 +61,9 @@ LLDB_PLUGIN(MemoryHistoryASan)
LLDB_PLUGIN(ObjectContainerBSDArchive)
LLDB_PLUGIN(ObjectFileBreakpad)
LLDB_PLUGIN(ObjectFileELF)
-LLDB_PLUGIN(ObjectFileJIT)
LLDB_PLUGIN(PlatformFreeBSD)
LLDB_PLUGIN(PlatformGDB)
+LLDB_PLUGIN(PlatformQemuUser)
LLDB_PLUGIN(ScriptedProcess)
LLDB_PLUGIN(ProcessElfCore)
LLDB_PLUGIN(ProcessFreeBSDKernel)
@@ -69,6 +72,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 598871260c01..a18ba351aaab 100644
--- a/lib/clang/include/VCSVersion.inc
+++ b/lib/clang/include/VCSVersion.inc
@@ -1,8 +1,8 @@
-#define LLVM_REVISION "llvmorg-16.0.6-0-g7cbf1a259152"
+#define LLVM_REVISION "llvmorg-19.1.7-0-gcd708029e0b2"
#define LLVM_REPOSITORY "https://github.com/llvm/llvm-project.git"
-#define CLANG_REVISION "llvmorg-16.0.6-0-g7cbf1a259152"
+#define CLANG_REVISION "llvmorg-19.1.7-0-gcd708029e0b2"
#define CLANG_REPOSITORY "https://github.com/llvm/llvm-project.git"
-#define LLDB_REVISION "llvmorg-16.0.6-0-g7cbf1a259152"
+#define LLDB_REVISION "llvmorg-19.1.7-0-gcd708029e0b2"
#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 d5aa1ce51f33..92e55f9316cf 100644
--- a/lib/clang/include/clang/Basic/Version.inc
+++ b/lib/clang/include/clang/Basic/Version.inc
@@ -1,8 +1,8 @@
-#define CLANG_VERSION 16.0.6
-#define CLANG_VERSION_STRING "16.0.6"
-#define CLANG_VERSION_MAJOR 16
-#define CLANG_VERSION_MAJOR_STRING "16"
-#define CLANG_VERSION_MINOR 0
-#define CLANG_VERSION_PATCHLEVEL 6
+#define CLANG_VERSION 19.1.7
+#define CLANG_VERSION_STRING "19.1.7"
+#define CLANG_VERSION_MAJOR 19
+#define CLANG_VERSION_MAJOR_STRING "19"
+#define CLANG_VERSION_MINOR 1
+#define CLANG_VERSION_PATCHLEVEL 7
#define CLANG_VENDOR "FreeBSD "
diff --git a/lib/clang/include/clang/Config/config.h b/lib/clang/include/clang/Config/config.h
index b2c85aa23d19..4895c820620c 100644
--- a/lib/clang/include/clang/Config/config.h
+++ b/lib/clang/include/clang/Config/config.h
@@ -57,6 +57,12 @@
/* Define if we have sys/resource.h (rlimits) */
#define CLANG_HAVE_RLIMITS 1
+/* Define if we have dlfcn.h */
+#define CLANG_HAVE_DLFCN_H 1
+
+/* Define if dladdr() is available on this platform. */
+#define CLANG_HAVE_DLADDR 1
+
/* Linker version detected at compile time. */
/* #undef HOST_LINK_VERSION */
@@ -77,4 +83,7 @@
/* Spawn a new process clang.exe for the CC1 tool invocation, when necessary */
#define CLANG_SPAWN_CC1 0
+/* Whether CIR is built into Clang */
+#define CLANG_ENABLE_CIR 0
+
#endif
diff --git a/lib/clang/include/lld/Common/Version.inc b/lib/clang/include/lld/Common/Version.inc
index b30a085c61cf..0643da4abbf4 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_FREEBSD_VERSION 1500001
-#define LLD_VERSION_STRING "16.0.6 (FreeBSD llvmorg-16.0.6-0-g7cbf1a259152-" __XSTRING(LLD_FREEBSD_VERSION) ")"
+#define LLD_VERSION_STRING "19.1.7 (FreeBSD llvmorg-19.1.7-0-gcd708029e0b2-" __XSTRING(LLD_FREEBSD_VERSION) ")"
diff --git a/lib/clang/include/lldb/API/SBLanguages.h b/lib/clang/include/lldb/API/SBLanguages.h
new file mode 100644
index 000000000000..115dd4145b42
--- /dev/null
+++ b/lib/clang/include/lldb/API/SBLanguages.h
@@ -0,0 +1,101 @@
+//===-- SBLanguages.h -----------------------------------------*- C++ -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLDB_API_SBLANGUAGE_H
+#define LLDB_API_SBLANGUAGE_H
+
+namespace lldb {
+/// Used by \ref SBExpressionOptions.
+/// These enumerations use the same language enumerations as the DWARF
+/// specification for ease of use and consistency.
+enum SBSourceLanguageName : uint16_t {
+ /// ISO Ada.
+ eLanguageNameAda = 0x0001,
+ /// BLISS.
+ eLanguageNameBLISS = 0x0002,
+ /// C (K&R and ISO).
+ eLanguageNameC = 0x0003,
+ /// ISO C++.
+ eLanguageNameC_plus_plus = 0x0004,
+ /// ISO Cobol.
+ eLanguageNameCobol = 0x0005,
+ /// Crystal.
+ eLanguageNameCrystal = 0x0006,
+ /// D.
+ eLanguageNameD = 0x0007,
+ /// Dylan.
+ eLanguageNameDylan = 0x0008,
+ /// ISO Fortran.
+ eLanguageNameFortran = 0x0009,
+ /// Go.
+ eLanguageNameGo = 0x000a,
+ /// Haskell.
+ eLanguageNameHaskell = 0x000b,
+ /// Java.
+ eLanguageNameJava = 0x000c,
+ /// Julia.
+ eLanguageNameJulia = 0x000d,
+ /// Kotlin.
+ eLanguageNameKotlin = 0x000e,
+ /// Modula 2.
+ eLanguageNameModula2 = 0x000f,
+ /// Modula 3.
+ eLanguageNameModula3 = 0x0010,
+ /// Objective C.
+ eLanguageNameObjC = 0x0011,
+ /// Objective C++.
+ eLanguageNameObjC_plus_plus = 0x0012,
+ /// OCaml.
+ eLanguageNameOCaml = 0x0013,
+ /// OpenCL C.
+ eLanguageNameOpenCL_C = 0x0014,
+ /// ISO Pascal.
+ eLanguageNamePascal = 0x0015,
+ /// ANSI PL/I.
+ eLanguageNamePLI = 0x0016,
+ /// Python.
+ eLanguageNamePython = 0x0017,
+ /// RenderScript Kernel Language.
+ eLanguageNameRenderScript = 0x0018,
+ /// Rust.
+ eLanguageNameRust = 0x0019,
+ /// Swift.
+ eLanguageNameSwift = 0x001a,
+ /// Unified Parallel C (UPC).
+ eLanguageNameUPC = 0x001b,
+ /// Zig.
+ eLanguageNameZig = 0x001c,
+ /// Assembly.
+ eLanguageNameAssembly = 0x001d,
+ /// C#.
+ eLanguageNameC_sharp = 0x001e,
+ /// Mojo.
+ eLanguageNameMojo = 0x001f,
+ /// OpenGL Shading Language.
+ eLanguageNameGLSL = 0x0020,
+ /// OpenGL ES Shading Language.
+ eLanguageNameGLSL_ES = 0x0021,
+ /// High Level Shading Language.
+ eLanguageNameHLSL = 0x0022,
+ /// OpenCL C++.
+ eLanguageNameOpenCL_CPP = 0x0023,
+ /// C++ for OpenCL.
+ eLanguageNameCPP_for_OpenCL = 0x0024,
+ /// SYCL.
+ eLanguageNameSYCL = 0x0025,
+ /// Ruby.
+ eLanguageNameRuby = 0x0026,
+ /// Move.
+ eLanguageNameMove = 0x0027,
+ /// Hylo.
+ eLanguageNameHylo = 0x0028,
+};
+
+} // namespace lldb
+
+#endif
diff --git a/lib/clang/include/lldb/Host/Config.h b/lib/clang/include/lldb/Host/Config.h
index 8f6bdf58790e..20783dd62c39 100644
--- a/lib/clang/include/lldb/Host/Config.h
+++ b/lib/clang/include/lldb/Host/Config.h
@@ -55,4 +55,6 @@
/* #undef LLDB_GLOBAL_INIT_DIRECTORY */
+#define LLDB_BUG_REPORT_URL "https://bugs.freebsd.org/submit/"
+
#endif // #ifndef LLDB_HOST_CONFIG_H
diff --git a/lib/clang/include/lldb/Version/Version.inc b/lib/clang/include/lldb/Version/Version.inc
index 99f8a8e09dea..02d44970ff54 100644
--- a/lib/clang/include/lldb/Version/Version.inc
+++ b/lib/clang/include/lldb/Version/Version.inc
@@ -1,6 +1,6 @@
-#define LLDB_VERSION 16.0.6
-#define LLDB_VERSION_STRING "16.0.6"
-#define LLDB_VERSION_MAJOR 16
-#define LLDB_VERSION_MINOR 0
-#define LLDB_VERSION_PATCH 6
+#define LLDB_VERSION 19.1.7
+#define LLDB_VERSION_STRING "19.1.7"
+#define LLDB_VERSION_MAJOR 19
+#define LLDB_VERSION_MINOR 1
+#define LLDB_VERSION_PATCH 7
/* #undef LLDB_FULL_VERSION_STRING */
diff --git a/lib/clang/include/llvm/Config/AsmParsers.def b/lib/clang/include/llvm/Config/AsmParsers.def
index e37ea136a87b..3dccab75a285 100644
--- a/lib/clang/include/llvm/Config/AsmParsers.def
+++ b/lib/clang/include/llvm/Config/AsmParsers.def
@@ -1,3 +1,25 @@
+/*===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===*\
+|* *|
+|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
+|* Exceptions. *|
+|* See https://llvm.org/LICENSE.txt for license information. *|
+|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
+|* *|
+|*===----------------------------------------------------------------------===*|
+|* *|
+|* This file enumerates all of the assembly-language parsers *|
+|* supported by this build of LLVM. Clients of this file should define *|
+|* the LLVM_ASM_PARSER macro to be a function-like macro with a *|
+|* single parameter (the name of the target whose assembly can be *|
+|* generated); including this file will then enumerate all of the *|
+|* targets with assembly parsers. *|
+|* *|
+|* The set of targets supported by LLVM is generated at configuration *|
+|* time, at which point this header is generated. Do not modify this *|
+|* header directly. *|
+|* *|
+\*===----------------------------------------------------------------------===*/
+
#ifndef LLVM_ASM_PARSER
# error Please define the macro LLVM_ASM_PARSER(TargetName)
#endif
@@ -20,11 +42,9 @@ LLVM_ASM_PARSER(PowerPC)
#ifdef LLVM_TARGET_ENABLE_RISCV
LLVM_ASM_PARSER(RISCV)
#endif
-#ifdef LLVM_TARGET_ENABLE_SPARC
-LLVM_ASM_PARSER(Sparc)
-#endif
#ifdef LLVM_TARGET_ENABLE_X86
LLVM_ASM_PARSER(X86)
#endif
+
#undef LLVM_ASM_PARSER
diff --git a/lib/clang/include/llvm/Config/AsmPrinters.def b/lib/clang/include/llvm/Config/AsmPrinters.def
index 819a52bc29e2..649b8353c926 100644
--- a/lib/clang/include/llvm/Config/AsmPrinters.def
+++ b/lib/clang/include/llvm/Config/AsmPrinters.def
@@ -1,3 +1,25 @@
+/*===- llvm/Config/AsmPrinters.def - LLVM Assembly Printers -----*- C++ -*-===*\
+|* *|
+|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
+|* Exceptions. *|
+|* See https://llvm.org/LICENSE.txt for license information. *|
+|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
+|* *|
+|*===----------------------------------------------------------------------===*|
+|* *|
+|* This file enumerates all of the assembly-language printers *|
+|* supported by this build of LLVM. Clients of this file should define *|
+|* the LLVM_ASM_PRINTER macro to be a function-like macro with a *|
+|* single parameter (the name of the target whose assembly can be *|
+|* generated); including this file will then enumerate all of the *|
+|* targets with assembly printers. *|
+|* *|
+|* The set of targets supported by LLVM is generated at configuration *|
+|* time, at which point this header is generated. Do not modify this *|
+|* header directly. *|
+|* *|
+\*===----------------------------------------------------------------------===*/
+
#ifndef LLVM_ASM_PRINTER
# error Please define the macro LLVM_ASM_PRINTER(TargetName)
#endif
@@ -20,11 +42,9 @@ LLVM_ASM_PRINTER(PowerPC)
#ifdef LLVM_TARGET_ENABLE_RISCV
LLVM_ASM_PRINTER(RISCV)
#endif
-#ifdef LLVM_TARGET_ENABLE_SPARC
-LLVM_ASM_PRINTER(Sparc)
-#endif
#ifdef LLVM_TARGET_ENABLE_X86
LLVM_ASM_PRINTER(X86)
#endif
+
#undef LLVM_ASM_PRINTER
diff --git a/lib/clang/include/llvm/Config/Disassemblers.def b/lib/clang/include/llvm/Config/Disassemblers.def
index 90ab73d82294..c44fa4e303e2 100644
--- a/lib/clang/include/llvm/Config/Disassemblers.def
+++ b/lib/clang/include/llvm/Config/Disassemblers.def
@@ -1,3 +1,25 @@
+/*===- llvm/Config/Disassemblers.def - LLVM Assembly Parsers ----*- C++ -*-===*\
+|* *|
+|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
+|* Exceptions. *|
+|* See https://llvm.org/LICENSE.txt for license information. *|
+|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
+|* *|
+|*===----------------------------------------------------------------------===*|
+|* *|
+|* This file enumerates all of the assembly-language parsers *|
+|* supported by this build of LLVM. Clients of this file should define *|
+|* the LLVM_DISASSEMBLER macro to be a function-like macro with a *|
+|* single parameter (the name of the target whose assembly can be *|
+|* generated); including this file will then enumerate all of the *|
+|* targets with assembly parsers. *|
+|* *|
+|* The set of targets supported by LLVM is generated at configuration *|
+|* time, at which point this header is generated. Do not modify this *|
+|* header directly. *|
+|* *|
+\*===----------------------------------------------------------------------===*/
+
#ifndef LLVM_DISASSEMBLER
# error Please define the macro LLVM_DISASSEMBLER(TargetName)
#endif
@@ -20,11 +42,9 @@ LLVM_DISASSEMBLER(PowerPC)
#ifdef LLVM_TARGET_ENABLE_RISCV
LLVM_DISASSEMBLER(RISCV)
#endif
-#ifdef LLVM_TARGET_ENABLE_SPARC
-LLVM_DISASSEMBLER(Sparc)
-#endif
#ifdef LLVM_TARGET_ENABLE_X86
LLVM_DISASSEMBLER(X86)
#endif
+
#undef LLVM_DISASSEMBLER
diff --git a/lib/clang/include/llvm/Config/TargetMCAs.def b/lib/clang/include/llvm/Config/TargetMCAs.def
index e7d4e60c0098..9be6b47e2536 100644
--- a/lib/clang/include/llvm/Config/TargetMCAs.def
+++ b/lib/clang/include/llvm/Config/TargetMCAs.def
@@ -1,3 +1,25 @@
+/*===------ llvm/Config/TargetMCAs.def - LLVM Target MCAs -------*- C++ -*-===*\
+|* *|
+|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
+|* Exceptions. *|
+|* See https://llvm.org/LICENSE.txt for license information. *|
+|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
+|* *|
+|*===----------------------------------------------------------------------===*|
+|* *|
+|* This file enumerates all of the target MCAs *|
+|* supported by this build of LLVM. Clients of this file should define *|
+|* the LLVM_TARGETMCA macro to be a function-like macro with a *|
+|* single parameter (the name of the target whose assembly can be *|
+|* generated); including this file will then enumerate all of the *|
+|* targets with target MCAs. *|
+|* *|
+|* The set of targets supported by LLVM is generated at configuration *|
+|* time, at which point this header is generated. Do not modify this *|
+|* header directly. *|
+|* *|
+\*===----------------------------------------------------------------------===*/
+
#ifndef LLVM_TARGETMCA
# error Please define the macro LLVM_TARGETMCA(TargetName)
#endif
@@ -9,4 +31,5 @@ LLVM_TARGETMCA(RISCV)
LLVM_TARGETMCA(X86)
#endif
+
#undef LLVM_TARGETMCA
diff --git a/lib/clang/include/llvm/Config/Targets.def b/lib/clang/include/llvm/Config/Targets.def
index a9a64ccd4202..d3332a51a2cc 100644
--- a/lib/clang/include/llvm/Config/Targets.def
+++ b/lib/clang/include/llvm/Config/Targets.def
@@ -1,3 +1,24 @@
+/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
+|* *|
+|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
+|* Exceptions. *|
+|* See https://llvm.org/LICENSE.txt for license information. *|
+|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
+|* *|
+|*===----------------------------------------------------------------------===*|
+|* *|
+|* This file enumerates all of the target architectures supported by *|
+|* this build of LLVM. Clients of this file should define the *|
+|* LLVM_TARGET macro to be a function-like macro with a single *|
+|* parameter (the name of the target); including this file will then *|
+|* enumerate all of the targets. *|
+|* *|
+|* The set of targets supported by LLVM is generated at configuration *|
+|* time, at which point this header is generated. Do not modify this *|
+|* header directly. *|
+|* *|
+\*===----------------------------------------------------------------------===*/
+
#ifndef LLVM_TARGET
# error Please define the macro LLVM_TARGET(TargetName)
#endif
@@ -20,11 +41,9 @@ LLVM_TARGET(PowerPC)
#ifdef LLVM_TARGET_ENABLE_RISCV
LLVM_TARGET(RISCV)
#endif
-#ifdef LLVM_TARGET_ENABLE_SPARC
-LLVM_TARGET(Sparc)
-#endif
#ifdef LLVM_TARGET_ENABLE_X86
LLVM_TARGET(X86)
#endif
+
#undef LLVM_TARGET
diff --git a/lib/clang/include/llvm/Config/abi-breaking.h b/lib/clang/include/llvm/Config/abi-breaking.h
index eb90be1fe37b..55e67e2ebad7 100644
--- a/lib/clang/include/llvm/Config/abi-breaking.h
+++ b/lib/clang/include/llvm/Config/abi-breaking.h
@@ -13,7 +13,11 @@
#define LLVM_ABI_BREAKING_CHECKS_H
/* Define to enable checks that alter the LLVM C++ ABI */
+#ifdef NDEBUG
+#define LLVM_ENABLE_ABI_BREAKING_CHECKS 0
+#else
#define LLVM_ENABLE_ABI_BREAKING_CHECKS 1
+#endif
/* Define to enable reverse iteration of unordered llvm containers */
#define LLVM_ENABLE_REVERSE_ITERATION 0
diff --git a/lib/clang/include/llvm/Config/config.h b/lib/clang/include/llvm/Config/config.h
index 78af3cbddcd1..1968fb5072c9 100644
--- a/lib/clang/include/llvm/Config/config.h
+++ b/lib/clang/include/llvm/Config/config.h
@@ -196,9 +196,6 @@
/* Define to 1 if you have the <signal.h> header file. */
#define HAVE_SIGNAL_H 1
-/* Define to 1 if you have the `strerror' function. */
-#define HAVE_STRERROR 1
-
/* Define to 1 if you have the `strerror_r' function. */
#define HAVE_STRERROR_R 1
@@ -236,15 +233,6 @@
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
-/* Define if the setupterm() function is supported this platform. */
-#if defined(__FreeBSD__)
-/*
- * This is only needed for terminalHasColors(). When disabled LLVM falls back
- * to checking a list of TERM prefixes which is sufficient for a bootstrap tool.
- */
-#define LLVM_ENABLE_TERMINFO TRUE
-#endif
-
/* Define to 1 if you have the <termios.h> header file. */
#define HAVE_TERMIOS_H 1
@@ -323,6 +311,9 @@
/* Whether tools show host and target info when invoked with --version */
#define LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO 1
+/* Whether tools show optional build config flags when invoked with --version */
+#define LLVM_VERSION_PRINTER_SHOW_BUILD_CONFIG 1
+
/* Define if libxml2 is supported on this platform. */
/* #undef LLVM_ENABLE_LIBXML2 */
@@ -347,10 +338,10 @@
#define PACKAGE_NAME "LLVM"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "LLVM 16.0.6"
+#define PACKAGE_STRING "LLVM 19.1.7"
/* Define to the version of this package. */
-#define PACKAGE_VERSION "16.0.6"
+#define PACKAGE_VERSION "19.1.7"
/* Define to the vendor of this package. */
/* #undef PACKAGE_VENDOR */
@@ -376,4 +367,6 @@
/* #undef HAVE_PROC_PID_RUSAGE */
+#define HAVE_BUILTIN_THREAD_POINTER 1
+
#endif
diff --git a/lib/clang/include/llvm/Config/llvm-config.h b/lib/clang/include/llvm/Config/llvm-config.h
index cdf493029a3a..4ca2d0083398 100644
--- a/lib/clang/include/llvm/Config/llvm-config.h
+++ b/lib/clang/include/llvm/Config/llvm-config.h
@@ -54,6 +54,109 @@
/* 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 */
+#define LLVM_HAS_SPARC_TARGET 0
+
+/* 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 +170,16 @@
#define LLVM_USE_PERF 0
/* Major version of the LLVM API */
-#define LLVM_VERSION_MAJOR 16
+#define LLVM_VERSION_MAJOR 19
/* Minor version of the LLVM API */
-#define LLVM_VERSION_MINOR 0
+#define LLVM_VERSION_MINOR 1
/* Patch version of the LLVM API */
-#define LLVM_VERSION_PATCH 6
+#define LLVM_VERSION_PATCH 7
/* LLVM version string */
-#define LLVM_VERSION_STRING "16.0.6"
+#define LLVM_VERSION_STRING "19.1.7"
/* Whether LLVM records statistics for use with GetStatistics(),
* PrintStatistics() or PrintStatisticsJSON()
@@ -98,17 +201,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 */
@@ -128,4 +226,7 @@
/* Define if plugins enabled */
/* #undef LLVM_ENABLE_PLUGINS */
+/* Define if logf128 is available */
+/* #undef LLVM_HAS_LOGF128 */
+
#endif
diff --git a/lib/clang/include/llvm/Support/VCSRevision.h b/lib/clang/include/llvm/Support/VCSRevision.h
index 02b970068e71..76aa3f075586 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-16.0.6-0-g7cbf1a259152"
+#define LLVM_REVISION "llvmorg-19.1.7-0-gcd708029e0b2"
#define LLVM_REPOSITORY "https://github.com/llvm/llvm-project.git"