[cfe-commits] [PATCH] Make ClangTool chdir into the compilation directory
Manuel Klimek
klimek at google.com
Thu May 3 00:41:53 PDT 2012
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: 4294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120503/f3341c56/attachment.obj>
More information about the cfe-commits
mailing list