[lld] r239067 - Fix the test to use the correct size.

Rafael Espindola rafael.espindola at gmail.com
Thu Jun 4 11:49:12 PDT 2015


Author: rafael
Date: Thu Jun  4 13:49:12 2015
New Revision: 239067

URL: http://llvm.org/viewvc/llvm-project?rev=239067&view=rev
Log:
Fix the test to use the correct size.

For some reason llvm's r239045 made lld propagate data_1's size. This indicates
a bug somewhere in lld.

I hesitated between changing the test or just checking in a .o produced with
the old llvm-mc. Since the size is now correct, it seemed better to update the
test.

Modified:
    lld/trunk/test/elf/Mips/got16-micro.test

Modified: lld/trunk/test/elf/Mips/got16-micro.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/Mips/got16-micro.test?rev=239067&r1=239066&r2=239067&view=diff
==============================================================================
--- lld/trunk/test/elf/Mips/got16-micro.test (original)
+++ lld/trunk/test/elf/Mips/got16-micro.test Thu Jun  4 13:49:12 2015
@@ -115,7 +115,7 @@
 
 # RAW: SYMBOL TABLE:
 # RAW: {{[0x0-9a-f]+}}       *UND*  00000000
-# RAW: {{[0x0-9a-f]+}} l     .data  00000000 data_1
+# RAW: {{[0x0-9a-f]+}} l     .data  00001020 data_1
 # RAW: {{[0x0-9a-f]+}} l     .data  00000001 data_2
 # RAW: {{[0x0-9a-f]+}} g   F .text  00000004 bar
 # RAW: {{[0x0-9a-f]+}} g   F .text  0000001c main





More information about the llvm-commits mailing list