forked from OSchip/llvm-project
[Driver][test] Fix gcc-toolchain.cpp on non-x86_64
This commit is contained in:
parent
b98ad2ac08
commit
bed9933a46
|
@ -24,7 +24,8 @@
|
||||||
// CHECK: "{{[^"]*}}ld{{(.exe)?}}"
|
// CHECK: "{{[^"]*}}ld{{(.exe)?}}"
|
||||||
// CHECK-SAME: "{{[^"]*}}/usr/lib/gcc/x86_64-linux-gnu/4.8{{/|\\\\}}crtbegin.o"
|
// CHECK-SAME: "{{[^"]*}}/usr/lib/gcc/x86_64-linux-gnu/4.8{{/|\\\\}}crtbegin.o"
|
||||||
// CHECK-SAME: "-L[[TOOLCHAIN]]/usr/lib/gcc/x86_64-linux-gnu/4.8"
|
// CHECK-SAME: "-L[[TOOLCHAIN]]/usr/lib/gcc/x86_64-linux-gnu/4.8"
|
||||||
// CHECK-SAME: "-L[[TOOLCHAIN]]/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu"
|
/// On x86_64, there is an extra usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu but we should not test it.
|
||||||
|
// CHECK-SAME: "-L[[TOOLCHAIN]]/usr/lib/gcc/x86_64-linux-gnu/4.8/../../.."
|
||||||
|
|
||||||
/// Test we don't detect GCC installation under -B.
|
/// Test we don't detect GCC installation under -B.
|
||||||
// RUN: %clangxx -no-canonical-prefixes %s -### -o %t 2>&1 \
|
// RUN: %clangxx -no-canonical-prefixes %s -### -o %t 2>&1 \
|
||||||
|
|
Loading…
Reference in New Issue