<p dir="ltr">It's used to resolve relative paths encoded elsewhere in dwarf. I think all the clients building an mccontext either have an analog (clang) or can reasonably directly query their cwd (llc and friends).</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, Feb 10, 2016, 10:42 Owen Anderson <<a href="mailto:resistor@mac.com">resistor@mac.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">resistor added a comment.<br>
<br>
That makes sense to me in principle, but I know nothing of why CWD is needed for (some form of?) DWARF generation at all.<br>
<br>
<br>
Repository:<br>
rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D17065" rel="noreferrer" target="_blank">http://reviews.llvm.org/D17065</a><br>
<br>
<br>
<br>
</blockquote></div>