Page MenuHomePhabricator

D60170.diff
No OneTemporary

File Metadata

Created
Thu, Aug 22, 1:32 PM

D60170.diff

Index: llvm/trunk/test/tools/llvm-objcopy/ELF/regex.test
===================================================================
--- llvm/trunk/test/tools/llvm-objcopy/ELF/regex.test
+++ llvm/trunk/test/tools/llvm-objcopy/ELF/regex.test
@@ -46,14 +46,20 @@
Value: 0x1010
Size: 8
-#REGEX1-NOT: foobaz
-#REGEX1-NOT: bar
-#REGEX1-NOT: rebar
-
-#REGEX2-NOT: foobaz
-#REGEX2: bar
-#REGEX2-NOT: rebar
-
-#REGEX3: foobaz
-#REGEX3: bar
-#REGEX3: rebar
+#REGEX1: Symbols [
+#REGEX1-NOT: Name: foobaz
+#REGEX1-NOT: Name: bar
+#REGEX1-NOT: Name: rebar
+#REGEX1: ]
+
+#REGEX2: Symbols [
+#REGEX2-NOT: Name: foobaz
+#REGEX2: Name: bar
+#REGEX2-NOT: Name: rebar
+#REGEX2: ]
+
+#REGEX3: Symbols [
+#REGEX3: Name: foobaz
+#REGEX3: Name: bar
+#REGEX3: Name: rebar
+#REGEX3: ]
Index: llvm/trunk/test/tools/llvm-symbolizer/ignore-undefined-symbols.s
===================================================================
--- llvm/trunk/test/tools/llvm-symbolizer/ignore-undefined-symbols.s
+++ llvm/trunk/test/tools/llvm-symbolizer/ignore-undefined-symbols.s
@@ -1,6 +1,6 @@
# REQUIRES: x86-registered-target
# RUN: llvm-mc --filetype=obj --triple=x86_64-pc-linux %s -o %t.o -g
-# RUN: llvm-symbolizer --obj=%t.o 0 | FileCheck %s --implicit-check-not=bar
+# RUN: llvm-symbolizer --obj=%t.o 0 | FileCheck %s --implicit-check-not={{^}}bar{{$}}
# CHECK: foo
# CHECK-NEXT: ignore-undefined-symbols.s:12:0

Event Timeline