diff options
author | Dan Gohman <gohman@apple.com> | 2010-09-02 22:32:38 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-09-02 22:32:38 +0000 |
commit | 776339ee273c55beb3073a6dee5a8d34e4c34493 (patch) | |
tree | 7a0279508afb4748c669fb69907114e9c5d8d600 /lib/VMCore/Module.cpp | |
parent | 514ca3a021ea0aa421ac4163e553364514fe651c (diff) |
Use the FindProgramByName fallback only with known absolute paths.
I wasn't able to convince myself that all GetMainExecutable
implementations always return absolute paths; this prevents
unexpected behavior in case they ever don't.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Module.cpp')
0 files changed, 0 insertions, 0 deletions