[llvm-bugs] [Bug 45523] Wrong line table at `-Og` [lldb breaks on dead code]

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 15 12:30:50 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45523

Davide Italiano <ditaliano at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #10 from Davide Italiano <ditaliano at apple.com> ---
commit 5f87415efc1e57587272944a5f9b6745e4474660 (HEAD -> master, origin/master,
origin/HEAD)
Author: Davide Italiano <ditaliano at apple.com>
Date:   Wed Apr 15 12:28:34 2020 -0700

    [LICM] Try to merge debug locations when sinking.

    The current strategy LICM uses when sinking for debuginfo is
    that of picking the debug location of one of the uses.
    This causes stepping to be wrong sometimes, see, e.g. PR45523.

    This patch introduces a generalization of getMergedLocation(),
    that operates on a vector of locations instead of two, and try
    to merge all them together, and use the new API in LICM.

    <rdar://problem/61750950>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200415/af9179d0/attachment.html>


More information about the llvm-bugs mailing list