kcbanner
8b9627f01d
test: add a test that verifies no debug handlers get pulled into compiler_rt
...
build: fix CheckObject checkNotPresent only checking a single line of the haystack
2023-07-27 10:31:52 -04:00
Andrew Kelley
0f21d3d4d1
LLVM: always add argument attributes to calls
...
These are needed for correctness. There's no reason to only add them for
function pointers.
closes #16290
2023-07-27 00:49:25 -07:00
Andrew Kelley
c3364b372f
Merge pull request #16572 from ziglang/stage1-test-coverage
...
add behavior test coverage for stage1 issues
2023-07-26 23:38:28 -07:00
zhaozg
47388feec6
build: update cmake_minimum_required to 3.5
...
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
2023-07-26 22:41:43 -07:00
Jacob Young
7201e69454
AstGen: fix missing deferred ref
...
Closes #16524
2023-07-26 22:19:30 -07:00
kcbanner
78449b6d98
debug: skip unwind error printing on platforms that don't have_ucontext
2023-07-26 22:10:22 -04:00
Andrew Kelley
d28f24d1d1
add behavior test for defer assign
...
closes #10591
2023-07-26 19:02:02 -07:00
Andrew Kelley
407d91f7a7
add behavior test for switch nested break
...
closes #10196
2023-07-26 19:02:02 -07:00
Andrew Kelley
9d3363fee9
add behavior test for bitcast packed struct twice
...
closes #9914
2023-07-26 19:02:02 -07:00
Andrew Kelley
508294e9be
add behavior test for comptime ptrcast packed struct
...
closes #9912
2023-07-26 19:02:02 -07:00
Andrew Kelley
2936602566
add behavior test for union with 128 bit integer
...
closes #9871
2023-07-26 19:02:02 -07:00
Andrew Kelley
87961237cf
add behavior test for tail calls
...
closes #9703
2023-07-26 19:02:02 -07:00
kcbanner
661028a907
target: emit unwind tables if the platform supports unwinding
2023-07-26 20:58:29 -04:00
kcbanner
f2aab12a86
compilation: change compiler_rt to inherit strip and want_unwind_tables from the parent compilation
2023-07-26 20:58:29 -04:00
kcbanner
a84826115f
debug: print unwind errors if they occur on the first iteration, and differentiate between missing info and an actual unwind error in the message
2023-07-26 20:58:29 -04:00
Andrew Kelley
00d6a4da49
add behavior test for comptime array load
...
closes #8487
2023-07-26 17:21:20 -07:00
Andrew Kelley
1aacfa7186
Merge pull request #16538 from kcbanner/fixup_unwind_perf_regression
...
Reducing compile time regression introduced by the new DWARF unwinder
2023-07-26 16:52:01 -07:00
Jacob Young
f9717f87f5
llvm: fix data layout on ios
...
Closes #16549
2023-07-26 16:49:32 -07:00
Andrew Kelley
a707f380a5
llvm: disable LTO on C ABI tests
...
This required disabling some failing tests. See #14908
2023-07-26 11:07:11 -07:00
Jakub Konka
f821543e4b
Merge pull request #16553 from ziglang/issue-11896
...
macho: fix parsing of TBDv3 dylib stubs
2023-07-26 18:22:59 +02:00
Jakub Konka
cb475aa161
Merge pull request #16563 from ziglang/issues-16308
...
macho: create export trie root explicitly with Trie.init rather than implicitly on first Trie.put
2023-07-26 18:22:43 +02:00
Jim Price
584b062a30
Fix counting in SingleThreadedRwLock's tryLockShared ( #16560 )
...
Additionally we add RwLock to Thread.zig's list of tests
2023-07-26 08:19:52 -05:00
Jakub Konka
960e5c329a
link-test: expect exit code of 0 for TBDv3 test
2023-07-26 14:11:49 +02:00
Jakub Konka
780f0b872a
link-test: add test case for MachO bug 16308
2023-07-26 13:38:24 +02:00
Jakub Konka
59284a1085
macho: create export trie root explicitly with Trie.init
2023-07-26 13:37:37 +02:00
Jakub Konka
4ab595239f
link-test: adjust TBDv3 test to handle x86_64-macos also
2023-07-26 11:22:43 +02:00
kcbanner
a8a2f2b58b
Add --verbose-generic-instances to provide visibility on the number of generic function instantiations
2023-07-26 02:20:29 -07:00
Jakub Konka
5131d074d8
link-test: add test for TBDv3 updated parsing logic
2023-07-26 08:10:53 +02:00
Jakub Konka
3b3ce449e3
tapi: do not log errors using log.err
2023-07-26 08:10:52 +02:00
Jakub Konka
27f471860a
macho: fix matching target triples for TBDv3
2023-07-26 08:10:52 +02:00
Andrew Kelley
6cee98eb30
frontend: forbid packed and extern tuples
2023-07-25 21:45:33 -07:00
Andrew Kelley
4b7fa0fce9
AstGen: avoid unnecessary mutable local
2023-07-25 21:45:33 -07:00
Andrew Kelley
53954f8cf3
.mailmap: a few more duplicates
...
I noticed a few more when typing up release notes
2023-07-25 20:27:31 -07:00
Andrew Kelley
f395d46890
git: add .mailmap
2023-07-25 18:53:15 -07:00
Andrew Kelley
48e0b89f2c
remove tools/extract-grammar.zig
...
This is not a sound way to check Zig's grammar against the spec.
This is a partial revert of f8f1c6ac06636d816e5dff205d6713a337df387d.
2023-07-25 18:17:18 -07:00
Xavier Bouchoux
5ab1854602
codegen/llvm: fix memset with vectors smaller than one byte
...
The special case to take advantage of llvm's intrinsic
was generating invalid llvm ir:
```
Invalid bitcast
%60 = bitcast <2 x i2> %59 to i8, !dbg !3122
thread 145453 panic: LLVM module verification failed
```
2023-07-25 18:14:10 -07:00
Andrew Kelley
71dfce31bb
Merge pull request #16548 from mlugg/feat/package-dl-progress
...
Display package download progress
2023-07-25 18:12:00 -07:00
Jacob G-W
3c08fe931a
make @typeInfo not return private decls
...
fixes #10731
Thanks @nektro for previous work in #14878
This change creates a small breaking change:
It removes the `is_pub` field of a decl in `@typeInfo`
2023-07-25 16:19:08 -07:00
Lauri Tirkkonen
972e70b794
darwin: drop underscore from SIG._{BLOCK,UNBLOCK,SETMASK}
...
this makes them match decls in other OSes
2023-07-25 13:49:08 -07:00
mlugg
7a57f82976
Package: add progress indicator for package fetching
2023-07-25 19:17:53 +01:00
Wooster
b5a471db3c
ErrorBundle: remove extra newline
...
This is another minor change but still makes a visual difference and will reduce the amount you have to scroll in your terminal by a little bit.
Reasoning:
1. The `for (0..src.data.reference_trace_len)` loop will run at least once due to the `src.data.reference_trace_len > 0` check above.
2. In all 3 branches of the `if` in that `for` it will print something.
3. The 3 strings of all of those prints already end in `\n`.
Therefore, the extra `try stderr.writeByte('\n');` is unnecessary.
2023-07-25 11:05:14 -07:00
Zachary Raineri
dc98b001f3
std.os.linux | Fix sendmmsg function | Issue #16513
...
Closes #16513
2023-07-25 11:04:10 -07:00
Jan Philipp Hafer
32e78e239f
re-enable test "fmt.parseFloat nan and inf" after llvm fix
...
Closes #12027 .
2023-07-25 11:03:11 -07:00
alex
abd960873c
test/standalone: reinstate std.ChildProcess tests
...
67d5bfef removed std.ChildProcess tests, suggesting to make them
standalone instead. This commit does exactly that after the
bug creating SIGPIPE in ReleaseFast is no more with LLVM 15.0.5.
Thanks to @x1ddos for the idea with the compile artifacts and PR
improvements.
2023-07-25 10:57:45 -07:00
xdBronch
737b366279
add error when passing a non-single-item pointer to allocator.destroy
2023-07-25 10:55:04 -07:00
Loris Cro
feff968ec3
autodoc: html page fixes
2023-07-25 19:29:23 +02:00
Loris Cro
4f5082fc86
autodoc: improve handling of periods in search box and add search explainer
2023-07-25 19:19:39 +02:00
kcbanner
8e4cc0ce5a
dwarf: small code size reduction in expression runner
2023-07-25 10:28:03 -04:00
mlugg
06e50e9aa7
std.Progress: add optional unit to progress indicator
2023-07-25 13:51:22 +01:00
kcbanner
49fa3a987f
reduce the number of duplicate instantiations due to differing stream parameters
2023-07-25 00:45:47 -04:00