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 <[email protected]> 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

Attachment: chdir.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to