[llvm] r245486 - Minor tidying of regex in a test

Paul Robinson via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 12:36:35 PDT 2015


Author: probinson
Date: Wed Aug 19 14:36:35 2015
New Revision: 245486

URL: http://llvm.org/viewvc/llvm-project?rev=245486&view=rev
Log:
Minor tidying of regex in a test

Modified:
    llvm/trunk/test/DebugInfo/X86/dwarf-linkage-names.ll

Modified: llvm/trunk/test/DebugInfo/X86/dwarf-linkage-names.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/dwarf-linkage-names.ll?rev=245486&r1=245485&r2=245486&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/dwarf-linkage-names.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/dwarf-linkage-names.ll Wed Aug 19 14:36:35 2015
@@ -19,10 +19,10 @@
 ; 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"
 




More information about the llvm-commits mailing list