Abandoning this as it's obviously wrong. Occurred to me later on that even a path that starts with \ in windows is still a relative path, it's just relative to the current drive. http://reviews.llvm.org/D4224