diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2017-03-14 17:26:56 +0000 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2017-03-14 17:26:56 +0000 |
commit | cd037451d76270ac84c1e9ce949e4f83e16ea85f (patch) | |
tree | 7386e895c326d1e3e90c6da461cc975e4153a9c7 | |
parent | e1a292eafded2cdd523318abe0c30b5d90e9478f (diff) | |
download | bcm5719-llvm-cd037451d76270ac84c1e9ce949e4f83e16ea85f.tar.gz bcm5719-llvm-cd037451d76270ac84c1e9ce949e4f83e16ea85f.zip |
[Driver] Fix arch-specific-libdir-rpath.c
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
-rw-r--r-- | clang/test/Driver/arch-specific-libdir-rpath.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/Driver/arch-specific-libdir-rpath.c b/clang/test/Driver/arch-specific-libdir-rpath.c index 537870becbc..3a7b79dd569 100644 --- a/clang/test/Driver/arch-specific-libdir-rpath.c +++ b/clang/test/Driver/arch-specific-libdir-rpath.c @@ -59,19 +59,19 @@ // RUN: | FileCheck --check-prefixes=RESDIR,LIBPATH-X86_64,RPATH-X86_64 %s // // Add LIBPATH but no RPATH for ubsan (or any other sanitizer) -// RUN: %clang %s -### 2>&1 -fsanitize=undefined \ +// RUN: %clang %s -### 2>&1 -fsanitize=undefined -target x86_64-linux \ // RUN: -resource-dir=%S/Inputs/resource_dir_with_arch_subdir \ // RUN: -frtlib-add-rpath \ // RUN: | FileCheck --check-prefixes=RESDIR,LIBPATH-X86_64,NO-RPATH %s // // Add LIBPATH but no RPATH if no sanitizer or runtime is specified -// RUN: %clang %s -### 2>&1 \ +// RUN: %clang %s -### 2>&1 -target x86_64-linux \ // RUN: -resource-dir=%S/Inputs/resource_dir_with_arch_subdir \ // RUN: -frtlib-add-rpath \ // RUN: | FileCheck --check-prefixes=RESDIR,LIBPATH-X86_64,NO-RPATH %s // // Do not add LIBPATH or RPATH if arch-specific subdir doesn't exist -// RUN: %clang %s -### 2>&1 \ +// RUN: %clang %s -### 2>&1 -target x86_64-linux \ // RUN: -resource-dir=%S/Inputs/resource_dir \ // RUN: -frtlib-add-rpath \ // RUN: | FileCheck --check-prefixes=RESDIR,NO-LIBPATH,NO-RPATH %s |