This is an archive of the discontinued LLVM Phabricator instance.

Fix ComputeSupportExeDirectory for Linux (merge with Android).
ClosedPublic

Authored by chaoren on Mar 20 2015, 8:48 PM.

Details

Summary

ComputeSupportExeDirectory relied on ComputeSharedLibraryDirectory which was
not always reliable. Using procfs seems to be the best way to deal with it on
Linux (since it's already done on Android, might as well merge it).

Diff Detail

Repository
rL LLVM

Event Timeline

chaoren updated this revision to Diff 22405.Mar 20 2015, 8:48 PM
chaoren retitled this revision from to Fix ComputeSupportExeDirectory for Linux (merge with Android)..
chaoren updated this object.
chaoren edited the test plan for this revision. (Show Details)
chaoren added a reviewer: ovyalov.
chaoren added a subscriber: Unknown Object (MLST).
ovyalov accepted this revision.Mar 20 2015, 8:59 PM
ovyalov edited edge metadata.

Looks good.

This revision is now accepted and ready to land.Mar 20 2015, 8:59 PM
This revision was automatically updated to reflect the committed changes.