[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, 8 Feb 2024 21:48:18 +0000 (22:48 +0100)
commit4d0e41e75da64ff42de4f8670a8d8878d644d5d4
tree851d05a270e14e09f3b13cd1bcb6aeb634d8dd57
parent7d1fc2dd222bf578d12273b77bc7ff6ae54b9d42
[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