[llvm] r205232 - Now that this test is assembly, make the checks a bit stronger.

Rafael Espindola rafael.espindola at gmail.com
Mon Mar 31 11:01:50 PDT 2014


Author: rafael
Date: Mon Mar 31 13:01:50 2014
New Revision: 205232

URL: http://llvm.org/viewvc/llvm-project?rev=205232&view=rev
Log:
Now that this test is assembly, make the checks a bit stronger.

This will be used for a followup patch.

Modified:
    llvm/trunk/test/MC/Mips/xgot.s

Modified: llvm/trunk/test/MC/Mips/xgot.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/Mips/xgot.s?rev=205232&r1=205231&r2=205232&view=diff
==============================================================================
--- llvm/trunk/test/MC/Mips/xgot.s (original)
+++ llvm/trunk/test/MC/Mips/xgot.s Mon Mar 31 13:01:50 2014
@@ -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





More information about the llvm-commits mailing list