Commit Graph

8 Commits

Author SHA1 Message Date
Alastair Houghton ae71bd8d65 [Backtracing] Fix tests up for Windows.
We can't use `|| true` on Windows, so use `not` instead.

Also, on Windows, program names get downcased because `lit` uses
`os.path.normcase()`, so if we have program names in the output,
make sure the programs are already lower-case.

Fix up the stack overflow test to match the expected output.

Plus fix the macOS build to always build for macOS 26.0 or above.

rdar://101623384
2026-02-06 08:53:16 +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 d3ef70e564 [Backtracing][Tests] Enable some of the backtracing tests.
These tests should work on Windows now.  This isn't all of them
yet.

rdar://101623384
2026-02-03 18:23:29 +00:00
Alastair Houghton 09f7f81e2b [Backtracing][Tests] -disable-availability-checking is frontend-only.
We need to add `-Xfrontend`.

rdar://164850733
2026-01-09 11:58:36 +00:00
Alastair Houghton 6a6ff87602 [Backtracing] Move availability definition, fix tests.
Move the availability definition to the `.def` file, and then
turn off availability checking in the tests.

rdar://164850733
2026-01-09 11:58:36 +00:00
Alastair Houghton ca86836133 [Backtracing][Tests] Improve debugability of CompactImageMap test.
If this test fails in CI, we could do with being able to see the
output from the test program in full.

rdar://124913332
2025-01-22 10:39:44 +00:00
Alastair Houghton 4826d60bc2 [Backtracing] Implement Codable for Backtrace.
Add support for Codable to Bactkrace.

rdar://124913332
2025-01-17 10:09:37 +00:00
Alastair Houghton 0e3e9efcd3 [Backtracing] Add ImageMap instead of just using an Array.
We want to be able to efficiently serialise lists of images, and to do so
it makes most sense to create a separate `ImageMap` type.  This also provides
a useful place to put methods to e.g. find an image by address or by build
ID.

rdar://124913332
2025-01-17 10:09:36 +00:00