aboutsummaryrefslogtreecommitdiff
path: root/test/src/Debugger.zig
AgeCommit message (Collapse)Author
2025-09-19std: delete SegmentedList againAndrew Kelley
The data structure was originally added in 41e1cd185b82a518c58c92544c45f0348c03ef74 and then removed in 50a336fff899ebd8a687c453ec6beb18a5a9baf9, but brought back in 711bf55eaa643c3d05640bebbf3e4315477b8ed8 for Decl in the compiler frontend, and then the last reference to it was eliminated in 548a087fafeda5b07d2237d5137906b8d07da699 which removed Decl in favor of Nav and Cau.
2025-08-15fix: print error set members in a consistent orderWill Lillis
Co-authored-by: Matthew Lugg <mlugg@mlugg.co.uk>
2025-06-19Target: pass and use locals by pointer instead of by valueJacob Young
This struct is larger than 256 bytes and code that copies it consistently shows up in profiles of the compiler.
2025-06-19Build: change how the target is printed in step namesJacob Young
e.g. `x86_64-windows.win10...win11_dt-gnu` -> `x86_64-windows-gnu` When the OS version is the default this is redundant with checking the default in the standard library.
2025-06-06restore debug llvm CI coverageAndrew Kelley
and reduce redundant coverage in slow runs to save time
2025-05-12test: Fix incorrect interpretation of -Dtest-filter=... for test-debugger.Alex Rønne Petersen
2025-03-05Remove uses of deprecated callconv aliasesLinus Groh
2025-02-20test: Disable packet timeout for debugger tests.Alex Rønne Petersen
On my machine, the defaults are 5 seconds (LLDB) and 2 seconds (GDB). These are too low on the CI machines during high load, and the CI system itself already enforces a timeout on jobs anyway, so just disable the timeout altogether.
2025-01-24x86_64: rewrite float vector `@abs` and equality comparisonsJacob Young
2025-01-12Dwarf: emit debug info for extern globalsJacob Young
2024-12-18test-debugger: migrate from deprecated std.Build APIsmlugg
2024-11-28Merge pull request #22067 from alexrp/pie-testsAlex Rønne Petersen
Add PIC/PIE tests and fix some bugs + some improvements to the test harness
2024-11-24dwarf: fix stepping through an inline loop containing one statementJacob Young
Previously, stepping from the single statement within the loop would always exit the loop because all of the code unrolled from the loop is associated with the same line and treated by the debugger as one line.
2024-11-24test: Enable -Dtest-target-filter=... to work for test-debugger.Alex Rønne Petersen
2024-11-23lldb: implement tuple typesJacob Young
2024-10-31compiler: remove anonymous struct types, unify all tuplesmlugg
This commit reworks how anonymous struct literals and tuples work. Previously, an untyped anonymous struct literal (e.g. `const x = .{ .a = 123 }`) was given an "anonymous struct type", which is a special kind of struct which coerces using structural equivalence. This mechanism was a holdover from before we used RLS / result types as the primary mechanism of type inference. This commit changes the language so that the type assigned here is a "normal" struct type. It uses a form of equivalence based on the AST node and the type's structure, much like a reified (`@Type`) type. Additionally, tuples have been simplified. The distinction between "simple" and "complex" tuple types is eliminated. All tuples, even those explicitly declared using `struct { ... }` syntax, use structural equivalence, and do not undergo staged type resolution. Tuples are very restricted: they cannot have non-`auto` layouts, cannot have aligned fields, and cannot have default values with the exception of `comptime` fields. Tuples currently do not have optimized layout, but this can be changed in the future. This change simplifies the language, and fixes some problematic coercions through pointers which led to unintuitive behavior. Resolves: #16865
2024-10-09Dwarf: implement and test lexical blocksJacob Young
2024-10-09lldb: print field names with a leading dotJacob Young
This more closely resembles zig struct literals.
2024-09-10Dwarf: implement and test hash mapsJacob Young
2024-09-10Dwarf: implement and test multi array list slicesJacob Young
2024-09-10Dwarf: implement and test multi array listJacob Young
2024-09-10Dwarf: implement and test segmented listJacob Young
2024-09-10Dwarf: implement and test declsJacob Young
2024-08-28Dwarf: fix and test inline function bugsJacob Young
2024-08-27Dwarf: fix and test string formatJacob Young
2024-08-22Type: fix inconsistency between `zig fmt` and `@typeName`Jacob Young
2024-08-21test/debugger: test emitting relocs by ELF linkerJakub Konka
2024-08-20Dwarf: fix issues with inline call sitesJacob Young
2024-08-18Dwarf: test enumsJacob Young
2024-08-18Dwarf: fix and test unionsJacob Young
2024-08-17Dwarf: fix and test error unionsJacob Young
2024-08-17Dwarf: fix and test allowzero pointersJacob Young
2024-08-16Dwarf: fix cross-module inline function line infoJacob Young
2024-08-16Dwarf: rework self-hosted debug info from scratchJacob Young
This is in preparation for incremental and actually being able to debug executables built by the x86_64 backend.