diff options
author | Christian Ulmann <christianulmann@gmail.com> | 2025-09-01 10:26:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-01 10:26:13 +0200 |
commit | 3cac3329e16e0642f13a689a2db5c3fbf28dfc89 (patch) | |
tree | c4d7d252e721c45d95240bae3489b61ab650e348 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 24bc5665bcb3ebfaf3b0ff0d1e1d7dd654a9d98d (diff) | |
download | llvm-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