Index: tools/llvm/driver/pathtools.py |
=================================================================== |
--- tools/llvm/driver/pathtools.py (revision 6299) |
+++ tools/llvm/driver/pathtools.py (working copy) |
@@ -45,6 +45,10 @@ |
if syspath.startswith('/cygdrive/'): |
return syspath |
+ # Leave '-' alone since it represents stdout and not a real path. |
+ if syspath == '-': |
+ return syspath |
+ |
components = os.path.abspath(syspath).split('\\') |
drive = components[0] |
components = components[1:] |