[PATCH 53/79] [DebugInfo] Fix CU translation when GV goes before CU (#2010)
authorDmitry Sidorov <dmitry.sidorov@intel.com>
Fri, 19 May 2023 13:24:12 +0000 (15:24 +0200)
committerAndreas Beckmann <anbe@debian.org>
Thu, 14 Mar 2024 19:01:08 +0000 (20:01 +0100)
commite549be6f6c59d2e33a0323c086b0502c5fb636c8
treef1fccba7cbe24899bec301d42674bd52ad957330
parent92dafb819547911aa81ac5dbc9924367899d40b8
[PATCH 53/79] [DebugInfo] Fix CU translation when GV goes before CU (#2010)

Translation of DebugInfo compilation units and entry points
moved before translation of GVs.

In other case we might end up in a situation when while
quering for CUs we find none of them.

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
Gbp-Pq: Name 0053-DebugInfo-Fix-CU-translation-when-GV-goes-before-CU-.patch
lib/SPIRV/SPIRVReader.cpp
test/DebugInfo/gv-before-cu.ll [new file with mode: 0644]