[PATCH] D17065: Defer CWD in MCContext lookup as late as possible.

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 15:15:03 PST 2016


Agreed, this can be hoisted out fairly easily.


On Wed, Feb 10, 2016 at 11:26 AM Chandler Carruth via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> 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).
>
> On Wed, Feb 10, 2016, 10:42 Owen Anderson <resistor at mac.com> wrote:
>
>> resistor added a comment.
>>
>> That makes sense to me in principle, but I know nothing of why CWD is
>> needed for (some form of?) DWARF generation at all.
>>
>>
>> Repository:
>>   rL LLVM
>>
>> http://reviews.llvm.org/D17065
>>
>>
>>
>> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160210/e88380f6/attachment.html>


More information about the llvm-commits mailing list