summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-03-30 21:05:31 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-03-30 21:05:31 +0000
commit1eee6eda0e064a1146c04d37341f4a46d211179e (patch)
treedc9226dd3542e534f98b69ae91d403f3a4c8e189 /clang/lib/Frontend/CompilerInvocation.cpp
parent533b1bde1b8feaf9f6667ac6f73b1b1f1bee3597 (diff)
downloadbcm5719-llvm-1eee6eda0e064a1146c04d37341f4a46d211179e.tar.gz
bcm5719-llvm-1eee6eda0e064a1146c04d37341f4a46d211179e.zip
Use os.path.realpath when tracking the cwd.
This is needed by TestCases/Posix/coverage-direct.cc The problem is that the test does: mkdir <dir> cd <dir> cd .. rm -rf <dir> <more commands> the current directory currently looks like "/.../<dir>/../" which doesn't exist when dir is deleted. at some point we should probably switch to using the os current directory (specially if we want to add subshell), but this is a small incremental improvement. llvm-svn: 299113
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud