summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2013-01-07 23:55:47 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2013-01-07 23:55:47 +0000
commitb9eb593e504b76288af51f8540fcc6ac2fc69b5d (patch)
tree54e6e6921ccc41ef9bc334a59c9a135bcacfee2c /clang/test
parenta1b246df57a0f92bffb16355976df175e3171827 (diff)
downloadbcm5719-llvm-b9eb593e504b76288af51f8540fcc6ac2fc69b5d.tar.gz
bcm5719-llvm-b9eb593e504b76288af51f8540fcc6ac2fc69b5d.zip
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. llvm-svn: 171815
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Driver/openbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/openbsd.c b/clang/test/Driver/openbsd.c
index 5bd85f6cb29..4fd5b6a41b5 100644
--- a/clang/test/Driver/openbsd.c
+++ b/clang/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 \
OpenPOWER on IntegriCloud