[llvm] 9cacc22 - [dsymutil] Use a regex in the static-archive-collision.test
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 12 10:22:21 PDT 2023
Author: Jonas Devlieghere
Date: 2023-06-12T10:22:15-07:00
New Revision: 9cacc22640ef67bd62b4cf3e4a5282b101e0c63b
URL: https://github.com/llvm/llvm-project/commit/9cacc22640ef67bd62b4cf3e4a5282b101e0c63b
DIFF: https://github.com/llvm/llvm-project/commit/9cacc22640ef67bd62b4cf3e4a5282b101e0c63b.diff
LOG: [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.
Added:
Modified:
llvm/test/tools/dsymutil/ARM/static-archive-collision.test
Removed:
################################################################################
diff --git a/llvm/test/tools/dsymutil/ARM/static-archive-collision.test b/llvm/test/tools/dsymutil/ARM/static-archive-collision.test
index fb87ce827e1bd..7182f0917d897 100644
--- a/llvm/test/tools/dsymutil/ARM/static-archive-collision.test
+++ b/llvm/test/tools/dsymutil/ARM/static-archive-collision.test
@@ -21,6 +21,6 @@ $ libtool -static f/foo.o g/foo.o -o foo.a
$ clang main.o foo.a -o main.out
RUN: dsymutil -oso-prepend-path %p/../Inputs %p/../Inputs/private/tmp/collision/main.out --dump-debug-map 2>&1 | FileCheck %s
-CHECK: skipping debug map object with duplicate name and timestamp: 1969-12-31 16:00:00.000000000 /private/tmp/collision/foo.a(foo.o)
+CHECK: skipping debug map object with duplicate name and timestamp: {{.*}} /private/tmp/collision/foo.a(foo.o)
CHECK-NOT: could not find object file symbol for symbol _g
CHECK-NOT: could not find object file symbol for symbol _f
More information about the llvm-commits
mailing list