Commits

debug: disable the new unwinder on aarch64-macos

6d87bb370a • kcbanner • Jul 21, 2023

dwarf: implement aarch64 default register rules

253e6971ad • kcbanner • Jul 21, 2023

dwarf: fixup rules for setting ip

4421b14878 • kcbanner • Jul 21, 2023

dwarf: update the pc register

2bc2b01dbc • kcbanner • Jul 21, 2023

dwarf: fix the unwinder using the incorrect row from the FDE in certain cases

d99b40d38b • kcbanner • Jul 21, 2023

dwarf: write the CFA as SP before the register update, in case the SP itself is updated by a column rule

1a2bb70956 • kcbanner • Jul 21, 2023

macho: don't scan all eh_frame entries, instead follow the offset from the __unwind_info directly

97bda56306 • kcbanner • Jul 21, 2023

dwarf: add explicit_fde_offset to support more optimal __unwind_info dwarf lookups

774dc2fdb7 • kcbanner • Jul 21, 2023

test: add a test for dwarf embedded in coff

bdb0a6fa77 • kcbanner • Jul 21, 2023

debug: load the macho unwind sections from the already-mapped image

2c76020e77 • kcbanner • Jul 21, 2023

dwarf: fixup integer overflow in readEhPointer

618b0eb3d3 • kcbanner • Jul 21, 2023

use eh_frame from the mapped binary if available

5e399d97d7 • kcbanner • Jul 21, 2023

dwarf: add abi.stripInstructionPtrAuthCode

ba813d00f5 • kcbanner • Jul 21, 2023

compilation: pass omit_frame_pointer through to builtin.zig

ec96095efd • kcbanner • Jul 21, 2023

macho: remove unnecessary checks

7d8b423477 • kcbanner • Jul 21, 2023

debug: fixup an inconsistency in the getcontext implementation on aarch64-macos

9549b4acf6 • kcbanner • Jul 21, 2023

tests: use a more portable way of determining the return address in the test code

06bf2e048b • kcbanner • Jul 21, 2023

dwarf: use cie.return_address_register instead of assuming it's in the IP register

b18031335a • kcbanner • Jul 21, 2023

debug: fixup have_getcontext

9b25bee42c • kcbanner • Jul 21, 2023

debug: fixup last_error being printed too many times

e5aa2bb224 • kcbanner • Jul 21, 2023

debug: fix initialization of the optional fields on StackIterator

891fa3b8b5 • kcbanner • Jul 21, 2023

macho: add aarch64 implementation to unwindFrame

5dfb159e15 • kcbanner • Jul 21, 2023

debug: add relocateContext

203d96ae97 • kcbanner • Jul 21, 2023

macho: add unwindFrame which can unwind stack frames using the __unwind_info section

94354aa6aa • kcbanner • Jul 21, 2023

dwarf: add ExpressionError to work around the compiler not being able to infer it

d226b74ae8 • kcbanner • Jul 21, 2023

dwarf: skip register tests on unimplemented arch / os, add tests for type convesions

21d0154139 • kcbanner • Jul 21, 2023

dwarf: fixup default endianness in ExpressionOptions, add control flow tests

021f537863 • kcbanner • Jul 21, 2023

dwarf: fixup regBytes for the case where there is no context support

54ca62fef4 • kcbanner • Jul 21, 2023

debug: add dupeContext, store a pointer to a copy of ThreadContext on UnwindContext

5c0d4cef1a • kcbanner • Jul 21, 2023

dwarf: implement constx,addrx, begin adding DWARF expression tests

463bbe7807 • kcbanner • Jul 21, 2023

debug: rename StackTraceContext to ThreadContext

5f72c6508d • kcbanner • Jul 21, 2023

dwarf: expression fixups for non-64bit arches, check call_frame_context when writing expressions

8547c42ba5 • kcbanner • Jul 21, 2023

dwarf: add expression writer

424b1299a8 • kcbanner • Jul 21, 2023

dwarf: introduce ExpressionContext, add more expression opcodes

ad5f74c0b1 • kcbanner • Jul 21, 2023

darwin: update mcontext_t definition for aarch64 to add neon state

576ffaa329 • kcbanner • Jul 21, 2023

debug: fixup base address calculations for macho

412cd789bf • kcbanner • Jul 21, 2023

dwarf: don't dupe function names, as they are backed by the memory mapped sections

b85f84061a • kcbanner • Jul 21, 2023

debug: rework how unwind errors are printed, and add module name lookup for linux

62598c2187 • kcbanner • Jul 21, 2023

dwarf: add support for DWARF5 DW_AT_ranges in subprograms, add DebugRangeIterator

f04f9705cc • kcbanner • Jul 21, 2023

dwarf: fix logic error in eh_frame_hdry binary search

395ab474eb • kcbanner • Jul 21, 2023

debug: de-duplicate some code in macos ModuleDebugInfo

6a5e2b713f • kcbanner • Jul 21, 2023

c: fixup getcontext

ccc9f82068 • kcbanner • Jul 21, 2023

c: musl doesn't implement getcontext, so defer to our implementation in that case

7bc1695f15 • kcbanner • Jul 21, 2023

test: add standalone test for DWARF unwinding with -fomit-frame-pointer

9c908ea814 • kcbanner • Jul 21, 2023

c: add getcontext

23d9b59b86 • kcbanner • Jul 21, 2023

debug: fix reading -gdwarf generated debug sections in COFF files

f991b9dc05 • kcbanner • Jul 21, 2023

linux: rework getcontext to closer match the specification (saved IP/SP match the state after it would return)

caa334712f • kcbanner • Jul 21, 2023

debug: x86 unwinding support, more unwinding fixes

89ef004646 • kcbanner • Jul 21, 2023

debug: enhance writeCurrentStackTrace to use context-based unwinding when available

5cd8ab2473 • kcbanner • Jul 21, 2023

dwarf: add support for .debug_frame and CIE version 4

a9b6f2d929 • kcbanner • Jul 21, 2023

linux: add getcontext for x86_64

41832aa1e6 • kcbanner • Jul 21, 2023

update to new builtin syntax

6abf1fbfe6 • kcbanner • Jul 21, 2023

dwarf: use eh_frame length if it's available

84a1244b6c • kcbanner • Jul 21, 2023

add more safety checks when searching for eh_frame entries using findEntry

521988299d • kcbanner • Jul 21, 2023

- rebase and update to lastest master

a47212c72e • kcbanner • Jul 21, 2023

dwarf: fixup pointer cast

adbc5bbdb3 • kcbanner • Jul 21, 2023

dwarf: add support for .eh_frame_hdr when unwinding

5781016c35 • kcbanner • Jul 21, 2023

debug: fix memory leak when an error occurs opening a pdb file

dd2035735f • kcbanner • Jul 21, 2023

debug: more fixups for mips linux not having ucontext_t

865d4d2d8c • kcbanner • Jul 21, 2023

debug: fixing more compile errors on arches that I hadn't tested on yet

5ebca4392e • kcbanner • Jul 21, 2023

dwarf: fixes for non-64 bit systems

551f153718 • kcbanner • Jul 21, 2023

debug: use an explicit context type instead of anytype for dumpStackTraceFromBase, update crash_report to use this for exceptions

2f75d20d87 • kcbanner • Jul 21, 2023

dwarf: fixup for sort changes

d74c8acdfb • kcbanner • Jul 21, 2023

debug: fixup context detection for wasi

d1a9bb1fea • kcbanner • Jul 21, 2023

fmt and cleanup

a325d7f6d1 • kcbanner • Jul 21, 2023

- rework CFI instruction parsing to not use std.meta

c98e03fc7e • kcbanner • Jul 21, 2023

dwarf: implement more register mappings, fix up macos compile

e72e762d1e • kcbanner • Jul 21, 2023

dwarf: implement more register number mappings

9145ff7da0 • kcbanner • Jul 21, 2023

- rework StackIterator to optionally use debug_info to unwind the stack

b449d98a93 • kcbanner • Jul 21, 2023

- add default register rule

69399fbb82 • kcbanner • Jul 21, 2023

- implement more opcodes

a0a40c2e7e • kcbanner • Jul 21, 2023

- move writing code to zig-dwarfdump

7b4611cfb3 • kcbanner • Jul 21, 2023

- fix remember_state

338df862d1 • kcbanner • Jul 21, 2023

- add DWARF expression parser

f3f3c877e0 • kcbanner • Jul 21, 2023

add VirtualMachine to run CFA instructions

38303d7b9c • kcbanner • Jul 21, 2023

- add call frame instruction parser

8b8d627137 • kcbanner • Jul 21, 2023

begin working on parsing unwind info

6c1d1aa45c • kcbanner • Jul 21, 2023

add CommonInformationEntry parser

f6148f123e • kcbanner • Jul 21, 2023

debug: support loading elf debug info from external files

ea9917d9bd • kcbanner • Jul 21, 2023

Remove the SingleThread limitation for ARM (#16442)

8a18abfd60 • Hao Li • Jul 20, 2023

Include system headers path when targeting assembly_with_cpp

124448c1b6 • Frank Denis • Jul 20, 2023

Merge pull request #16430 from jacobly0/llvm-builder

3f15010abe • Andrew Kelley • Jul 20, 2023

std.hash_map: Fix casing of keyPtr variables

3bada8e3ce • Linus Groh • Jul 20, 2023

reduce AstGen.numberLiteral stack usage

772debb03a • Alex Kladov • Jul 20, 2023

more UEFI alignment fixes

e313584a48 • xdBronch • Jul 20, 2023

Merge pull request #16443 from notcancername/cbe-empty-enum

17255bed41 • Jacob Young • Jul 20, 2023

collconv -> callconv (#16453)

996eb01746 • zooster • Jul 20, 2023

Be more conservative in the description of Aegis256Mac (#16452)

32aeb2c2ec • Frank Denis • Jul 19, 2023

Merge pull request #16439 from Luukdegram/wasm-linker

cec1e973b6 • Luuk de Gram • Jul 19, 2023

Merge pull request #16318 from ziglang/rework-generics

0aacb6369f • Andrew Kelley • Jul 19, 2023

cbe: fix pointers to aliases of extern values

70c71935c7 • Jacob Young • Jul 19, 2023

getenv: remove unnessary `small key` block

11695745e5 • Mathew R Gordon • Jul 18, 2023

Replace hand-written endian-specific loads with std.mem.readInt*() (#16431)

a0b35249a2 • Frank Denis • Jul 17, 2023

Small documentation fixes on `std.crypto` (#16427)

a86f589a9f • Luiz Berti • Jul 17, 2023

std: Make getenv return 0-terminated slice

bf827d0b55 • Mathew R Gordon • Jul 17, 2023

std.crypto: add finalResult and peek api for Sha1 (#16426)

9abe392647 • George Zhao • Jul 17, 2023

std: reword some comments

a576082170 • Andrew Kelley • Jul 17, 2023

SinglyLinkedList: rename `invert` -> `reverse`

c6aa29b6fd • Erik Arvstedt • Jul 16, 2023

autodoc: improved linking for declrefs

7dd1cf26f9 • Loris Cro • Jul 14, 2023

Autodoc tokenizer (#16409)

a187141056 • Loris Cro • Jul 14, 2023