Commit 335dbba
authored
[OMPIRBuilder] Don't drop debug loc from LocationDescription. (#148713)
`LocationDescription` contains both the insertion point and the debug location. When `LocationDescription` is available, it is better to use `updateToLocation` which will update both. This PR replaces `restoreIP(Loc.IP)` with `updateToLocation(Loc)` as former may not update debug location in all cases. I am not checking the return value of `updateToLocation` because that is checked just a few lines above in all cases and we would have returned early if it failed.1 parent 875491f commit 335dbba
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1161 | 1161 | | |
1162 | 1162 | | |
1163 | 1163 | | |
1164 | | - | |
| 1164 | + | |
1165 | 1165 | | |
1166 | 1166 | | |
1167 | 1167 | | |
| |||
1189 | 1189 | | |
1190 | 1190 | | |
1191 | 1191 | | |
1192 | | - | |
1193 | 1192 | | |
1194 | 1193 | | |
1195 | 1194 | | |
| |||
5955 | 5954 | | |
5956 | 5955 | | |
5957 | 5956 | | |
5958 | | - | |
| 5957 | + | |
5959 | 5958 | | |
5960 | 5959 | | |
5961 | 5960 | | |
| |||
8081 | 8080 | | |
8082 | 8081 | | |
8083 | 8082 | | |
8084 | | - | |
| 8083 | + | |
8085 | 8084 | | |
8086 | 8085 | | |
8087 | 8086 | | |
| |||
0 commit comments