Files
Steve 156f4b3542 Implement source mapping for .NET compilers (#8666)
This PR implements the source mapping for .NET compilers (C#, F#, VB.NET
and IL), supports CoreCLR, Crossgen2 and NativeAOT compilers.

- Add a parser that walks ECMA-335 metadata and Portable PDB sequence
points to build IL-offset-to-source mappings for .NET methods
- Load PDBs emitted by the .NET compiler after building the dll, and
then save the source mapping in the result
- Extend the .NET asm parser to match disassembly method signatures,
including generic types, generic methods, and inline root offsets, so
emitted asm lines inherit the correct source locations
- Use debug info emitted by the JIT `INLRT @ 0x##` as anchors to match
the offset

Showcase:


![image1](https://github.com/user-attachments/assets/5309fe70-be87-4f94-b70c-21bb91f745be)


![image2](https://github.com/user-attachments/assets/9d15741e-08ff-4f20-8a32-efa0d8307dea)
2026-05-10 09:15:36 -05:00
..
2025-07-28 10:34:46 -05:00
2026-03-21 21:21:40 +01:00
2024-10-22 21:41:44 +03:00
2025-08-11 11:14:26 -05:00
2023-03-17 19:01:39 +01:00
2024-04-16 21:26:53 +02:00
2025-02-06 11:10:34 -06:00
2025-02-06 11:10:34 -06:00
2026-02-23 14:02:44 +01:00
2025-09-12 14:23:49 -05:00
2025-11-01 12:54:31 +02:00
2025-01-28 10:00:04 -06:00
2025-05-11 16:15:21 -05:00
2024-12-19 16:32:13 -06:00
2025-07-28 10:34:46 -05:00
2025-09-12 14:23:49 -05:00
2025-07-28 10:34:46 -05:00
2024-10-27 15:28:38 +02:00
2025-07-28 10:34:46 -05:00
2025-11-01 12:54:31 +02:00
2026-02-08 15:02:47 -06:00
2025-11-01 12:54:31 +02:00