[PATCH 37/79] [NFC] Use typed pointers for null function pointers debug info (#1969)
authorDmitry Sidorov <dmitry.sidorov@intel.com>
Fri, 21 Apr 2023 22:02:48 +0000 (00:02 +0200)
committerAndreas Beckmann <anbe@debian.org>
Thu, 14 Mar 2024 19:01:08 +0000 (20:01 +0100)
commit13e62dc9f67065fc105a1a69b54d2342d3ba11f4
treeab153e231f47e0dd8aa9b5a2d70faf2aacc4d4ed
parent7dd896b618a3846696dc08a8049c7ab6b6bd336b
[PATCH 37/79] [NFC] Use typed pointers for null function pointers debug info (#1969)

`PointerType::get(Context` will return typeless/opaque pointer. While it
is OK for KHR translator since it's being built on top of LLVM trunk,
where opaque pointers are enabled by default - it won't work for
intel/llvm, where their generation is disabled.

Upstream of https://github.com/intel/llvm/pull/9118

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
Gbp-Pq: Name 0037-NFC-Use-typed-pointers-for-null-function-pointers-de.patch
lib/SPIRV/LLVMToSPIRVDbgTran.cpp