[PATCH 50/79] [DebugInfo] Support translation of DebugSourceContinued (#1993)
authorViktoria Maximova <viktoria.maksimova@intel.com>
Fri, 5 May 2023 09:29:41 +0000 (02:29 -0700)
committerAndreas Beckmann <anbe@debian.org>
Thu, 8 Feb 2024 21:48:18 +0000 (22:48 +0100)
commitabbaf1d3c958edf9d046cca03289cd3b86d06ba7
treeacd64c5660e74d9bd632232fb049a19660b18032
parent17968b174fc9b952e9ab4a7d8cc70b3e6d83ae7f
[PATCH 50/79] [DebugInfo] Support translation of DebugSourceContinued (#1993)

Max length of SPIRV instruction is 65535 words by specification.
DebugSourceContinued helps to overcome the limitation and specify full source code text by continuing the string from the previous DebugSource(Continued)instruction.

Spec:
https://github.com/KhronosGroup/SPIRV-Registry/blob/main/nonsemantic/NonSemantic.Shader.DebugInfo.100.asciidoc#DebugSourceContinued

Gbp-Pq: Name 0050-DebugInfo-Support-translation-of-DebugSourceContinue.patch
lib/SPIRV/LLVMToSPIRVDbgTran.cpp
lib/SPIRV/SPIRVToLLVMDbgTran.cpp
lib/SPIRV/SPIRVToLLVMDbgTran.h
lib/SPIRV/libSPIRV/SPIRV.debug.h
lib/SPIRV/libSPIRV/SPIRVExtInst.h
lib/SPIRV/libSPIRV/SPIRVInstruction.h
lib/SPIRV/libSPIRV/SPIRVStream.cpp
lib/SPIRV/libSPIRV/SPIRVStream.h
test/DebugInfo/NonSemantic/DebugSourceContinued.ll [new file with mode: 0644]
test/DebugInfo/NonSemantic/Shader200/FortranArray.ll