|
10 | 10 | ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
|
11 | 11 | ; RUN: --shared \
|
12 | 12 | ; RUN: --plugin-opt=save-temps %t.o -o %t-out
|
13 |
| -; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=PIC |
| 13 | +; RUN: llvm-readobj -r %t-out.lto.o | FileCheck %s --check-prefix=PIC |
14 | 14 |
|
15 | 15 | ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
|
16 | 16 | ; RUN: --export-dynamic --noinhibit-exec -pie \
|
17 | 17 | ; RUN: --plugin-opt=save-temps %t.o -o %t-out
|
18 |
| -; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=PIC |
| 18 | +; RUN: llvm-readobj -r %t-out.lto.o | FileCheck %s --check-prefix=PIC |
19 | 19 |
|
20 | 20 | ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
|
21 | 21 | ; RUN: --export-dynamic --noinhibit-exec \
|
22 | 22 | ; RUN: --plugin-opt=save-temps %t.o -o %t-out
|
23 |
| -; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=STATIC |
| 23 | +; RUN: llvm-readobj -r %t-out.lto.o | FileCheck %s --check-prefix=STATIC |
24 | 24 |
|
25 | 25 | ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
|
26 | 26 | ; RUN: -r \
|
27 | 27 | ; RUN: --plugin-opt=save-temps %t.o -o %t-out
|
28 |
| -; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=STATIC |
| 28 | +; RUN: llvm-readobj -r %t-out.lto.o | FileCheck %s --check-prefix=STATIC |
29 | 29 |
|
30 | 30 | ;; PIC source.
|
31 | 31 |
|
32 | 32 | ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
|
33 | 33 | ; RUN: --shared \
|
34 | 34 | ; RUN: --plugin-opt=save-temps %t.pic.o -o %t-out
|
35 |
| -; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=PIC |
| 35 | +; RUN: llvm-readobj -r %t-out.lto.o | FileCheck %s --check-prefix=PIC |
36 | 36 |
|
37 | 37 | ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
|
38 | 38 | ; RUN: --export-dynamic --noinhibit-exec -pie \
|
39 | 39 | ; RUN: --plugin-opt=save-temps %t.pic.o -o %t-out
|
40 |
| -; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=PIC |
| 40 | +; RUN: llvm-readobj -r %t-out.lto.o | FileCheck %s --check-prefix=PIC |
41 | 41 |
|
42 | 42 | ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
|
43 | 43 | ; RUN: --export-dynamic --noinhibit-exec \
|
44 | 44 | ; RUN: --plugin-opt=save-temps %t.pic.o -o %t-out
|
45 |
| -; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=STATIC |
| 45 | +; RUN: llvm-readobj -r %t-out.lto.o | FileCheck %s --check-prefix=STATIC |
46 | 46 |
|
47 | 47 | ; RUN: %gold -m elf_x86_64 -plugin %llvmshlibdir/LLVMgold%shlibext \
|
48 | 48 | ; RUN: -r \
|
49 | 49 | ; RUN: --plugin-opt=save-temps %t.pic.o -o %t-out
|
50 |
| -; RUN: llvm-readobj -r %t-out.o | FileCheck %s --check-prefix=PIC |
| 50 | +; RUN: llvm-readobj -r %t-out.lto.o | FileCheck %s --check-prefix=PIC |
51 | 51 |
|
52 | 52 |
|
53 | 53 | ; PIC: R_X86_64_GOTPCREL foo
|
|
0 commit comments