aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbdwarf.py
diff options
context:
space:
mode:
authorAbid Qadeer <haqadeer@amd.com>2025-07-29 17:31:29 +0100
committerGitHub <noreply@github.com>2025-07-29 17:31:29 +0100
commit335dbba741aaee369c3c8d11224a63255a6ecb85 (patch)
treec9d61e7386fcde38d78d4f6195b9a60e4fab99dd /lldb/packages/Python/lldbsuite/test/lldbdwarf.py
parent875491f59e688f2f7dea437a2425ed7bed1a0708 (diff)
downloadllvm-335dbba741aaee369c3c8d11224a63255a6ecb85.zip
llvm-335dbba741aaee369c3c8d11224a63255a6ecb85.tar.gz
llvm-335dbba741aaee369c3c8d11224a63255a6ecb85.tar.bz2
[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.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbdwarf.py')
0 files changed, 0 insertions, 0 deletions