diff options
author | Wolfgang Pieb <Wolfgang_Pieb@playstation.sony.com> | 2016-05-02 22:50:51 +0000 |
---|---|---|
committer | Wolfgang Pieb <Wolfgang_Pieb@playstation.sony.com> | 2016-05-02 22:50:51 +0000 |
commit | 56aa4b062954e34340f36b25f339448cfc888913 (patch) | |
tree | 48e1252aa27711ff5ca25c966ce2564147ccf2dd /llvm/tools/llvm-ar/llvm-ar.cpp | |
parent | b8f0a4ea33bbc43839f36f9695ce84f2f9a35445 (diff) | |
download | bcm5719-llvm-56aa4b062954e34340f36b25f339448cfc888913.tar.gz bcm5719-llvm-56aa4b062954e34340f36b25f339448cfc888913.zip |
DebugInfo: Avoid propagating incorrect debug locations in SelectionDAG via CSE.
Summary:
When SelectionDAG performs CSE it is possible that the context's source
location is different from that of the selected node. This can lead to
incorrect line number records. We update the debug location to the
one that occurs earlier in the instruction sequence.
This fixes PR21006.
Reviewers: echristo, sdmitrouk
Subscribers: jevinskie, asl, llvm-commits
Differential Revision: http://reviews.llvm.org/D12094
llvm-svn: 268323
Diffstat (limited to 'llvm/tools/llvm-ar/llvm-ar.cpp')
0 files changed, 0 insertions, 0 deletions