current_path() is already calling ::getcwd() on Linux, is it faster to check getenv($PWD)? A related question for discussion is whether current_path() should check getenv(%CD%) on Windows. http://llvm-reviews.chandlerc.com/D1335