[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, 14 Mar 2024 19:01:08 +0000 (20:01 +0100)
commitdcb5af113da104133a78bb932cafac6f2d0e6286
tree8fae7ba29cfb3ac8cdb6be7246d81e91206fc4d8
parent935281f5e13fe72b121fa8765ca206a8eb8ebb90
[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