diff options
author | Vyacheslav Levytskyy <vyacheslav.levytskyy@intel.com> | 2024-09-24 13:33:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-24 13:33:31 +0200 |
commit | 4f8e76684f4c1e67726222c35f173ef722464a7e (patch) | |
tree | 40262552becb742376d49fac00789e61917033a9 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 5dc15ddf575978e0115b1a6edacb59f056792a80 (diff) | |
download | llvm-4f8e76684f4c1e67726222c35f173ef722464a7e.zip llvm-4f8e76684f4c1e67726222c35f173ef722464a7e.tar.gz llvm-4f8e76684f4c1e67726222c35f173ef722464a7e.tar.bz2 |
[AsmPrinter] Do not emit label instructions after the function body if the target is SPIR-V (#107013)
AsmPrinter always creates a symbol for the end of function if valid
debug info is present. However, this breaks SPIR-V target's output,
because SPIR-V specification allows label instructions only inside a
block, not after the function body (see
https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#OpLabel).
This PR proposes to disable emission of label instructions after the
function body if the target is SPIR-V.
This PR is a fix of the
https://github.com/llvm/llvm-project/issues/102732 issue.
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions