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

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 11 16:29:04 PST 2016


aprantl added a subscriber: aprantl.
aprantl added a comment.

In http://reviews.llvm.org/D17065#348837, @chandlerc 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).


So during an LTO build you will get the CWD of wherever the linker was invoked?
Shouldn't this get passed in by the frontend as metadata?


Repository:
  rL LLVM

http://reviews.llvm.org/D17065





More information about the llvm-commits mailing list