This is an archive of the discontinued LLVM Phabricator instance.

[FileSystem] Remove ResolveExecutableLocation() from FileSpec
ClosedPublic

Authored by JDevlieghere on Oct 29 2018, 2:35 PM.

Diff Detail

Repository
rLLDB LLDB

Event Timeline

JDevlieghere created this revision.Oct 29 2018, 2:35 PM

Why did you change the function name? I think it would be nice to keep "executable" or something to that effect in the name (e.g. the llvm function has "program"), given that the underlying function checks for the executable bit, and so it cannot be used for general searches.

Why did you change the function name? I think it would be nice to keep "executable" or something to that effect in the name (e.g. the llvm function has "program"), given that the underlying function checks for the executable bit, and so it cannot be used for general searches.

Yep you're right, this wasn't clear from the doxygen but I should've checked the llvm implementation.

davide accepted this revision.Nov 1 2018, 9:38 AM

LGTM, thanks.

This revision is now accepted and ready to land.Nov 1 2018, 9:38 AM
This revision was automatically updated to reflect the committed changes.