Right, I was able to forge the test case by hacking -fdebug-compilation-dir in clang-cc1 invocation. The fix by Rafael was incorrect, and I had to debug nasty memory corruption (ASan FTW). Which is one more proof of "never-compromise-the-testing" rule. Sigh. http://reviews.llvm.org/D1164