Commit 7746f15
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 0d61b6f commit 7746f15
File tree
6 files changed
+237
-353
lines changed- compiler/rustc_codegen_llvm
- src
- debuginfo
- src/test/codegen
6 files changed
+237
-353
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3551 | 3551 | | |
3552 | 3552 | | |
3553 | 3553 | | |
| 3554 | + | |
3554 | 3555 | | |
3555 | 3556 | | |
3556 | 3557 | | |
| |||
| 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