[lld] r261085 - [ELF][MIPS] Update test case expectations due changes in MIPS/MC

Simon Atanasyan via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 17 10:48:56 PST 2016


Hi Rui,

Have you updated LLVM? I have checked LLD test suite right now and it
does not show this error. Initial failure in the got16-micro.test was
introduced by r261083. The r261085 changed the failed test case.

Regards,
Simon

On Wed, Feb 17, 2016 at 9:22 PM, Rui Ueyama <ruiu at google.com> wrote:
> Hi Simon,
>
> One more test is failing. Could you also fix this?
>
>
> ********************
> Testing: 0 .. 10.. 20.. 30.. 40.. 50..
> FAIL: lld :: old-elf/Mips/got16-micro.test (669 of 1085)
> ******************** TEST 'lld :: old-elf/Mips/got16-micro.test' FAILED
> ********************
> Script:
> --
> /ssd/build/./bin/llvm-mc -triple=mipsel -mattr=micromips
> -relocation-model=pic      -filetype=obj
> -o=/ssd/build/tools/lld/test/old-elf/Mips/Output/got16-micro.test.tmp.o
> /ssd/llvm/tools/lld/test/old-elf/Mips/got16-micro.test
> /ssd/build/./bin/lld -flavor old-gnu -target mipsel -shared --noinhibit-exec
> --output-filetype=yaml
> /ssd/build/tools/lld/test/old-elf/Mips/Output/got16-micro.test.tmp.o      |
> /ssd/build/./bin/FileCheck -check-prefix YAML
> /ssd/llvm/tools/lld/test/old-elf/Mips/got16-micro.test
> /ssd/build/./bin/lld -flavor old-gnu -target mipsel -shared --noinhibit-exec
> -o /ssd/build/tools/lld/test/old-elf/Mips/Output/got16-micro.test.tmp2
> /ssd/build/tools/lld/test/old-elf/Mips/Output/got16-micro.test.tmp.o
> /ssd/build/./bin/llvm-objdump -t -disassemble -mattr=micromips
> /ssd/build/tools/lld/test/old-elf/Mips/Output/got16-micro.test.tmp2    |
> /ssd/build/./bin/FileCheck -check-prefix RAW
> /ssd/llvm/tools/lld/test/old-elf/Mips/got16-micro.test
> --
> Exit Code: 1
>
> Command Output (stderr):
> --
> /ssd/llvm/tools/lld/test/old-elf/Mips/got16-micro.test:109:13: error:
> expected string not found in input
> # RAW-NEXT: {{[0x0-9a-f]+}}: 42 30 00 20 addiu $2, $2, 8192
>             ^
> <stdin>:10:2: note: scanning from here
>  198: 42 30 40 10 addiu $2, $2, 4160
>  ^
> <stdin>:12:2: note: possible intended match here
>  1a0: 42 30 60 20 addiu $2, $2, 8288
>  ^
>
> --
>
> On Wed, Feb 17, 2016 at 4:49 AM, Simon Atanasyan via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>>
>> Author: atanasyan
>> Date: Wed Feb 17 06:49:43 2016
>> New Revision: 261085
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=261085&view=rev
>> Log:
>> [ELF][MIPS] Update test case expectations due changes in MIPS/MC
>>
>> Modified:
>>     lld/trunk/test/old-elf/Mips/got16-micro.test
>>
>> Modified: lld/trunk/test/old-elf/Mips/got16-micro.test
>> URL:
>> http://llvm.org/viewvc/llvm-project/lld/trunk/test/old-elf/Mips/got16-micro.test?rev=261085&r1=261084&r2=261085&view=diff
>>
>> ==============================================================================
>> --- lld/trunk/test/old-elf/Mips/got16-micro.test (original)
>> +++ lld/trunk/test/old-elf/Mips/got16-micro.test Wed Feb 17 06:49:43 2016
>> @@ -106,9 +106,9 @@
>>  # RAW: Disassembly of section .text:
>>  # RAW: main:
>>  # RAW-NEXT:   {{[0x0-9a-f]+}}:  5c fc 18 80   lw      $2, -32744($gp)
>> -# RAW-NEXT:   {{[0x0-9a-f]+}}:  42 30 40 10   addiu   $2, $2, 4160
>> +# RAW-NEXT:   {{[0x0-9a-f]+}}:  42 30 00 20   addiu   $2, $2, 8192
>>  # RAW-NEXT:   {{[0x0-9a-f]+}}:  5c fc 1c 80   lw      $2, -32740($gp)
>> -# RAW-NEXT:   {{[0x0-9a-f]+}}:  42 30 60 20   addiu   $2, $2, 8288
>> +# RAW-NEXT:   {{[0x0-9a-f]+}}:  42 30 20 30   addiu   $2, $2, 12320
>>  # RAW-NEXT:   {{[0x0-9a-f]+}}:  5c fc 20 80   lw      $2, -32736($gp)
>>  # RAW-NEXT:   {{[0x0-9a-f]+}}:  5c fc 24 80   lw      $2, -32732($gp)
>>  # RAW-NEXT:   {{[0x0-9a-f]+}}:  5c fc 28 80   lw      $2, -32728($gp)


More information about the llvm-commits mailing list