mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
with fixes. Includes the move of tests for llvm-objdump for universal files to an X86 directory. And the fix where it was failing on linux Rafael tracked down with asan. I had both Jim Grosbach and Adam Hemet look over the second fix since I could not set up asan to reproduce with the old version but not with the fix. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223416 91177308-0d34-0410-b5e6-96231b3b80d8
26 lines
1.0 KiB
Plaintext
26 lines
1.0 KiB
Plaintext
RUN: llvm-objdump %p/Inputs/macho-universal.x86_64.i386 -d -m -no-show-raw-insn -full-leading-addr -print-imm-hex -arch all \
|
|
RUN: | FileCheck %s -check-prefix UEXE-all
|
|
RUN: llvm-objdump %p/Inputs/macho-universal-archive.x86_64.i386 -d -m -no-show-raw-insn -full-leading-addr -print-imm-hex -arch i386 \
|
|
RUN: | FileCheck %s -check-prefix UArchive-i386
|
|
|
|
UEXE-all: macho-universal.x86_64.i386 (architecture x86_64):
|
|
UEXE-all: (__TEXT,__text) section
|
|
UEXE-all: _main:
|
|
UEXE-all: 0000000100000f60 pushq %rbp
|
|
UEXE-all: 0000000100000f61 movq %rsp, %rbp
|
|
UEXE-all: macho-universal.x86_64.i386 (architecture i386):
|
|
UEXE-all: (__TEXT,__text) section
|
|
UEXE-all: _main:
|
|
UEXE-all: 00001fa0 pushl %ebp
|
|
UEXE-all: 00001fa1 movl %esp, %ebp
|
|
|
|
UArchive-i386: Archive : {{.*}}/macho-universal-archive.x86_64.i386
|
|
UArchive-i386: macho-universal-archive.x86_64.i386(foo.o):
|
|
UArchive-i386: (__TEXT,__text) section
|
|
UArchive-i386: _foo:
|
|
UArchive-i386: 00000000 pushl %ebp
|
|
UArchive-i386: 00000001 movl %esp, %ebp
|
|
UArchive-i386: 00000003 popl %ebp
|
|
UArchive-i386: 00000004 retl
|
|
|