[lld] r333209 - Fix regex in lld ppc64-ifunc test.

Sean Fertile via llvm-commits llvm-commits at lists.llvm.org
Thu May 24 10:07:16 PDT 2018


Author: sfertile
Date: Thu May 24 10:07:16 2018
New Revision: 333209

URL: http://llvm.org/viewvc/llvm-project?rev=333209&view=rev
Log:
Fix regex in lld ppc64-ifunc test.

One of the regexes for reading in a hex address was missing the a-f part.

Modified:
    lld/trunk/test/ELF/ppc64-ifunc.s

Modified: lld/trunk/test/ELF/ppc64-ifunc.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/ppc64-ifunc.s?rev=333209&r1=333208&r2=333209&view=diff
==============================================================================
--- lld/trunk/test/ELF/ppc64-ifunc.s (original)
+++ lld/trunk/test/ELF/ppc64-ifunc.s Thu May 24 10:07:16 2018
@@ -57,7 +57,7 @@
 # DT: 0x0000000000000003 PLTGOT 0x10030000
 
 # Check that we emit the correct dynamic relocation type for an ifunc
-# DYNREL: 'PLT' relocation section at offset 0x{{[0-9]+}} contains 48 bytes:
+# DYNREL: 'PLT' relocation section at offset 0x{{[0-9a-f]+}} contains 48 bytes:
 # 48 bytes --> 2 Elf64_Rela relocations
 # DYNREL-NEXT: Offset        Info           Type               Symbol's Value  Symbol's Name + Addend
 # DYNREL-NEXT: {{[0-9a-f]+}} {{[0-9a-f]+}}  R_PPC64_JMP_SLOT      {{0+}}            foo + 0




More information about the llvm-commits mailing list