<div dir="ltr">Hi all, in case you missed the blog post from a week ago, LLD is now generating PDBs when you link with /DEBUG.<div><br></div><div>If you're a regular Windows user, and you frequently use either the VS debugger or WinDbg as part of your daily routine, I just want to throw out there that you can now switch to a clang selfhost build + optionally linking with LLD, and dogfood our debug info.</div><div><br></div><div>To do a selfhost build, all you need to do is first do an optimized build of clang using whatever settings you normally do, then do a second non-optimized build and pass </div><div>-DCMAKE_C_EXECUTABLE=<release-bin-dir>/clang-cl.exe </div><div>-DCMAKE_CXX_EXECUTABLE=<release-bin-dir>/clang-cl.exe   <br></div><div><br></div><div>Then when you wan tto debug whatever part of LLVM / Clang you're working on, just point it to this self-hosted executable and file bugs if the debugger acts weird.</div><div><br></div><div>Thanks!</div></div>