aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2017-06-16 22:40:18 +0000
committerPetr Hosek <phosek@chromium.org>2017-06-16 22:40:18 +0000
commit8f90efe3469d6fb991cef73bc4b189bce7328ec2 (patch)
tree0aa2b041e6e44042d71d00f82b7fa46841283c38 /llvm/lib/Object/WasmObjectFile.cpp
parent274bcbc139463b72d949cd32b972b3721c99f4be (diff)
downloadllvm-8f90efe3469d6fb991cef73bc4b189bce7328ec2.zip
llvm-8f90efe3469d6fb991cef73bc4b189bce7328ec2.tar.gz
llvm-8f90efe3469d6fb991cef73bc4b189bce7328ec2.tar.bz2
[Driver] Do a PATH lookup if needed when using -no-canonical-prefixes
When -no-canonical-prefixes option is used and argv0 contains only a program name, we need to do a PATH lookup to get an executable path, otherwise the return value won't be a valid path and any subsequent uses of it (e.g. when invoking -cc1) will fail with an error. This patch fixes PR9576. Differential Revision: https://reviews.llvm.org/D34290 llvm-svn: 305600
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions