[llvm-commits] [llvm] r133823 - /llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s

Francois Pichet pichet2000 at gmail.com
Fri Jun 24 18:01:19 PDT 2011


On Fri, Jun 24, 2011 at 4:59 PM, Jim Grosbach <grosbach at apple.com> wrote:
> Author: grosbach
> Date: Fri Jun 24 15:59:01 2011
> New Revision: 133823
>
> URL: http://llvm.org/viewvc/llvm-project?rev=133823&view=rev
> Log:
> Testcase for r133818
>
> Added:
>    llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s
>
> Added: llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s?rev=133823&view=auto
> ==============================================================================
> --- llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s (added)
> +++ llvm/trunk/test/MC/MachO/thumb2-movt-fixup.s Fri Jun 24 15:59:01 2011
> @@ -0,0 +1,17 @@
> +@ RUN: llvm-mc -mcpu=cortex-a8 -triple thumbv7-apple-darwin10 -filetype=obj -o - < %s | macho-dump | FileCheck %s
> +
> +_fred:
> +       movt    r3, :upper16:(_wilma-(LPC0_0+4))
> +LPC0_0:
> +
> +_wilma:
> +  .long 0
> +
> +@ CHECK:  ('_relocations', [
> +@ CHECK:    # Relocation 0
> +@ CHECK:    (('word-0', 0xb9000000),
> +@ CHECK:     ('word-1', 0x4)),
> +@ CHECK:    # Relocation 1
> +@ CHECK:    (('word-0', 0xb100fffc),
> +@ CHECK:     ('word-1', 0x4)),
> +
>

This fails on Windows (MSVC 2010), any idea?

here is the log:

1>  ********************
1>  FAIL: LLVM :: MC/MachO/thumb2-movt-fixup.s (7522 of 9308)
1>  ******************** TEST 'LLVM :: MC/MachO/thumb2-movt-fixup.s'
FAILED ********************
1>  Script:
1>  --
1>  C:/dev/llvm/llvm_trunk2/bin/Release/llvm-mc.EXE -mcpu=cortex-a8
-triple thumbv7-apple-darwin10 -filetype=obj -o - <
C:/dev/llvm/llvm_trunk2/test/MC/MachO/thumb2-movt-fixup.s |
C:/dev/llvm/llvm_trunk2/bin/Release/macho-dump.EXE |
C:/dev/llvm/llvm_trunk2/bin/Release/FileCheck.EXE
C:/dev/llvm/llvm_trunk2/test/MC/MachO/thumb2-movt-fixup.s
1>  --
1>  Exit Code: 1
1>  Command Output (stdout):
1>  --
1>  Command 0: "C:/dev/llvm/llvm_trunk2/bin/Release/llvm-mc.EXE"
"-mcpu=cortex-a8" "-triple" "thumbv7-apple-darwin10" "-filetype=obj"
"-o" "-"
1>  Command 0 Result: 1
1>  Command 0 Output:
1>
1>
1>  Command 0 Stderr:
1>C:/dev/llvm/llvm_trunk2/bin/Release/llvm-mc.EXE : error : unable to
get target for 'thumbv7-apple-darwin10', see --version and --triple.
1>
1>
1>  Command 1: "C:/dev/llvm/llvm_trunk2/bin/Release/macho-dump.EXE"
1>  Command 1 Result: 1
1>  Command 1 Output:
1>
1>
1>  Command 1 Stderr:
1>C:/dev/llvm/llvm_trunk2/bin/Release/macho-dump.EXE : error : unable
to load object: 'not a Mach object file (invalid magic)'
1>
1>
1>  Command 2: "C:/dev/llvm/llvm_trunk2/bin/Release/FileCheck.EXE"
"C:/dev/llvm/llvm_trunk2/test/MC/MachO/thumb2-movt-fixup.s"
1>  Command 2 Result: 1
1>  Command 2 Output:
1>
1>
1>  Command 2 Stderr:
1>CUSTOMBUILD : FileCheck error : '-' is empty.
1>




More information about the llvm-commits mailing list