diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2016-06-06 13:13:12 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2016-06-06 13:13:12 +0000 |
commit | 1391e6f4bd9b89c428e3babf16531a468036005b (patch) | |
tree | d5f90d3848d1f71dffbab57a08c3515f0549259f /test/Driver/netbsd.c | |
parent | 8cab059d7933247f0f161e3173d2660aa1fccbb4 (diff) |
Give FileCheck a hint on which ld to match. Under Windows, the preferred
match was the ld.elf_so that should be matched in a second step. Add one
of the ever-present-but-irrelevant-for-this-test arguments to the
pattern to force matching the right argument.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@271893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Driver/netbsd.c')
-rw-r--r-- | test/Driver/netbsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Driver/netbsd.c b/test/Driver/netbsd.c index 34757b5a49..1a87d8e1a6 100644 --- a/test/Driver/netbsd.c +++ b/test/Driver/netbsd.c @@ -115,7 +115,7 @@ // RUN: --sysroot=%S/Inputs/basic_netbsd_tree %s -### 2>&1 \ // RUN: | FileCheck -check-prefix=S-POWERPC64 %s -// STATIC: ld{{.*}}" +// STATIC: ld{{.*}}" "--eh-frame-hdr" // STATIC-NOT: "-pie" // STATIC-NOT: "-Bshareable" // STATIC: "-dynamic-linker" "/libexec/ld.elf_so" @@ -125,14 +125,14 @@ // STATIC: "{{.*}}/usr/lib{{/|\\\\}}crti.o" "{{.*}}/usr/lib{{/|\\\\}}crtbegin.o" // STATIC: "{{.*}}/usr/lib{{/|\\\\}}crtend.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" -// SHARED: ld{{.*}}" +// SHARED: ld{{.*}}" "--eh-frame-hdr" // SHARED-NOT: "-pie" // SHARED-NOT: "-dynamic-linker" // SHARED-NOT: "{{.*}}/usr/lib{{/|\\\\}}crt0.o" // SHARED: "{{.*}}/usr/lib{{/|\\\\}}crti.o" "{{.*}}/usr/lib{{/|\\\\}}crtbeginS.o" // SHARED: "{{.*}}/usr/lib{{/|\\\\}}crtendS.o" "{{.*}}/usr/lib{{/|\\\\}}crtn.o" -// PIE: ld{{.*}}" +// PIE: ld{{.*}}" "--eh-frame-hdr" // PIE-NOT: "-Bshareable" // PIE "-pie" "-dynamic-linker" "/libexec/ld.elf_so" // PIE-NOT: "-Bshareable" |