diff options
| author | Fangrui Song <maskray@google.com> | 2019-08-08 01:55:27 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-08-08 01:55:27 +0000 |
| commit | 7dbdc8de183e7aa2dc0a9c3a4f473142ddd460bf (patch) | |
| tree | f52860148509ae78360e58fda3a8430ba869f5c7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 07e6798baf9aee653168fbb281311358eb483928 (diff) | |
[Driver] Move LIBRARY_PATH before user inputs
Fixes PR16786
Currently, library paths specified by LIBRARY_PATH are placed after inputs: `inputs LIBRARY_PATH stdlib`
In gcc, the order is: `LIBRARY_PATH inputs stdlib` if not cross compiling.
(On Darwin targets, isCrossCompiling() always returns false.)
This patch changes the behavior to match gcc.
Reviewed By: hfinkel
Differential Revision: https://reviews.llvm.org/D65880
llvm-svn: 368245
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
