diff options
| author | Pirama Arumuga Nainar <pirama@google.com> | 2017-03-14 16:58:07 +0000 |
|---|---|---|
| committer | Pirama Arumuga Nainar <pirama@google.com> | 2017-03-14 16:58:07 +0000 |
| commit | b9d8062eda0204206dbf149b52c0a13238e57a78 (patch) | |
| tree | a431f7f2c2cfd2e2d11f41255e310d63da1d0b47 /clang/test/Driver/arch-specific-libdir.c | |
| parent | 2b9f48afdd67dcfdd37d7afe6a34059cd390fc21 (diff) | |
| download | bcm5719-llvm-b9d8062eda0204206dbf149b52c0a13238e57a78.tar.gz bcm5719-llvm-b9d8062eda0204206dbf149b52c0a13238e57a78.zip | |
[Driver] Add flag to request arch-specific-subdir in -rpath
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
Diffstat (limited to 'clang/test/Driver/arch-specific-libdir.c')
| -rw-r--r-- | clang/test/Driver/arch-specific-libdir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/test/Driver/arch-specific-libdir.c b/clang/test/Driver/arch-specific-libdir.c index 3889b37131e..48196e6bdd0 100644 --- a/clang/test/Driver/arch-specific-libdir.c +++ b/clang/test/Driver/arch-specific-libdir.c @@ -1,8 +1,6 @@ // Test that the driver adds an arch-specific subdirectory in // {RESOURCE_DIR}/lib/linux to the search path. // -// REQUIRES: linux -// // RUN: %clang %s -### 2>&1 -target i386-unknown-linux \ // RUN: -resource-dir=%S/Inputs/resource_dir_with_arch_subdir \ // RUN: | FileCheck --check-prefixes=FILEPATH,ARCHDIR-i386 %s |

