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

Jeremy Morse <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |38768
            Version|unspecified                 |trunk
          Component|All Bugs                    |LLVM Codegen
           Assignee|[email protected]     |unassignedclangbugs@nondot.
                   |                            |org
             Status|NEW                         |CONFIRMED
                 CC|                            |[email protected],
                   |                            |[email protected]
                   |                            |, [email protected],
                   |                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]
            Product|lldb                        |clang

--- Comment #1 from Jeremy Morse <[email protected]> ---
Thanks for the bug report -- could you include the command line used to compile
the source too please. Assuming -O0, this looks very similar to bug 45676 and
its related bug 19864 -- clang is labelling the exit of the inner loop with
what we would consider the wrong location:

> for.end:                                          ; preds = %for.cond1
>   br label %for.inc7, !dbg !51

> 51 = !DILocation(line: 8, column: 16, scope: !29)

Where line 8 is the line with "return 1;". I can replicate this with gdb, so
switching component to clang.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=38768
[Bug 38768] [meta][DebugInfo] Umbrella bug for poor debug experiences
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to