This is an archive of the discontinued LLVM Phabricator instance.

Driver: Add OS-specific resource directory to file search paths.
Needs ReviewPublic

Authored by Shiz on May 26 2015, 6:13 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This patch adds the OS-specific resource directory ($resourcedir/lib/$os) to the default file search paths when invoking Driver::GetFilePath.
This allows it to find the non-generic files it may need, as well as making the GCC-compatible driver's -print-file-name work with e.g. the libclang_rt.*.a files.

Diff Detail

Event Timeline

Shiz updated this revision to Diff 26561.May 26 2015, 6:13 PM
Shiz retitled this revision from to Driver: Add OS-specific resource directory to file search paths..
Shiz updated this object.
Shiz edited the test plan for this revision. (Show Details)
Shiz added a subscriber: Unknown Object (MLST).
MaskRay added a subscriber: MaskRay.Jul 6 2019, 7:58 PM

Implemented by D31447