Commit e72e639
committed
debuginfo: Simplify TypeMap used during LLVM debuginfo generation.
The previous implementation was written before types were properly
normalized for code generation and had to assume a more complicated
relationship between types and their debuginfo -- generating separate
identifiers for debuginfo nodes that were based on normalized types.
Since types are now already normalized, we can use them as identifiers
for debuginfo nodes.1 parent 026d8ce commit e72e639
File tree
6 files changed
+238
-351
lines changed- compiler/rustc_codegen_llvm
- src
- debuginfo
- src/test/codegen
6 files changed
+238
-351
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3524 | 3524 | | |
3525 | 3525 | | |
3526 | 3526 | | |
| 3527 | + | |
3527 | 3528 | | |
3528 | 3529 | | |
3529 | 3530 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments