diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2011-10-01 02:39:57 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2011-10-01 02:39:57 +0000 |
| commit | 59d9ebb103ae7f73f6478a03c00c5777e0c03e1e (patch) | |
| tree | 5af16ee8fff87e44193d89bfed693d2a5ee54b0f /clang/test | |
| parent | eb3c10c248ace4100f54e8fb55b7d477d959f222 (diff) | |
| download | bcm5719-llvm-59d9ebb103ae7f73f6478a03c00c5777e0c03e1e.tar.gz bcm5719-llvm-59d9ebb103ae7f73f6478a03c00c5777e0c03e1e.zip | |
As I suspected, completely non-multilib machines just get no suffix.
Make the suffixes optional everywhere, and just make sure they have the
right value. The suffixes aren't the interesting part of this test
anyways.
Sorry for the churn as I let the bots try out various patterns.
llvm-svn: 140927
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/Driver/linux-ld.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/test/Driver/linux-ld.c b/clang/test/Driver/linux-ld.c index b1a0d6880b1..bdf699ae1ba 100644 --- a/clang/test/Driver/linux-ld.c +++ b/clang/test/Driver/linux-ld.c @@ -2,10 +2,8 @@ // // RUN: %clang -no-canonical-prefixes -ccc-host-triple i386-unknown-linux %s -### -o %t.o 2>&1 \ // RUN: | FileCheck --check-prefix=CHECK-LD-32 %s -// 32-bit machines may use 'lib' or 'lib32' dependending on how they setup multilib. // CHECK-LD-32: "{{.*}}ld{{(.exe)?}}" {{.*}} "-L/lib/../lib{{(32)?}}" "-L/usr/lib/../lib{{(32)?}}" // // RUN: %clang -no-canonical-prefixes -ccc-host-triple x86_64-unknown-linux %s -### -o %t.o 2>&1 \ // RUN: | FileCheck --check-prefix=CHECK-LD-64 %s -// FIXME: Should we allow 'lib' instead of 'lib64' here? -// CHECK-LD-64: "{{.*}}ld{{(.exe)?}}" {{.*}} "-L/lib/../lib64" "-L/usr/lib/../lib64" +// CHECK-LD-64: "{{.*}}ld{{(.exe)?}}" {{.*}} "-L/lib/../lib{{(64)?}}" "-L/usr/lib/../lib{{(64)?}}" |

