[cfe-commits] [PATCH] Make ClangTool chdir into the compilation directory
Manuel Klimek
klimek at google.com
Fri May 4 09:29:58 PDT 2012
As proposed by chandler on irc, added a big comment in front of the chdir.
On Thu, May 3, 2012 at 9:41 AM, Manuel Klimek <klimek at google.com> wrote:
> As -working-directory only affects the build inputs, not the include
> files, we need to chdir into the correct directory to resolve relative
> paths.
>
> Main non-obvious point for review: is chdir() portable enough, or do I
> need a different way? I looked through llvm's Support directory but
> didn't find anything.
>
> Cheers,
> /Manuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chdir.patch
Type: application/octet-stream
Size: 4815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120504/9b402d27/attachment.obj>
More information about the cfe-commits
mailing list