[llvm] r214761 - Reapply "DebugInfo: Ensure that all debug location scope chains from instructions within a function, lead to the function itself."

David Blaikie dblaikie at gmail.com
Mon Oct 6 11:39:42 PDT 2014


That would be mighty unfortunate... :/ Perhaps we can find some assertions
to put in to stabilize the failure, though I haven't a clue what they'd be
just yet.

Yep, that test case doesn't produce an assertion for me. Crud. What's a
useful way for me to debug this on a Windows machine? Am I just going to
have to sit with you/someone - or can I get remote access somehow (from
Linux, ideally?)?

On Mon, Oct 6, 2014 at 10:56 AM, Reid Kleckner <rnk at google.com> wrote:

> I went to creduce it and the assertion does not fire on Linux. I'm
> concerned there is some DI-related host dependence here.
>
> On Mon, Oct 6, 2014 at 10:49 AM, Reid Kleckner <rnk at google.com> wrote:
>
>> Hey, I've got one (unreduced).
>>
>> On Mon, Oct 6, 2014 at 9:54 AM, Reid Kleckner <rnk at google.com> wrote:
>>
>>> Yeah, let me try a self-host with that patch, assuming it reverts
>>> cleanly at TOT.
>>>
>>> On Sun, Oct 5, 2014 at 9:09 AM, David Blaikie <dblaikie at gmail.com>
>>> wrote:
>>>
>>>> Hey Reid - I seem to recall last time we spoke it turned out you'd sent
>>>> the wrong .cpp file and now only had the IR for the reproduction?
>>>>
>>>> Any way we could get the original source reproduction for this
>>>> (reducing debug test cases in IR is difficult)? I'd really like to move
>>>> forward with this change as it introduces some useful invariants (and
>>>> violations of those invariants most likely represent pretty clear bugs in
>>>> LLVM's debug info for inlined functions).
>>>>
>>>> On Sat, Aug 9, 2014 at 8:59 AM, Reid Kleckner <rnk at google.com> wrote:
>>>>
>>>>> On Fri, Aug 8, 2014 at 2:40 PM, David Blaikie <dblaikie at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> On Wed, Aug 6, 2014 at 3:54 PM, Reid Kleckner <rnk at google.com> wrote:
>>>>>> > Here's an O0 .ll file that breaks llc if you run opt -O2 on it, but
>>>>>> passes
>>>>>> > if you run llc:
>>>>>> > $ llc t.ll  # succeeds
>>>>>> > $ opt -O2 t.ll -o - | llc -o t.s
>>>>>> > Assertion failed: DISubprogram(Scope).describes(MF->getFunction()),
>>>>>> file
>>>>>> > ..\lib\CodeGen\LexicalScopes.cpp, line 179
>>>>>>
>>>>>> Haven't had any luck getting this to fail... any ideas? I can
>>>>>> side-by-side debug it with you next week, if it comes to that...
>>>>>
>>>>>
>>>>> Hm, try llc -mtriple=i686-windows-msvc?
>>>>>
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141006/fda997c1/attachment.html>


More information about the llvm-commits mailing list