Allan Shortlidge
ec6bb44c74
stdlib: Adopt #if os(anyAppleOS).
...
Replace error prone and verbose compilation conditionals like
```
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(visionOS)
```
with
```
#if os(anyAppleOS)
```
2026-03-26 10:19:00 -07:00
Alastair Houghton
acdaeef626
[Backtracing][PDB] Add PDB code and SymbolLocator.
...
Added the PDB reading code and also a `SymbolLocator` type that
allows us to locate symbols for a given image.
rdar://168454023
2026-02-17 10:50:55 +00:00
Alastair Houghton
6d930d39ec
[Backtracing] Make tests work, plus various fixes.
...
Made the tests run, then fixed various issues with them.
rdar://101623384
2026-02-03 18:23:29 +00:00
Alastair Houghton
e0845e1483
[Backtracing] Made on-crash backtraces work for 64-bit.
...
On-crash backtracing is basically there for 64-bit Windows. It
won't work on 32-bit because of a Swift compiler issue, and there
is a little more work to do yet, but it is now working!
rdar://101623384
2026-02-03 18:23:29 +00:00
Alastair Houghton
bf9dd3ac55
[Backtracing] Make line numbers work.
...
Also fix things so that we use the right path separator, depending
on image type, and add support for `DW_AT_specification` attributes
on `DW_TAG_subprogram` entries.
rdar://101623384
2026-02-03 18:23:29 +00:00
Alastair Houghton
3cdac64200
[Backtracer] Fix some bugs that prevented DWARF reading.
...
This is now fetching symbols successfully, though not line numbers
yet.
rdar://101623384
2026-02-03 18:23:29 +00:00
Alastair Houghton
7f57385be4
[Backtracing][Windows] Add PE file parsing and DWARF-in-PE support.
...
This should allow us to get symbolicated backtraces for Swift code
that is built with DWARF debug information.
rdar://181623384
2026-02-03 18:23:29 +00:00