aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorStephen Tozer <Stephen.Tozer@Sony.com>2021-07-13 13:31:11 +0100
committerStephen Tozer <Stephen.Tozer@Sony.com>2021-07-14 11:17:24 +0100
commit810e4c3c66ed69ba82af687fc2a184bae874ca08 (patch)
tree50bb6bc72f8fcbabc1d045a1240b4f72ba51e205 /llvm/lib/CodeGen/CodeGen.cpp
parentb803294cf78714303db2d3647291a2308347ef23 (diff)
downloadllvm-810e4c3c66ed69ba82af687fc2a184bae874ca08.zip
llvm-810e4c3c66ed69ba82af687fc2a184bae874ca08.tar.gz
llvm-810e4c3c66ed69ba82af687fc2a184bae874ca08.tar.bz2
[DebugInfo] Correctly update dbg.values with duplicated location ops
This patch fixes code that incorrectly handled dbg.values with duplicate location operands, i.e. !DIArgList(i32 %a, i32 %a). The errors in question were caused by either applying an update to dbg.value multiple times when the update is only valid once, or by updating the DIExpression for only the first instance of a value that appears multiple times. Differential Revision: https://reviews.llvm.org/D105831
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions