[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, 14 Mar 2024 19:01:08 +0000 (20:01 +0100)
commitc91d88c08212e8e5d9e33f9bac326a3290deb8e4
treeaed60d64a5165aaab1499d45134ea41b72f453f0
parentf4d6444ac3f86486fe78b2c1cdf1db1257cfe686
[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