Commit a35e2be
committed
[OMPIRBuilder] Don't drop debug loc from LocationDescription.
LocationDescription contains both the instruction pointer and the debug location. When LocationDescription is available, it is better to use updateToLocation which will update both then restoreIP(Loc.IP) which may not. 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 82a276e commit a35e2be
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 | | |
| |||
5934 | 5933 | | |
5935 | 5934 | | |
5936 | 5935 | | |
5937 | | - | |
| 5936 | + | |
5938 | 5937 | | |
5939 | 5938 | | |
5940 | 5939 | | |
| |||
8060 | 8059 | | |
8061 | 8060 | | |
8062 | 8061 | | |
8063 | | - | |
| 8062 | + | |
8064 | 8063 | | |
8065 | 8064 | | |
8066 | 8065 | | |
| |||
0 commit comments