Skip to content

Commit a3780ea

Browse files
committed
Bump llvm-project numbers from 17.0.6 to 18.0.0.
1 parent 5d469ef commit a3780ea

File tree

13 files changed

+960
-414
lines changed

13 files changed

+960
-414
lines changed

ObsoleteFiles.inc

Lines changed: 388 additions & 0 deletions
Large diffs are not rendered by default.

etc/mtree/BSD.debug.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
..
2929
lib
3030
clang
31-
17
31+
18
3232
lib
3333
freebsd
3434
..

etc/mtree/BSD.usr.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
..
3737
lib
3838
clang
39-
17
39+
18
4040
include
4141
cuda_wrappers
4242
bits

lib/clang/headers/Makefile

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.PATH: ${CLANG_SRCS}/lib/Headers
55

66
INCSGROUPS+= INCS
7-
INCSDIR= ${LIBDIR}/clang/17/include
7+
INCSDIR= ${LIBDIR}/clang/18/include
88
INCS+= __clang_cuda_builtin_vars.h
99
INCS+= __clang_cuda_cmath.h
1010
INCS+= __clang_cuda_complex_builtins.h
@@ -20,7 +20,21 @@ INCS+= __clang_hip_libdevice_declares.h
2020
INCS+= __clang_hip_math.h
2121
INCS+= __clang_hip_runtime_wrapper.h
2222
INCS+= __clang_hip_stdlib.h
23+
INCS+= __stdarg___gnuc_va_list.h
24+
INCS+= __stdarg___va_copy.h
25+
INCS+= __stdarg_va_arg.h
26+
INCS+= __stdarg_va_copy.h
27+
INCS+= __stdarg_va_list.h
2328
INCS+= __stddef_max_align_t.h
29+
INCS+= __stddef_null.h
30+
INCS+= __stddef_nullptr_t.h
31+
INCS+= __stddef_offsetof.h
32+
INCS+= __stddef_ptrdiff_t.h
33+
INCS+= __stddef_rsize_t.h
34+
INCS+= __stddef_size_t.h
35+
INCS+= __stddef_unreachable.h
36+
INCS+= __stddef_wchar_t.h
37+
INCS+= __stddef_wint_t.h
2438
INCS+= __wmmintrin_aes.h
2539
INCS+= __wmmintrin_pclmul.h
2640
INCS+= adxintrin.h
@@ -101,6 +115,8 @@ INCS+= immintrin.h
101115
INCS+= invpcidintrin.h
102116
INCS+= keylockerintrin.h
103117
INCS+= larchintrin.h
118+
INCS+= lasxintrin.h
119+
INCS+= lsxintrin.h
104120
INCS+= lwpintrin.h
105121
INCS+= lzcntintrin.h
106122
INCS+= mm3dnow.h
@@ -123,6 +139,8 @@ INCS+= ptwriteintrin.h
123139
INCS+= raointintrin.h
124140
INCS+= rdpruintrin.h
125141
INCS+= rdseedintrin.h
142+
INCS+= riscv_bitmanip.h
143+
INCS+= riscv_crypto.h
126144
INCS+= riscv_ntlh.h
127145
INCS+= riscv_vector.h
128146
INCS+= rtmintrin.h
@@ -135,10 +153,12 @@ INCS+= sifive_vector.h
135153
INCS+= sm3intrin.h
136154
INCS+= sm4intrin.h
137155
INCS+= smmintrin.h
156+
INCS+= stdckdint.h
138157
INCS+= tbmintrin.h
139158
INCS+= tmmintrin.h
140159
INCS+= tsxldtrkintrin.h
141160
INCS+= uintrintrin.h
161+
INCS+= usermsrintrin.h
142162
INCS+= vadefs.h
143163
INCS+= vaesintrin.h
144164
INCS+= vecintrin.h
@@ -216,6 +236,7 @@ PPC+= ppc_wrappers/emmintrin.h
216236
PPC+= ppc_wrappers/immintrin.h
217237
PPC+= ppc_wrappers/mm_malloc.h
218238
PPC+= ppc_wrappers/mmintrin.h
239+
PPC+= ppc_wrappers/nmmintrin.h
219240
PPC+= ppc_wrappers/pmmintrin.h
220241
PPC+= ppc_wrappers/smmintrin.h
221242
PPC+= ppc_wrappers/tmmintrin.h
@@ -238,6 +259,12 @@ arm_sme_draft_spec_subject_to_change.h: ${CLANG_SRCS}/include/clang/Basic/arm_sm
238259
-o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_sme.td
239260
GENINCS+= arm_sme_draft_spec_subject_to_change.h
240261

262+
arm_vector_types.h: ${CLANG_SRCS}/include/clang/Basic/arm_sme.td
263+
${CLANG_TBLGEN} -gen-arm-vector-type \
264+
-I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
265+
-o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
266+
GENINCS+= arm_vector_types.h
267+
241268
.for hdr in vector/vector-header
242269
riscv_${hdr:H}.h: ${CLANG_SRCS}/include/clang/Basic/riscv_${hdr:H}.td
243270
${CLANG_TBLGEN} -gen-riscv-${hdr:T} \

lib/clang/include/Plugins/Plugins.def

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ LLDB_PLUGIN(ABIAArch64)
3333
LLDB_PLUGIN(ABIARM)
3434
LLDB_PLUGIN(ABIMips)
3535
LLDB_PLUGIN(ABIPowerPC)
36+
LLDB_PLUGIN(ABIRISCV)
3637
LLDB_PLUGIN(ABIX86)
3738
LLDB_PLUGIN(ArchitectureArm)
3839
LLDB_PLUGIN(ArchitectureMips)
@@ -48,6 +49,7 @@ LLDB_PLUGIN(InstructionMIPS64)
4849
LLDB_PLUGIN(InstructionPPC64)
4950
LLDB_PLUGIN(InstructionRISCV)
5051
LLDB_PLUGIN(InstrumentationRuntimeASan)
52+
LLDB_PLUGIN(InstrumentationRuntimeASanLibsanitizers)
5153
LLDB_PLUGIN(InstrumentationRuntimeMainThreadChecker)
5254
LLDB_PLUGIN(InstrumentationRuntimeTSan)
5355
LLDB_PLUGIN(InstrumentationRuntimeUBSan)
@@ -60,6 +62,7 @@ LLDB_PLUGIN(ObjectFileBreakpad)
6062
LLDB_PLUGIN(ObjectFileELF)
6163
LLDB_PLUGIN(PlatformFreeBSD)
6264
LLDB_PLUGIN(PlatformGDB)
65+
LLDB_PLUGIN(PlatformQemuUser)
6366
LLDB_PLUGIN(ScriptedProcess)
6467
LLDB_PLUGIN(ProcessElfCore)
6568
LLDB_PLUGIN(ProcessFreeBSDKernel)
@@ -68,6 +71,8 @@ LLDB_SCRIPT_PLUGIN(ScriptInterpreterLua)
6871
LLDB_PLUGIN(SymbolFileBreakpad)
6972
LLDB_PLUGIN(SymbolFileDWARF)
7073
LLDB_PLUGIN(SymbolFileSymtab)
74+
LLDB_PLUGIN(SymbolLocatorDefault)
75+
LLDB_PLUGIN(SymbolLocatorDebuginfod)
7176
LLDB_PLUGIN(SymbolVendorELF)
7277
LLDB_PLUGIN(TypeSystemClang)
7378
LLDB_PLUGIN(UnwindAssemblyInstEmulation)

lib/clang/include/VCSVersion.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
#define LLVM_REVISION "llvmorg-17.0.6-0-g6009708b4367"
1+
#define LLVM_REVISION "llvmorg-18-init-15088-gd14ee76181fb"
22
#define LLVM_REPOSITORY "https://github.com/llvm/llvm-project.git"
33

4-
#define CLANG_REVISION "llvmorg-17.0.6-0-g6009708b4367"
4+
#define CLANG_REVISION "llvmorg-18-init-15088-gd14ee76181fb"
55
#define CLANG_REPOSITORY "https://github.com/llvm/llvm-project.git"
66

7-
#define LLDB_REVISION "llvmorg-17.0.6-0-g6009708b4367"
7+
#define LLDB_REVISION "llvmorg-18-init-15088-gd14ee76181fb"
88
#define LLDB_REPOSITORY "https://github.com/llvm/llvm-project.git"
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
#define CLANG_VERSION 17.0.6
2-
#define CLANG_VERSION_STRING "17.0.6"
3-
#define CLANG_VERSION_MAJOR 17
4-
#define CLANG_VERSION_MAJOR_STRING "17"
1+
#define CLANG_VERSION 18.0.0git
2+
#define CLANG_VERSION_STRING "18.0.0git"
3+
#define CLANG_VERSION_MAJOR 18
4+
#define CLANG_VERSION_MAJOR_STRING "18"
55
#define CLANG_VERSION_MINOR 0
6-
#define CLANG_VERSION_PATCHLEVEL 6
6+
#define CLANG_VERSION_PATCHLEVEL 0
77

88
#define CLANG_VENDOR "FreeBSD "
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// Local identifier in __FreeBSD_version style
22
#define LLD_FREEBSD_VERSION 1500000
33

4-
#define LLD_VERSION_STRING "17.0.6 (FreeBSD llvmorg-17.0.6-0-g6009708b4367-" __XSTRING(LLD_FREEBSD_VERSION) ")"
4+
#define LLD_VERSION_STRING "18.0.0 (FreeBSD llvmorg-18-init-15088-gd14ee76181fb-" __XSTRING(LLD_FREEBSD_VERSION) ")"
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#define LLDB_VERSION 17.0.6
2-
#define LLDB_VERSION_STRING "17.0.6"
3-
#define LLDB_VERSION_MAJOR 17
1+
#define LLDB_VERSION 18.0.0git
2+
#define LLDB_VERSION_STRING "18.0.0git"
3+
#define LLDB_VERSION_MAJOR 18
44
#define LLDB_VERSION_MINOR 0
5-
#define LLDB_VERSION_PATCH 6
5+
#define LLDB_VERSION_PATCH 0
66
/* #undef LLDB_FULL_VERSION_STRING */

lib/clang/include/llvm/Config/config.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,10 +344,10 @@
344344
#define PACKAGE_NAME "LLVM"
345345

346346
/* Define to the full name and version of this package. */
347-
#define PACKAGE_STRING "LLVM 17.0.6"
347+
#define PACKAGE_STRING "LLVM 18.0.0git"
348348

349349
/* Define to the version of this package. */
350-
#define PACKAGE_VERSION "17.0.6"
350+
#define PACKAGE_VERSION "18.0.0git"
351351

352352
/* Define to the vendor of this package. */
353353
/* #undef PACKAGE_VENDOR */

lib/clang/include/llvm/Config/llvm-config.h

Lines changed: 111 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,113 @@
5454
/* LLVM name for the native target MCA init function, if available */
5555
/* #undef LLVM_NATIVE_TARGETMCA */
5656

57+
/* Define if the AArch64 target is built in */
58+
#ifdef LLVM_TARGET_ENABLE_AARCH64
59+
#define LLVM_HAS_AARCH64_TARGET 1
60+
#else
61+
#define LLVM_HAS_AARCH64_TARGET 0
62+
#endif
63+
64+
/* Define if the AMDGPU target is built in */
65+
#define LLVM_HAS_AMDGPU_TARGET 0
66+
67+
/* Define if the ARC target is built in */
68+
#define LLVM_HAS_ARC_TARGET 0
69+
70+
/* Define if the ARM target is built in */
71+
#ifdef LLVM_TARGET_ENABLE_ARM
72+
#define LLVM_HAS_ARM_TARGET 1
73+
#else
74+
#define LLVM_HAS_ARM_TARGET 0
75+
#endif
76+
77+
/* Define if the AVR target is built in */
78+
#define LLVM_HAS_AVR_TARGET 0
79+
80+
/* Define if the BPF target is built in */
81+
#ifdef LLVM_TARGET_ENABLE_BPF
82+
#define LLVM_HAS_BPF_TARGET 1
83+
#else
84+
#define LLVM_HAS_BPF_TARGET 0
85+
#endif
86+
87+
/* Define if the CSKY target is built in */
88+
#define LLVM_HAS_CSKY_TARGET 0
89+
90+
/* Define if the DirectX target is built in */
91+
#define LLVM_HAS_DIRECTX_TARGET 0
92+
93+
/* Define if the Hexagon target is built in */
94+
#define LLVM_HAS_HEXAGON_TARGET 0
95+
96+
/* Define if the Lanai target is built in */
97+
#define LLVM_HAS_LANAI_TARGET 0
98+
99+
/* Define if the LoongArch target is built in */
100+
#define LLVM_HAS_LOONGARCH_TARGET 0
101+
102+
/* Define if the M68k target is built in */
103+
#define LLVM_HAS_M68K_TARGET 0
104+
105+
/* Define if the Mips target is built in */
106+
#ifdef LLVM_TARGET_ENABLE_MIPS
107+
#define LLVM_HAS_MIPS_TARGET 1
108+
#else
109+
#define LLVM_HAS_MIPS_TARGET 0
110+
#endif
111+
112+
/* Define if the MSP430 target is built in */
113+
#define LLVM_HAS_MSP430_TARGET 0
114+
115+
/* Define if the NVPTX target is built in */
116+
#define LLVM_HAS_NVPTX_TARGET 0
117+
118+
/* Define if the PowerPC target is built in */
119+
#ifdef LLVM_TARGET_ENABLE_POWERPC
120+
#define LLVM_HAS_POWERPC_TARGET 1
121+
#else
122+
#define LLVM_HAS_POWERPC_TARGET 0
123+
#endif
124+
125+
/* Define if the RISCV target is built in */
126+
#ifdef LLVM_TARGET_ENABLE_RISCV
127+
#define LLVM_HAS_RISCV_TARGET 1
128+
#else
129+
#define LLVM_HAS_RISCV_TARGET 0
130+
#endif
131+
132+
/* Define if the Sparc target is built in */
133+
#ifdef LLVM_TARGET_ENABLE_SPARC
134+
#define LLVM_HAS_SPARC_TARGET 1
135+
#else
136+
#define LLVM_HAS_SPARC_TARGET 0
137+
#endif
138+
139+
/* Define if the SPIRV target is built in */
140+
#define LLVM_HAS_SPIRV_TARGET 0
141+
142+
/* Define if the SystemZ target is built in */
143+
#define LLVM_HAS_SYSTEMZ_TARGET 0
144+
145+
/* Define if the VE target is built in */
146+
#define LLVM_HAS_VE_TARGET 0
147+
148+
/* Define if the WebAssembly target is built in */
149+
#define LLVM_HAS_WEBASSEMBLY_TARGET 0
150+
151+
/* Define if the X86 target is built in */
152+
#ifdef LLVM_TARGET_ENABLE_X86
153+
#define LLVM_HAS_X86_TARGET 1
154+
#else
155+
#define LLVM_HAS_X86_TARGET 0
156+
#endif
157+
158+
/* Define if the XCore target is built in */
159+
#define LLVM_HAS_XCORE_TARGET 0
160+
161+
/* Define if the Xtensa target is built in */
162+
#define LLVM_HAS_XTENSA_TARGET 0
163+
57164
/* Define if this is Unixish platform */
58165
#define LLVM_ON_UNIX 1
59166

@@ -67,16 +174,16 @@
67174
#define LLVM_USE_PERF 0
68175

69176
/* Major version of the LLVM API */
70-
#define LLVM_VERSION_MAJOR 17
177+
#define LLVM_VERSION_MAJOR 18
71178

72179
/* Minor version of the LLVM API */
73180
#define LLVM_VERSION_MINOR 0
74181

75182
/* Patch version of the LLVM API */
76-
#define LLVM_VERSION_PATCH 6
183+
#define LLVM_VERSION_PATCH 0
77184

78185
/* LLVM version string */
79-
#define LLVM_VERSION_STRING "17.0.6"
186+
#define LLVM_VERSION_STRING "18.0.0git"
80187

81188
/* Whether LLVM records statistics for use with GetStatistics(),
82189
* PrintStatistics() or PrintStatisticsJSON()
@@ -98,17 +205,12 @@
98205
/* Define if zstd compression is available */
99206
#define LLVM_ENABLE_ZSTD 1
100207

101-
/* Define if LLVM is using tflite instead of libtensorflow */
208+
/* Define if LLVM is using tflite */
102209
/* #undef LLVM_HAVE_TFLITE */
103210

104211
/* Define to 1 if you have the <sysexits.h> header file. */
105212
#define HAVE_SYSEXITS_H 1
106213

107-
/* Define if the xar_open() function is supported on this platform. */
108-
#if defined(__APPLE__)
109-
#define LLVM_HAVE_LIBXAR 1
110-
#endif
111-
112214
/* Define if building libLLVM shared library */
113215
/* #undef LLVM_BUILD_LLVM_DYLIB */
114216

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
#define LLVM_REVISION "llvmorg-17.0.6-0-g6009708b4367"
1+
#define LLVM_REVISION "llvmorg-18-init-15088-gd14ee76181fb"
22
#define LLVM_REPOSITORY "https://github.com/llvm/llvm-project.git"

0 commit comments

Comments
 (0)