Mercurial > hg > CbC > CbC_llvm
diff lld/test/COFF/lto.ll @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children | 2e18cbf3894f |
line wrap: on
line diff
--- a/lld/test/COFF/lto.ll Mon May 25 11:50:15 2020 +0900 +++ b/lld/test/COFF/lto.ll Mon May 25 11:55:54 2020 +0900 @@ -11,31 +11,31 @@ ; RUN: lld-link /out:%T/main.exe /entry:main /include:f2 /subsystem:console %T/main.lto.obj %T/foo.lto.obj ; RUN: llvm-readobj --file-headers %T/main.exe | FileCheck -check-prefix=HEADERS-11 %s -; RUN: llvm-objdump -d %T/main.exe | FileCheck -check-prefix=TEXT-11 %s +; RUN: llvm-objdump -d %T/main.exe | FileCheck --check-prefix=TEXT-11 %s ; RUN: lld-link /out:%T/main.exe /entry:main /include:f2 /subsystem:console %T/main.lto.obj %T/foo.lto.lib /verbose 2>&1 | FileCheck -check-prefix=VERBOSE %s ; RUN: llvm-readobj --file-headers %T/main.exe | FileCheck -check-prefix=HEADERS-11 %s -; RUN: llvm-objdump -d %T/main.exe | FileCheck -check-prefix=TEXT-11 %s +; RUN: llvm-objdump -d %T/main.exe | FileCheck --check-prefix=TEXT-11 %s ; RUN: lld-link /out:%T/main.exe /entry:main /subsystem:console %T/main.obj %T/foo.lto.obj ; RUN: llvm-readobj --file-headers %T/main.exe | FileCheck -check-prefix=HEADERS-01 %s -; RUN: llvm-objdump -d %T/main.exe | FileCheck -check-prefix=TEXT-01 %s +; RUN: llvm-objdump -d %T/main.exe | FileCheck --check-prefix=TEXT-01 %s ; RUN: lld-link /out:%T/main.exe /entry:main /subsystem:console %T/main.obj %T/foo.lto.lib ; RUN: llvm-readobj --file-headers %T/main.exe | FileCheck -check-prefix=HEADERS-01 %s -; RUN: llvm-objdump -d %T/main.exe | FileCheck -check-prefix=TEXT-01 %s +; RUN: llvm-objdump -d %T/main.exe | FileCheck --check-prefix=TEXT-01 %s ; RUN: lld-link /out:%T/main.exe /entry:main /subsystem:console %T/main.lto.obj %T/foo.obj ; RUN: llvm-readobj --file-headers %T/main.exe | FileCheck -check-prefix=HEADERS-10 %s -; RUN: llvm-objdump -d %T/main.exe | FileCheck -check-prefix=TEXT-10 %s +; RUN: llvm-objdump -d %T/main.exe | FileCheck --check-prefix=TEXT-10 %s ; RUN: lld-link /out:%T/main.exe /entry:main /subsystem:console %T/main.lto.obj %T/foo.lib ; RUN: llvm-readobj --file-headers %T/main.exe | FileCheck -check-prefix=HEADERS-10 %s -; RUN: llvm-objdump -d %T/main.exe | FileCheck -check-prefix=TEXT-10 %s +; RUN: llvm-objdump -d %T/main.exe | FileCheck --check-prefix=TEXT-10 %s ; VERBOSE: foo.lto.lib({{.*}}foo.lto.obj) ; HEADERS-11: AddressOfEntryPoint: 0x1000 ; TEXT-11: Disassembly of section .text: ; TEXT-11-EMPTY: -; TEXT-11-NEXT: .text: +; TEXT-11-NEXT: <.text>: ; TEXT-11-NEXT: xorl %eax, %eax ; TEXT-11-NEXT: retq ; TEXT-11-NEXT: int3 @@ -57,9 +57,9 @@ ; HEADERS-01: AddressOfEntryPoint: 0x1000 ; TEXT-01: Disassembly of section .text: ; TEXT-01-EMPTY: -; TEXT-01-NEXT: .text: +; TEXT-01-NEXT: <.text>: ; TEXT-01-NEXT: subq $40, %rsp -; TEXT-01-NEXT: callq 23 +; TEXT-01-NEXT: callq 0x140001020 ; TEXT-01-NEXT: xorl %eax, %eax ; TEXT-01-NEXT: addq $40, %rsp ; TEXT-01-NEXT: retq @@ -84,7 +84,7 @@ ; HEADERS-10: AddressOfEntryPoint: 0x1020 ; TEXT-10: Disassembly of section .text: ; TEXT-10-EMPTY: -; TEXT-10-NEXT: .text: +; TEXT-10-NEXT: <.text>: ; TEXT-10-NEXT: retq ; TEXT-10-NEXT: nop ; TEXT-10-NEXT: nop @@ -118,7 +118,7 @@ ; TEXT-10-NEXT: int3 ; TEXT-10-NEXT: int3 ; TEXT-10-NEXT: subq $40, %rsp -; TEXT-10-NEXT: callq -41 +; TEXT-10-NEXT: callq 0x140001000 ; TEXT-10-NEXT: xorl %eax, %eax ; TEXT-10-NEXT: addq $40, %rsp ; TEXT-10-NEXT: retq