[PATCH 75/79] Preserve DIExpression in DIGlobalVariableExpression (#2324)
authorLU-JOHN <111294400+LU-JOHN@users.noreply.github.com>
Wed, 31 Jan 2024 13:08:38 +0000 (07:08 -0600)
committerAndreas Beckmann <anbe@debian.org>
Thu, 8 Feb 2024 21:48:18 +0000 (22:48 +0100)
commitf76ad27ef540ab290b3fff5f25a8f6cdae66c3b7
tree71edfd536e7f9b2111eb58ab0a1c52ccc5e49440
parentacc5c3dd43f681d0b1db87991d2bba68ef2cdb03
[PATCH 75/79] Preserve DIExpression in DIGlobalVariableExpression (#2324)

Ensure that SPIR-V that uses a DebugGlobalVariable's Variable field to hold an Expression
can be reverse translated. A Variable field can be used to hold an Expression in order to
preserve a DIExpression in a DIGlobalVariableExpression in LLVM IR.

Signed-off-by: Lu, John <john.lu@intel.com>
Gbp-Pq: Name 0075-Preserve-DIExpression-in-DIGlobalVariableExpression-.patch
lib/SPIRV/SPIRVToLLVMDbgTran.cpp
test/DebugInfo/DebugInfo-GV-with-DIE.spt [new file with mode: 0644]