summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/arch-specific-libdir-rpath.c
Commit message (Collapse)AuthorAgeFilesLines
* Tests: strengthen CHECK line to avoid picking up stray path.Tim Northover2017-05-031-1/+1
| | | | | | | | A bot had "-LTO" in its working directory, which matched the regex used in this test. Since the arg is quoted, we can exploit that instead. Still broken if there's a path with a quote in, but I think that's pretty niche. llvm-svn: 302066
* Fix arch-specific-libdir tests on WindowsReid Kleckner2017-03-141-7/+7
| | | | | | | This is pretty horrible, but I forget if we have any better ways to handle these backslashing issues. llvm-svn: 297764
* [Driver] Fix arch-specific-libdir-rpath.cPirama Arumuga Nainar2017-03-141-3/+3
| | | | | | | | | | | | Summary: Fix the test by adding missing -target flags with a 'linux' triple. Reviewers: rnk, srhines Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D30947 llvm-svn: 297754
* [Driver] Add flag to request arch-specific-subdir in -rpathPirama Arumuga Nainar2017-03-141-20/+55
| | | | | | | | | | | | | | | | | | 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
* Add arch-specific directory to search pathPirama Arumuga Nainar2017-03-031-0/+50
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