Alex Rønne Petersen
1c8f0b8909
libcxx: Update to LLVM 19.
...
* Moved the tz.cpp patch to experimental/tzdb.cpp.
* Extended the __config_site patch to a few more files.
2024-09-19 18:20:21 -07:00
Alex Rønne Petersen
70a1805e46
libunwind: Synchronize some CFLAGS/CXXFLAGS with upstream.
2024-09-19 18:20:21 -07:00
Alex Rønne Petersen
f69ff5e9b5
clang: Update options data to Clang 19.
2024-09-19 18:20:21 -07:00
Alex Rønne Petersen
41e5acd89d
zig_clang: Update to Clang 19.
...
Co-authored-by: David Rubin <daviru007@icloud.com>
2024-09-19 18:20:20 -07:00
Alex Rønne Petersen
973ebeb610
zig_llvm: Update to LLVM 19.
2024-09-19 18:20:20 -07:00
Alex Rønne Petersen
da8f81c78b
compiler: Update LLVM/Clang driver files to LLVM/Clang 19.
2024-09-19 18:20:20 -07:00
mlugg
2111f4c38b
Sema: mark export on owner nav when exporting function alias
...
Resolves : #20847
2024-09-18 21:42:47 +01:00
Maciej 'vesim' Kuliński
feaee2ba17
cc: Add support for -Wp,
2024-09-17 23:54:04 -07:00
Matthew Lugg
41330c96ae
Merge pull request #21428 from mlugg/compare-to-undef
...
Sema: return undefined on comparison of runtime value against undefined
2024-09-17 14:34:10 +01:00
mlugg
4650e5b9fc
Sema: clean up cmpNumeric
...
There is one minor language change here, which is that comparisons of
the form `comptime_inf < runtime_f32` have their results comptime-known.
This is consistent with comparisons against comptime NaN for instance,
which are always comptime known. A corresponding behavior test is added.
This fixes a bug with int comparison elision which my previous commit
somehow triggered. `Sema.compareIntsOnlyPossibleResult` is much cleaner
now!
2024-09-17 11:00:38 +01:00
Matthew Lugg
7caa3d9da7
Merge pull request #21425 from mlugg/pointer-arith-inplace-res-ty
...
compiler: provide correct result types to `+=` and `-=`
2024-09-16 22:04:06 +01:00
Matthew Lugg
f3445f8f69
Merge pull request #21423 from mlugg/field-init-resolution
...
compiler: always resolve field inits, remove unncecessary eager resolution
2024-09-16 17:39:56 +01:00
mlugg
a5c922179f
Sema: return undefined on comparison of runtime value against undefined
...
Resolves : #10703
Resolves : #17798
2024-09-16 17:11:47 +01:00
David Rubin
7f60d2e465
riscv: fix up ptr_elem_val to not doubly lock
2024-09-16 16:42:42 +01:00
mlugg
1365be5d02
compiler: provide correct result types to += and -=
...
Resolves : #21341
2024-09-16 16:42:42 +01:00
mlugg
258236ec1b
Sema: don't emit instruction when casting @min/@max result to OPV type
...
Resolves : #21408
2024-09-15 17:52:35 +01:00
mlugg
19924ca289
Sema: give try operand error{} result type in non-errorable functions
...
Resolves : #21414
2024-09-15 16:51:26 +01:00
mlugg
8ff2f1057a
Revert "Dwarf: prevent crash on missing field inits"
...
This reverts commit faafc4132731e854a471ad4c4bb231efb525ea9a.
2024-09-15 16:03:56 +01:00
mlugg
bab6bf4194
compiler: always resolve field inits, remove unnecessary eager resolution
...
Resolves : #21362
2024-09-15 16:03:56 +01:00
Matthew Lugg
4d81e8ee91
Merge pull request #21390 from xdBronch/push-tvovpsxztrqn
...
make decl literals work with single item pointers
2024-09-14 06:24:24 +01:00
mlugg
54611e32d7
Package.Fetch: add another non-standard Content-Type
...
For instance, the official download site for libvterm uses this MIME
type for tar.gz tarballs.
2024-09-12 19:53:02 -07:00
David Rubin
bc161430b0
riscv: implement optional_payload_ptr_set
2024-09-12 20:29:10 -04:00
xdBronch
0329b8387c
make decl literals work with single item pointers
2024-09-12 20:29:10 -04:00
mlugg
55250a9370
Sema: perform requested coercion when decl literal demoted to enum literal
...
Resolves : #21392
2024-09-12 23:46:00 +01:00
Linus Groh
9271a89c65
InternPool: Replace default values with a .empty declaration
2024-09-12 16:01:23 +01:00
Linus Groh
8588964972
Replace deprecated default initializations with decl literals
2024-09-12 16:01:23 +01:00
Andrew Kelley
4fba7336a9
Merge pull request #21269 from alexrp/soft-float
...
Fix soft float support, split musl triples by float ABI, and enable CI
2024-09-11 17:41:55 -07:00
Alex Rønne Petersen
2fc1f9b971
llvm: Don't use the optimized jump table construction logic for wasm.
2024-09-10 16:09:43 -07:00
Jacob Young
faafc41327
Dwarf: prevent crash on missing field inits
...
Workaround for #21362
2024-09-10 13:06:08 -04:00
Jacob Young
0f0142527a
Dwarf: implement default field values
2024-09-10 13:06:08 -04:00
Jacob Young
cdaf3154ee
Dwarf: implement variables without runtime bits
2024-09-10 12:27:57 -04:00
Jacob Young
e048e78886
Dwarf: implement and test multi array list
2024-09-10 12:27:57 -04:00
Jacob Young
e046977354
codegen: implement output to the .debug_info section
2024-09-10 12:27:57 -04:00
Jacob Young
f34b198251
Dwarf: implement and test decls
2024-09-10 12:27:56 -04:00
Jacob Young
778519bb0d
Dwarf: fix missing padding before incrementally updated entries
2024-09-10 08:29:31 -04:00
Alex Rønne Petersen
4fcd3e00fa
musl: Build with -ffp-contract=off.
...
https://www.openwall.com/lists/musl/2024/08/28/1
2024-09-10 08:53:30 +02:00
Alex Rønne Petersen
f9455511fa
Compilation: Work around llvm/llvm-project#105972 by defining the macros.
...
https://github.com/llvm/llvm-project/issues/105972
2024-09-10 08:53:30 +02:00
Alex Rønne Petersen
77c8f4b671
Compilation: Pass hard/soft float flags to Clang as appropriate.
2024-09-10 08:53:30 +02:00
Alex Rønne Petersen
70c92331c7
llvm: Limit f16/f128 lowering on arm to fp_armv8 and soft float.
2024-09-10 08:53:30 +02:00
Alex Rønne Petersen
6836799935
llvm: Set use-soft-float and noimplicitfloat on functions for soft float.
...
Closes #10961 .
2024-09-10 08:53:30 +02:00
Alex Rønne Petersen
95bb53653d
zig cc: Support -rtlib=none for disabling compiler-rt.
2024-09-09 10:47:35 -07:00
Veikka Tuominen
de8cece6e7
sync Aro dependency
...
ref: adfd13c6ffb563b1379052b92f6ae4148b91cc12
2024-09-09 12:35:49 +03:00
David Rubin
9e6d167bb7
comp: populateTestFunctions shouldn't bubble up AnalysisFail
...
`ensureCauAnalyzed` adds the anal_unit to the transitive failures, so we don't need to do anything here. The errors will be handled after this function.
2024-09-09 10:05:42 +01:00
Maciej 'vesim' Kuliński
fb0028a0d7
mips: fix C ABI compatibility
2024-09-07 23:46:30 -07:00
Andrew Kelley
5f3d9e0b7a
Merge pull request #21261 from alexrp/riscv32
...
More `riscv32-linux` port work
2024-09-06 17:43:10 -07:00
Alex Rønne Petersen
92517fbd62
llvm: Set float ABI based on std.Target.floatAbi().
2024-09-06 20:11:47 +02:00
Alex Rønne Petersen
ae10adb6ef
llvm: Don't lower to f16 for riscv32.
...
This causes so many test failures that I doubt this has been tested at all.
2024-09-06 20:03:15 +02:00
Andrew Kelley
f29bdd6746
Merge pull request #21263 from alexrp/thumb-fixes
...
Some fixes for `thumb-linux-*` support
2024-09-06 10:55:45 -07:00
Andrew Kelley
96fcc8d63b
Merge pull request #21195 from alexrp/glibc-fixes
...
`glibc`: Some bug fixes, plus arc and csky start files
2024-09-06 10:50:56 -07:00
Andrew Kelley
1511a4171f
Merge pull request #21310 from alexrp/ppc64-tests
...
Force ELFv2 for PPC64 and add `powerpc64-linux-(none,musl)` to CI
2024-09-06 10:48:21 -07:00