Looks good. ================ Comment at: lib/Tooling/Tooling.cpp:334 @@ +333,3 @@ + // guaranteeing that all subsequent relative path operations work + // on the same path the original chdir resulted in. This makes a + // difference ---------------- Why? http://reviews.llvm.org/D5086