Don't assume things about the exact details of the LLVM version number,
authorChandler Carruth <chandlerc@gmail.com>
Sat, 10 Dec 2011 21:40:31 +0000 (21:40 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 10 Dec 2011 21:40:31 +0000 (21:40 +0000)
such as what VCS information is attached.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146333 91177308-0d34-0410-b5e6-96231b3b80d8

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] *