summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/arch-specific-libdir.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix arch-specific-libdir tests on WindowsReid Kleckner2017-03-141-5/+5
| | | | | | | This is pretty horrible, but I forget if we have any better ways to handle these backslashing issues. llvm-svn: 297764
* [Driver] Add flag to request arch-specific-subdir in -rpathPirama Arumuga Nainar2017-03-141-2/+0
| | | | | | | | | | | | | | | | | | Summary: This patch adds -f[no-]rtlib-add-rpath, which if enabled, embeds the arch-specific subdirectory in resource directory using -rpath (instead of doing so only during native compilation). This patch also re-enables test arch-specific-libdir.c which was silently unsupported because of the REQUIRES tag 'linux'. Reviewers: bkramer, rnk, mgorny Subscribers: srhines, cfe-commits Differential Revision: https://reviews.llvm.org/D30700 llvm-svn: 297751
* Restrict test arch-specific-libdir.c to LinuxPirama Arumuga Nainar2017-03-031-0/+2
| | | | | | | | | | | | Summary: This fails on Windows due to dependence on path separators. Reviewers: rnk, srhines Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D30595 llvm-svn: 296929
* Add arch-specific directory to search pathPirama Arumuga Nainar2017-03-031-0/+53
Summary: This change adds an arch-specific subdirectory in <ResourceDir>/lib/<OS> to the linker search path. This path also gets added as '-rpath' for native compilation if a runtime is linked in as a shared object. This allows arch-specific libraries to be installed alongside clang. Reviewers: danalbert, cbergstrom, javed.absar Subscribers: srhines Differential Revision: https://reviews.llvm.org/D30015 llvm-svn: 296927
OpenPOWER on IntegriCloud