|
1 | | -; REQUIRES: x86, shell |
| 1 | +; REQUIRES: x86 |
2 | 2 |
|
3 | 3 | ;; Keep __profd_foo in a nodeduplicate comdat, despite a comdat of the same name |
4 | 4 | ;; in a previous object file. |
|
36 | 36 |
|
37 | 37 | ; RUN: ld.lld --thinlto-index-only --save-temps -u foo %t/a.bc %t/b.bc -o %t/ab |
38 | 38 | ; RUN: FileCheck %s --check-prefix=RESOL_AB < %t/ab.resolution.txt |
39 | | -; RUN: (llvm-dis < %t/b.bc && llvm-dis < %t/b.bc.thinlto.bc) | FileCheck %s --check-prefix=IR_AB |
| 39 | +; RUN: llvm-dis < %t/b.bc > %t.out |
| 40 | +; RUN: llvm-dis < %t/b.bc.thinlto.bc >> %t.out |
| 41 | +; RUN: FileCheck %s --check-prefix=IR_AB --input-file %t.out |
40 | 42 | ; RUN: ld.lld -u foo %t/a.bc %t/b.bc -o %t/ab |
41 | 43 | ; RUN: llvm-readelf -x .data %t/ab | FileCheck %s --check-prefix=DATA |
42 | 44 |
|
43 | 45 | ; RUN: ld.lld --thinlto-index-only --save-temps -u foo %t/a.bc --start-lib %t/b.bc --end-lib -o %t/ab |
44 | 46 | ; RUN: FileCheck %s --check-prefix=RESOL_AB < %t/ab.resolution.txt |
45 | | -; RUN: (llvm-dis < %t/b.bc && llvm-dis < %t/b.bc.thinlto.bc) | FileCheck %s --check-prefix=IR_AB |
| 47 | +; RUN: llvm-dis < %t/b.bc > %t.out |
| 48 | +; RUN: llvm-dis < %t/b.bc.thinlto.bc >> %t.out |
| 49 | +; RUN: FileCheck %s --check-prefix=IR_AB --input-file %t.out |
46 | 50 | ; RUN: ld.lld -u foo %t/a.bc --start-lib %t/b.bc --end-lib -o %t/ab |
47 | 51 | ; RUN: llvm-readelf -x .data %t/ab | FileCheck %s --check-prefix=DATA |
48 | 52 |
|
49 | 53 | ; RUN: ld.lld --thinlto-index-only --save-temps -u foo -u c %t/a.bc --start-lib %t/b.bc %t/c.bc --end-lib -o %t/abc |
50 | 54 | ; RUN: FileCheck %s --check-prefix=RESOL_ABC < %t/abc.resolution.txt |
51 | | -; RUN: (llvm-dis < %t/b.bc && llvm-dis < %t/b.bc.thinlto.bc) | FileCheck %s --check-prefix=IR_ABC |
| 55 | +; RUN: llvm-dis < %t/b.bc > %t.out |
| 56 | +; RUN: llvm-dis < %t/b.bc.thinlto.bc >> %t.out |
| 57 | +; RUN: FileCheck %s --check-prefix=IR_ABC --input-file %t.out |
52 | 58 | ; RUN: ld.lld -u foo %t/a.bc --start-lib %t/b.bc %t/c.bc --end-lib -o %t/abc |
53 | 59 | ; RUN: llvm-readelf -x .data %t/abc | FileCheck %s --check-prefix=DATA |
54 | 60 |
|
|
0 commit comments