<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, Feb 11, 2016 at 4:29 PM Adrian Prantl <<a href="mailto:aprantl@apple.com">aprantl@apple.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">aprantl added a subscriber: aprantl.<br>
aprantl added a comment.<br>
<br>
In <a href="http://reviews.llvm.org/D17065#348837" rel="noreferrer" target="_blank">http://reviews.llvm.org/D17065#348837</a>, @chandlerc wrote:<br>
<br>
> It's used to resolve relative paths encoded elsewhere in dwarf. I think all<br>
> the clients building an mccontext either have an analog (clang) or can<br>
> reasonably directly query their cwd (llc and friends).<br>
<br>
<br>
So during an LTO build you will get the CWD of wherever the linker was invoked?<br>
Shouldn't this get passed in by the frontend as metadata?<br></blockquote><div><br></div><div>The MCContext one should just be used for .s files. Anything else should have explicit paths in the metadata, yes.</div><div><br></div><div>-eric </div></div></div>