aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorStephen Tozer <Stephen.Tozer@Sony.com>2021-05-20 16:33:38 +0100
committerStephen Tozer <Stephen.Tozer@Sony.com>2021-05-20 17:37:28 +0100
commitcf725dde9cb7379496f896f465f3faad511c331b (patch)
tree95bfe874cd0989c0604ed947049a25bdfb2229eb /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent943839870a0be356c40629c75d4583976cb9e812 (diff)
downloadllvm-cf725dde9cb7379496f896f465f3faad511c331b.zip
llvm-cf725dde9cb7379496f896f465f3faad511c331b.tar.gz
llvm-cf725dde9cb7379496f896f465f3faad511c331b.tar.bz2
[DebugInfo] Handle DIArgList in FastISel or GlobalIsel
Currently, variadic dbg.values (i.e. those using a DIArgList as part of their location) are not handled properly by FastISel or GlobalISel, and will produce invalid DBG_VALUE instructions if they encounter them. This patch fixes this issue by emitting undef DBG_VALUE instructions for variadic dbg.values, so that no incorrect instruction is produced and any prior variable location is terminated. This is simply a quick-fix to prevent errors; a correct implementation should come later for these ISel pipelines to ensure that we do not drop debug information unnecessarily. Differential Revision: https://reviews.llvm.org/D102500
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions