aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorVyacheslav Levytskyy <vyacheslav.levytskyy@intel.com>2024-09-24 13:33:31 +0200
committerGitHub <noreply@github.com>2024-09-24 13:33:31 +0200
commit4f8e76684f4c1e67726222c35f173ef722464a7e (patch)
tree40262552becb742376d49fac00789e61917033a9 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent5dc15ddf575978e0115b1a6edacb59f056792a80 (diff)
downloadllvm-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