summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2018-06-22 15:07:26 +0000
committerPaul Robinson <paul.robinson@sony.com>2018-06-22 15:07:26 +0000
commit6c434880301e4913aa93002d0ea73e0b41f60ff0 (patch)
treebbda3355fda6bfd0aab17477395d50664f36bade
parent64d8093691b1f76e2118ef7bb8cd19ea81e397d3 (diff)
downloadbcm5719-llvm-6c434880301e4913aa93002d0ea73e0b41f60ff0.tar.gz
bcm5719-llvm-6c434880301e4913aa93002d0ea73e0b41f60ff0.zip
Fix test, nop is not always 1 byte
llvm-svn: 335353
-rw-r--r--llvm/test/MC/ELF/dwarf-loc0.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/MC/ELF/dwarf-loc0.s b/llvm/test/MC/ELF/dwarf-loc0.s
index 02408e0b73c..59a9ce746bc 100644
--- a/llvm/test/MC/ELF/dwarf-loc0.s
+++ b/llvm/test/MC/ELF/dwarf-loc0.s
@@ -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
OpenPOWER on IntegriCloud