Skip to content

Commit 8591131

Browse files
committed
[dsymutil] Use a regex in the static-archive-collision.test
Windows and Unix use different epochs: 1970-01-01 00:00:00.000000000 and 1969-12-31 16:00:00.000000000 respectively. (cherry picked from commit 9cacc22)
1 parent 9f5ee4d commit 8591131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/tools/dsymutil/ARM/static-archive-collision.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ $ libtool -static f/foo.o g/foo.o -o foo.a
2121
$ clang main.o foo.a -o main.out
2222

2323
RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/collision/main.out --dump-debug-map 2>&1 | FileCheck %s
24-
CHECK: skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /private/tmp/collision/foo.a(foo.o)
24+
CHECK: skipping debug map object with duplicate name and timestamp: {{.*}} /private/tmp/collision/foo.a(foo.o)
2525
CHECK-NOT: could not find object file symbol for symbol _g
2626
CHECK-NOT: could not find object file symbol for symbol _f

0 commit comments

Comments
 (0)