Re: [lldb-dev] Failing LIT-based lldb-mi tests

2018-08-20 Thread Александр Поляков via lldb-dev
Added Pavel to this thread.

Hi Pavel,

Do you know is it possible to enable lldb-server's logs in lldb or lldb-mi?

On Wed, Aug 15, 2018 at 8:34 PM Adrian Prantl  wrote:

>
>
> On Aug 15, 2018, at 10:31 AM, Александр Поляков 
> wrote:
>
> I built an lldb myself. As far as I remember, this error has been seen in
> swift's CI on machines running Linux. Adrian, could you correct me if I'm
> wrong?
>
>
> Yes, we have seen these test fail regularly, but I don't have any log
> files from the CI machines, so I can't confirm the the issue you are seeing
> was the same one that our bots encountered.
>
> -- adrian
>


-- 
Alexander
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


[lldb-dev] PDB symbol reader supports C++ only?

2018-08-20 Thread Vadim Chugunov via lldb-dev
Hi!
I've been investigating why LLDB refuses to set breakpoints in Rust source
files when using PDB debug info on Windows...  This seems to stem from a
couple of checks here

and here
.

I am wondering, what is the backstory there?  Are those still necessary?  I
tried disabling them and Rust debugging worked just fine...
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev


Re: [lldb-dev] PDB symbol reader supports C++ only?

2018-08-20 Thread Zachary Turner via lldb-dev
Various parts of lldb require knowing the source language. It’s possible
that things will mostly work if you report that the language is c++, but
you’ll probably get errors in other areas. It goes all the way down to the
CodeView level, where certain cv records indicate the original source
language. Can you check cvconst.h (ships with DIA SDK) and look for the
enumeration corresponding to source language? Does it have a value for
Rust? I’m guessing it doesn’t. When you generate PDBs for Rust you probably
need to put something unique value there, then we could properly set the
language in lldb
On Mon, Aug 20, 2018 at 7:15 PM Vadim Chugunov  wrote:

> Hi!
> I've been investigating why LLDB refuses to set breakpoints in Rust source
> files when using PDB debug info on Windows...  This seems to stem from a
> couple of checks here
> 
> and here
> .
>
> I am wondering, what is the backstory there?  Are those still necessary?
> I tried disabling them and Rust debugging worked just fine...
>
>
___
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev