Thanks, I know that dwarf works with lldb on Windows, but I was
specifically trying to debug a program compiled with pdb debug info.
(Why not a native Windows debugger? Because I have existing code that uses
lldb api.)
On Fri, Jul 28, 2017 at 4:10 AM, Zachary Turner wrote:
It can handle linking dwarf debug info. Also I misspoke, you can't get
dwarf debug info with clang-cl, but you can with clang++ on windows. Look
at how the test suite on windows compiles the inferiors. That's currently
the best debugging experience of Windows programs.
Unfortunately i was never
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?
WinDbg works fine in both cases, so the debug info is probably ok.
(I'm using
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