[PATCH] D53557: [hurd] Make getMainExecutable get the real binary path
Samuel Thibault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 23 00:48:33 PDT 2018
sthibaul added a comment.
Note: I added the realpath call for all OSes hitting this part of the code, in case the behavior would be the same on some other OSes. We could instead just call realpath(exe_path, NULL); only in the __GNU__ case (i.e. GNU/Hurd) instead if it is preferred.
Repository:
rL LLVM
https://reviews.llvm.org/D53557
More information about the llvm-commits
mailing list