[PATCH 43/79] [DebugInfo] Fix translation of Target Function operand (#1982)
authorViktoria Maximova <viktoria.maksimova@intel.com>
Thu, 27 Apr 2023 18:36:13 +0000 (11:36 -0700)
committerAndreas Beckmann <anbe@debian.org>
Thu, 8 Feb 2024 21:48:18 +0000 (22:48 +0100)
commite247cc57303823e4c95129ef59c313d64a6e095c
tree89230f1b77b04e74138baf12aaf3f0e50cf63c6f
parent64a89dec4fae33ade267fbf66cb830920b0aa95f
[PATCH 43/79] [DebugInfo] Fix translation of Target Function operand (#1982)

Before reading Target function name operand of `DebugFunction` we need
to make sure it's the translation of appropriate debug extension.
Otherwise, we can get in a situation, where we do have 11 operands, but
the last one is not a `String` with name, but the `DebugFunctionDeclaration`.

Gbp-Pq: Name 0043-DebugInfo-Fix-translation-of-Target-Function-operand.patch
lib/SPIRV/SPIRVToLLVMDbgTran.cpp
lib/SPIRV/libSPIRV/SPIRV.debug.h