Commit 62d0b71
authored
[OMPIRBuilder] Avoid invalid debug location. (llvm#153190)
Fixes llvm#153043.
This is another case of debug location not getting updated when the
insert point is changed by the `restoreIP`. Fixed by using the wrapper
function that updates the debug location.1 parent 8c5e939 commit 62d0b71
File tree
2 files changed
+17
-1
lines changed- clang/test/OpenMP
- llvm/lib/Frontend/OpenMP
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7247 | 7247 | | |
7248 | 7248 | | |
7249 | 7249 | | |
7250 | | - | |
| 7250 | + | |
7251 | 7251 | | |
7252 | 7252 | | |
7253 | 7253 | | |
| |||
0 commit comments