diff options
| author | Taewook Oh <twoh@fb.com> | 2017-02-21 00:12:38 +0000 |
|---|---|---|
| committer | Taewook Oh <twoh@fb.com> | 2017-02-21 00:12:38 +0000 |
| commit | 4cf5c1087c9522761d97b0f83e090f0d7a2b4958 (patch) | |
| tree | 12ec106acc46512f4003993f134bf6acb79021d4 /llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp | |
| parent | b3a2d04edd49f323fb7fd2429ddf23a5c4d085ea (diff) | |
| download | bcm5719-llvm-4cf5c1087c9522761d97b0f83e090f0d7a2b4958.tar.gz bcm5719-llvm-4cf5c1087c9522761d97b0f83e090f0d7a2b4958.zip | |
[BranchFolding] Update debug location along with the update of branch instruction.
Summary:
Currently, BranchFolder drops DebugLoc for branch instructions in some places. For example, for the test code attached, the branch instruction of 'entry' block has a DILocation of
```
!12 = !DILocation(line: 6, column: 3, scope: !11)
```
, but this information is gone when then block is lowered because BranchFolder misses it. This patch is a fix for this issue.
Reviewers: qcolombet, aprantl, craig.topper, MatzeB
Reviewed By: aprantl
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D29902
llvm-svn: 295684
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp')
0 files changed, 0 insertions, 0 deletions

