Don't assume things about the exact details of the LLVM version number,
[oota-llvm.git] / test / MC / MachO / gen-dwarf.s
index 6b851354cccca3c98e4d1f3993e5df3dc216866b..c2445706c3c2a2961d2211f67fd1a4592280eff2 100644 (file)
@@ -45,7 +45,7 @@ _x:   .long 1
 // We don't check the file name as it is a temp directory
 // CHECK:    DW_AT_name [DW_FORM_string]
 // We don't check the DW_AT_comp_dir which is the current working directory
-// CHECK:    DW_AT_producer [DW_FORM_string]   ("llvm-mc (based on LLVM 3.1svn)")
+// CHECK:    DW_AT_producer [DW_FORM_string]   ("llvm-mc (based on LLVM 3.1{{.*}})")
 // CHECK:    DW_AT_language [DW_FORM_data2]    (0x8001)
 
 // CHECK:    DW_TAG_subprogram [2] *