[PATCH 42/79] [DebugInfo] Translate inline namespace debug info (#1978)
authorViktoria Maximova <viktoria.maksimova@intel.com>
Thu, 27 Apr 2023 10:00:08 +0000 (03:00 -0700)
committerAndreas Beckmann <anbe@debian.org>
Thu, 14 Mar 2024 19:01:08 +0000 (20:01 +0100)
commit935281f5e13fe72b121fa8765ca206a8eb8ebb90
tree408d1eab79089205eb8b9167f3a2f21656afb6f5
parent0425f3cb030f34e5633b834129f193faa6f7f1e6
[PATCH 42/79] [DebugInfo] Translate inline namespace debug info (#1978)

In NonSemantic.Shader.DebugInfo.200 DebugLexicalBlock has Inline
namespace parameter, which specifies if C/C++ namespace is inline or not.
It allows us to save `exportSymbols` field of `DINamespace` metadata.

Spec:
https://github.com/KhronosGroup/SPIRV-Registry/pull/186/

Gbp-Pq: Name 0042-DebugInfo-Translate-inline-namespace-debug-info-1978.patch
lib/SPIRV/LLVMToSPIRVDbgTran.cpp
lib/SPIRV/SPIRVToLLVMDbgTran.cpp
lib/SPIRV/libSPIRV/SPIRV.debug.h
test/DebugInfo/NonSemantic/Shader200/InlineNamespace.ll [new file with mode: 0755]