<div dir="ltr">Why -fuse-ld=lld?   What does lld do differently than MS linker?<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 26, 2017 at 1:10 PM, Zachary Turner <span dir="ltr"><<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">For clang-cl you need to use -fuse-ld=lld.  For msvc only a small amount of pdb support was added to lldb, namely the ability to resolve file and line info.<br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 26, 2017 at 12:46 PM Vadim Chugunov <<a href="mailto:vadimcn@gmail.com" target="_blank">vadimcn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'm trying to use LLDB built from svn trunk: for MSVC emitted binaries it cannot set any breakpoints, and for clang-cl outputs it crashes when setting a breakpoiint by file/line.   Are these scenarios supposed to work?<div>WinDbg works fine in both cases, so the debug info is probably ok.<div><div><br><div>(I'm using VS 2017 Build Tools, if that matters).<br></div></div></div></div></div><div dir="ltr"><div><div><div><div><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 26, 2017 at 11:54 AM, Adrian McCarthy <span dir="ltr"><<a href="mailto:amccarth@google.com" target="_blank">amccarth@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Basic PDB support is in LLDB if you're running on Windows.  LLDB has a SymbolFilePDB plugin that relies on a PDB abstraction in LLVM.  There is currently just one implementation of that abstraction, and it relies on DIA, which is a Microsoft-provided DLL on Windows for looking up information in a PDB.<div><br></div><div>I'm currently working on a native PDB reader that implements the same interface without reliance on DIA, so that should eventually provide the same functionality even if you're not running on Windows.</div><div><br></div><div>Browsing through the PDB plugin in LLDB, I see a lot of "//TODO:  Implement this" methods, so you won't (yet) have rich type information.  But you can set breakpoints by name, get a stack backtrace, print variable values, etc.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 26, 2017 at 11:19 AM, Vadim Chugunov via lldb-dev <span dir="ltr"><<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><div>What is the current status of LLDB's PDB file parser on Windows?   It was announced back in 2015 that PDB support is coming soon, so I was wondering where it's at currently.<br></div></div><div><br></div></div>
<br>______________________________<wbr>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></div></div></div></div></div></blockquote></div>
</blockquote></div><br></div></div>