<div dir="ltr">This is all on Windows.<div><br></div><div>I think I need to pass "/DEBUG":<div><a href="https://msdn.microsoft.com/en-us/library/xe4t6fc1.aspx">https://msdn.microsoft.com/en-us/library/xe4t6fc1.aspx</a><br></div><div><br></div><div>When compiling via llvm-lib:</div><div><div><a href="http://llvm.org/docs/CommandGuide/llvm-lib.html">http://llvm.org/docs/CommandGuide/llvm-lib.html</a></div><div><br></div><div>However, it seems like llvm-lib doesn't know about this flag and I can't seem to figure out how to get it to do the equivalent.</div><div><br></div><div>Basically when I am attempting to debug, I have a pdb and it is loading symbol information but it does not contain file or line number information and I can only step into functions as assembly.</div><div><br></div><div>I am compiling some code into objects, then into a .lib, then linking with clang-cl that lib plus more objects. When I do this I am unable to step into any of my code though I can see the function names in the callstack. <br><br>I am trying to set /DEBUG with calls to llvm-lib and I am setting the flags /Md /Zi /DEBUG when calling clang-cl. Am I missing something?<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><a href="http://justinmchase.com" target="_blank">http://justinmchase.com</a></div></div></div>
</div></div></div></div>