diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2012-09-26 08:30:35 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2012-09-26 08:30:35 +0000 |
commit | 12c44e57f578d97afb90faa2446cc47527886da1 (patch) | |
tree | d9329736a564e56ade9dee17bdb4fed3ffa4dab0 /llvm/lib/Support/ToolOutputFile.cpp | |
parent | 2b425e1e2449f91cf7e4d361287bed9c301c287d (diff) | |
download | bcm5719-llvm-12c44e57f578d97afb90faa2446cc47527886da1.tar.gz bcm5719-llvm-12c44e57f578d97afb90faa2446cc47527886da1.zip |
The assumption that /proc/self/exe always exists is incorrect.
For example, under a Linux chroot, /proc/ might not be mounted.
Therefor, we test if this file exist. If it is the case, use it (the current
behavior). Otherwise, we fall back to the detection used by *BSD.
The issue has been reported initially on the Debian bug tracker:
http://bugs.debian.org/674588
llvm-svn: 164676
Diffstat (limited to 'llvm/lib/Support/ToolOutputFile.cpp')
0 files changed, 0 insertions, 0 deletions