[llvm] r335353 - Fix test, nop is not always 1 byte
Paul Robinson via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 22 08:07:26 PDT 2018
Author: probinson
Date: Fri Jun 22 08:07:26 2018
New Revision: 335353
URL: http://llvm.org/viewvc/llvm-project?rev=335353&view=rev
Log:
Fix test, nop is not always 1 byte
Modified:
llvm/trunk/test/MC/ELF/dwarf-loc0.s
Modified: llvm/trunk/test/MC/ELF/dwarf-loc0.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ELF/dwarf-loc0.s?rev=335353&r1=335352&r2=335353&view=diff
==============================================================================
--- llvm/trunk/test/MC/ELF/dwarf-loc0.s (original)
+++ llvm/trunk/test/MC/ELF/dwarf-loc0.s Fri Jun 22 08:07:26 2018
@@ -17,9 +17,9 @@
# CHECK-NEXT: name: "header.h"
# CHECK: Address Line Column File
# CHECK-NEXT: -------
-# CHECK-NEXT: 0x{{0+}}0 10 0 0
-# CHECK-NEXT: 0x{{0+}}1 20 0 1
-# CHECK-NEXT: 0x{{0+}}2 20 0 1 {{.*}} end_sequence
+# CHECK-NEXT: 0x{{[0-9a-f]+}} 10 0 0
+# CHECK-NEXT: 0x{{[0-9a-f]+}} 20 0 1
+# CHECK-NEXT: 0x{{[0-9a-f]+}} 20 0 1 {{.*}} end_sequence
# ERR: file number less than one in '.loc' directive
# ERR-NEXT: .loc 0 10 0
More information about the llvm-commits
mailing list