bors
8575f8f91b
Auto merge of #104342 - mweber15:add_file_location_to_more_types, r=wesleywiser
Require `type_map::stub` callers to supply file information
This change attaches file information (`DIFile` reference and line number) to struct debug info nodes.
Before:
```
; foo.ll
...
!5 = !DIFile(filename: "<unknown>", directory: "")
...
!16 = !DICompositeType(tag: DW_TAG_structure_type, name: "MyType", scope: !2, file: !5, size: 32, align: 32, elements: !17, templateParams: !19, identifier: "4cb373851db92e732c4cb5651b886dd0")
...
```
After:
```
; foo.ll
...
!3 = !DIFile(filename: "foo.rs", directory: "/home/matt/src/rust98678", checksumkind: CSK_SHA1, checksum: "bcb9f08512c8f3b8181ef4726012bc6807bc9be4")
...
!16 = !DICompositeType(tag: DW_TAG_structure_type, name: "MyType", scope: !2, file: !3, line: 3, size: 32, align: 32, elements: !17, templateParams: !19, identifier: "9e5968c7af39c148acb253912b7f409f")
...
```
Fixes #98678
r? `@wesleywiser`
2024-12-03 12:49:57 +00:00
..
2024-11-28 13:43:05 -05:00
2024-07-12 10:47:56 +01:00
2024-05-31 15:56:43 +10:00
2024-06-09 13:25:12 +00:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-07-14 13:48:29 +03:00
2024-11-02 05:33:56 +00:00
2024-08-11 19:40:44 +02:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-06-09 13:25:12 +00:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-08-31 23:56:45 +02:00
2024-11-02 05:33:56 +00:00
2024-06-09 13:25:12 +00:00
2024-04-24 13:12:33 +01:00
2024-05-31 15:56:43 +10:00
2024-12-02 21:59:34 -05:00
2024-12-02 21:59:34 -05:00
2024-12-02 21:59:34 -05:00
2024-12-02 21:59:34 -05:00
2024-05-31 15:56:43 +10:00
2024-10-11 16:22:43 -07:00
2024-10-21 15:22:17 +01:00
2024-05-31 15:56:43 +10:00
2024-05-31 15:56:43 +10:00
2024-08-08 18:08:44 +08:00
2024-10-19 10:05:25 +00:00
2024-06-11 07:45:16 +00:00
2024-09-18 13:53:31 -07:00
2024-06-19 21:35:37 -07:00
2024-06-09 13:25:12 +00:00
2024-08-08 18:08:44 +08:00
2024-09-18 13:53:31 -07:00
2024-05-31 15:56:43 +10:00
2024-08-03 16:41:49 +00:00
2024-06-11 16:07:14 +02:00
2024-09-23 11:31:29 +02:00
2024-08-08 18:08:44 +08:00
2024-08-06 14:37:33 -07:00