Minor tidying of regex in a test
authorPaul Robinson <paul_robinson@playstation.sony.com>
Wed, 19 Aug 2015 19:36:35 +0000 (19:36 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Wed, 19 Aug 2015 19:36:35 +0000 (19:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245486 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/X86/dwarf-linkage-names.ll

index 203ad21..f0d146f 100644 (file)
 ; LINKAGE1: .section .debug_info
 ; LINKAGE1: DW_TAG_variable
 ; LINKAGE1-NOT: DW_TAG
-; LINKAGE1: {{DW_AT_(MIPS_)*linkage_name}}
+; LINKAGE1: {{DW_AT_(MIPS_)?linkage_name}}
 ; LINKAGE1: DW_TAG_subprogram
 ; LINKAGE1-NOT: DW_TAG
-; LINKAGE1: {{DW_AT_(MIPS_)*linkage_name}}
+; LINKAGE1: {{DW_AT_(MIPS_)?linkage_name}}
 ; LINKAGE1: .section
 
 ; Also verify we see the mangled names. We do this as a separate pass to
@@ -34,7 +34,7 @@
 ; Without linkage names, verify there aren't any linkage-name attributes,
 ; and no mangled names.
 
-; NOLINKAGE-NOT: {{DW_AT_(MIPS_)*linkage_name}}
+; NOLINKAGE-NOT: {{DW_AT_(MIPS_)?linkage_name}}
 ; NOLINKAGE-NOT: .asciz   "_ZN4test10global_varE"
 ; NOLINKAGE-NOT: .asciz   "_ZN4test3barEv"