From: Rafael Espindola Date: Mon, 31 Mar 2014 18:01:50 +0000 (+0000) Subject: Now that this test is assembly, make the checks a bit stronger. X-Git-Tag: android-x86-7.1-r4~63509 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=524b776505676576ce31191319ec9bf873ca1ffc;p=android-x86%2Fexternal-llvm.git Now that this test is assembly, make the checks a bit stronger. This will be used for a followup patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205232 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/MC/Mips/xgot.s b/test/MC/Mips/xgot.s index 072e662c5ce..13e1b7e733e 100644 --- a/test/MC/Mips/xgot.s +++ b/test/MC/Mips/xgot.s @@ -4,14 +4,14 @@ // For the xgot case we want to see R_MIPS_[GOT|CALL]_[HI|LO]16. // CHECK: Relocations [ -// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_HI16 -// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_LO16 -// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_GOT_HI16 -// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_GOT_LO16 -// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_CALL_HI16 -// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_GOT16 -// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_CALL_LO16 -// CHECK: 0x{{[0-9,A-F]+}} R_MIPS_LO16 +// CHECK: 0x0 R_MIPS_HI16 _gp_disp +// CHECK: 0x4 R_MIPS_LO16 _gp_disp +// CHECK: 0x14 R_MIPS_GOT_HI16 ext_1 +// CHECK: 0x1C R_MIPS_GOT_LO16 ext_1 +// CHECK: 0x24 R_MIPS_CALL_HI16 printf +// CHECK: 0x2C R_MIPS_GOT16 $.str +// CHECK: 0x30 R_MIPS_CALL_LO16 printf +// CHECK: 0x38 R_MIPS_LO16 .rodata.str1.1 // CHECK: ] .text