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