[PATCH] D16742: [DWARFDebug] Fix another case of overlapping ranges

Keno Fischer via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 16:15:09 PST 2016


loladiro created this revision.
loladiro added a reviewer: aprantl.
loladiro added a subscriber: llvm-commits.
loladiro set the repository for this revision to rL LLVM.

In r257979, I added code to ensure that we wouldn't merge DebugLocEntries if the pieces they describe overlap. Unfortunately, I failed to cover the case, where there may have multiple active Expressions in the entry, in which case we need to make sure that no two values overlap before we can perform the merge.

This fixed PR26148.

Repository:
  rL LLVM

http://reviews.llvm.org/D16742

Files:
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  test/DebugInfo/X86/PR26148.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16742.46451.patch
Type: text/x-patch
Size: 7032 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160130/530e3ac0/attachment.bin>


More information about the llvm-commits mailing list