Commit Graph

3 Commits

Author SHA1 Message Date
Hamish Knight
3325296401 [test] Enable some profiler tests on non-macOS 2024-08-04 10:45:29 +01:00
Hamish Knight
9dc2d04352 [test] A couple of minor changes 2023-05-22 17:54:18 +01:00
Hamish Knight
b55f97250d [IRGen] Update coverage mapping for version 6
The coverage format version we use is automatically
set to whatever the latest version LLVM has. This
resulting in us outputting version 6 as our
format without having made the changes necessary
to reflect the new format. Update the emission
logic to take account for [the new changes in
version 6][1] (we need to include the current
working directory as the first element of the list
of files we output). Additionally, add a
`static_assert` so we don't get caught out by
version bumps in the future. Note we can't pin our
version, as it must stay in sync with the version
Clang is using.

[1]: https://llvm.org/docs/CoverageMappingFormat.html#llvm-ir-representation
2023-05-20 00:32:21 +01:00