Files
clang-p2996/llvm/lib/Transforms/IPO/GlobalOpt.cpp
ykhatav 46bf5d547f Globalopt pass produces invalid debug info (#100654)
This patch fixes an issue in the GlobalOpt pass where deleting a global
variable fails to update the corresponding dbg.value and it references
an empty metadata entry. The SalvageDebugInfo() function has been
updated to handle dbg.value intrinsic when globals are deleted.
2024-08-08 09:07:39 -04:00

94 KiB