[PATCH 58/79] [DebugInfo] Adjust TypeMember for NonSemantic spec (#2033)
authorDmitry Sidorov <dmitry.sidorov@intel.com>
Fri, 2 Jun 2023 13:23:28 +0000 (15:23 +0200)
committerAndreas Beckmann <anbe@debian.org>
Thu, 14 Mar 2024 19:01:08 +0000 (20:01 +0100)
commitaf6a22bb905ea81c9b74ea1695870c148c9d20fb
tree2a993d140a3539dcafd7736c2d39b7abd7c73ae5
parentff6cf23f63b4509a0ea4a270eb22f7f31ad3d7ee
[PATCH 58/79] [DebugInfo] Adjust TypeMember for NonSemantic spec (#2033)

It no longer has a Scope (parent) parameter. It results in several changes including how to determine DIBuilder to use for debug info generation.

The patch also fixes a bug of incorrect debug info assignment in case of recursion DebugInfo inst generation.

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
Gbp-Pq: Name 0058-DebugInfo-Adjust-TypeMember-for-NonSemantic-spec-203.patch
lib/SPIRV/LLVMToSPIRVDbgTran.cpp
lib/SPIRV/LLVMToSPIRVDbgTran.h
lib/SPIRV/SPIRVToLLVMDbgTran.cpp
lib/SPIRV/SPIRVToLLVMDbgTran.h
lib/SPIRV/libSPIRV/SPIRV.debug.h
test/DebugInfo/NonSemantic/Shader200/DebugInfoSubrange.ll
test/DebugInfo/NonSemantic/static_member_array.ll [new file with mode: 0644]
test/DebugInfo/OpenCL100/DebugInfoSubrange.ll