diff options
author | Dmitri Gribenko <gribozavr@gmail.com> | 2013-01-07 23:55:47 +0000 |
---|---|---|
committer | Dmitri Gribenko <gribozavr@gmail.com> | 2013-01-07 23:55:47 +0000 |
commit | c117f39a772a3f1e42915d79916013e9fa9f29a9 (patch) | |
tree | adef7e6e1f481fae13859e22cab7578d71120480 | |
parent | 9c78f9bddc42dbdeb05a7183b4770d33b0bda7d3 (diff) |
Correct OpenBSD profiling test
The test should be looking for gcrt0.o not crt0.o. Clang was already printing
"gcrt0", but the test was looking for "{{.*}}crt0.o", and the .* regexp
consumed "g".
Patch by Brad Smith.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171815 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Driver/openbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Driver/openbsd.c b/test/Driver/openbsd.c index 5bd85f6cb2..4fd5b6a41b 100644 --- a/test/Driver/openbsd.c +++ b/test/Driver/openbsd.c @@ -6,7 +6,7 @@ // RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd -pg -pthread %s -### 2>&1 \ // RUN: | FileCheck --check-prefix=CHECK-PG %s // CHECK-PG: clang{{.*}}" "-cc1" "-triple" "i686-pc-openbsd" -// CHECK-PG: ld{{.*}}" "-e" "__start" "--eh-frame-hdr" "-Bdynamic" "-dynamic-linker" "{{.*}}ld.so" "-o" "a.out" "{{.*}}crt0.o" "{{.*}}crtbegin.o" "{{.*}}.o" "-lgcc" "-lpthread_p" "-lc_p" "-lgcc" "{{.*}}crtend.o" +// CHECK-PG: ld{{.*}}" "-e" "__start" "--eh-frame-hdr" "-Bdynamic" "-dynamic-linker" "{{.*}}ld.so" "-o" "a.out" "{{.*}}gcrt0.o" "{{.*}}crtbegin.o" "{{.*}}.o" "-lgcc" "-lpthread_p" "-lc_p" "-lgcc" "{{.*}}crtend.o" // Check that the new linker flags are passed to OpenBSD // RUN: %clang -no-canonical-prefixes -target i686-pc-openbsd -r %s -### 2>&1 \ |