aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorChristian Ulmann <christianulmann@gmail.com>2025-09-01 10:26:13 +0200
committerGitHub <noreply@github.com>2025-09-01 10:26:13 +0200
commit3cac3329e16e0642f13a689a2db5c3fbf28dfc89 (patch)
treec4d7d252e721c45d95240bae3489b61ab650e348 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parent24bc5665bcb3ebfaf3b0ff0d1e1d7dd654a9d98d (diff)
downloadllvm-3cac3329e16e0642f13a689a2db5c3fbf28dfc89.zip
llvm-3cac3329e16e0642f13a689a2db5c3fbf28dfc89.tar.gz
llvm-3cac3329e16e0642f13a689a2db5c3fbf28dfc89.tar.bz2
[Coroutines] Enhance DILabel generation with support for inlined locs (#155989)
This commit fixes an issue in the generation of DILabels. The previous code did not cover cases where the suspend intrinsic had an inlined location. Because of this, it took an incorrect DIScope, that broke an internal pre-condition of `DIBuilder::insertLabel`. This has been addressed by taking the DIScope of the "inlined at" location, which should be the DISubprogram of the function holding the label.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions