[cfe-commits] [PATCH] Make ClangTool chdir into the compilation directory

Manuel Klimek klimek at google.com
Sun May 6 23:06:19 PDT 2012


Ping.

On Fri, May 4, 2012 at 6:29 PM, Manuel Klimek <klimek at google.com> wrote:
> 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



More information about the cfe-commits mailing list