Commit a776740
authored
[DebugInfo] Correctly track metadata slots for DPValues (#76941)
Currently, the AsmWriter can print DPValues, but does not consider them
when creating slots for metadata, which can result in erroneous output
where metadata is numbered incorrectly. This patch modifies the
ModuleSlotTracker to correctly track slots for metadata that appears in
DPValues.1 parent 2b88bd1 commit a776740
1 file changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
859 | 859 | | |
860 | 860 | | |
861 | 861 | | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
862 | 865 | | |
863 | 866 | | |
864 | 867 | | |
| |||
1126 | 1129 | | |
1127 | 1130 | | |
1128 | 1131 | | |
1129 | | - | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
1130 | 1135 | | |
| 1136 | + | |
1131 | 1137 | | |
1132 | 1138 | | |
1133 | 1139 | | |
| 1140 | + | |
| 1141 | + | |
| 1142 | + | |
| 1143 | + | |
| 1144 | + | |
1134 | 1145 | | |
1135 | 1146 | | |
1136 | 1147 | | |
| |||
0 commit comments