|
22 | 22 | ; import the declaration or de-serialize summary attributes yet) so there is
|
23 | 23 | ; nothing to test more than the summary content.
|
24 | 24 | ;
|
25 |
| -; TODO: Extend this test case to test IR once postlink optimizer makes use of |
26 |
| -; the import type for declarations. |
27 |
| -; |
28 | 25 | ; RUN: llvm-lto2 run \
|
29 | 26 | ; RUN: -debug-only=function-import \
|
30 | 27 | ; RUN: -import-instr-limit=7 \
|
|
54 | 51 | ;
|
55 | 52 | ; Secondly disassemble main's combined summary and test that large callees are
|
56 | 53 | ; not imported as declarations yet.
|
57 |
| -; TODO: Serialize declaration bit and test declaration bits are correctly set. |
58 | 54 | ;
|
59 | 55 | ; RUN: llvm-dis main.bc.thinlto.bc -o - | FileCheck %s --check-prefix=MAIN-DIS
|
60 | 56 | ;
|
|
83 | 79 | ; RUN: -r=lib.bc,large_indirect_callee_alias,px \
|
84 | 80 | ; RUN: -r=lib.bc,calleeAddrs,px -o in-process main.bc lib.bc 2>&1 | FileCheck %s --check-prefix=IMPORTDUMP
|
85 | 81 |
|
86 |
| -; IMPORTDUMP: Not importing function 11825436545918268459 callee from lib.cc |
87 |
| -; IMPORTDUMP: Is importing function declaration 14343440786664691134 large_indirect_callee from lib.cc |
88 |
| -; IMPORTDUMP: Is importing function definition 13568239288960714650 small_indirect_callee from lib.cc |
89 |
| -; IMPORTDUMP: Is importing function definition 6976996067367342685 small_func from lib.cc |
90 |
| -; IMPORTDUMP: Is importing function declaration 2418497564662708935 large_func from lib.cc |
91 |
| -; IMPORTDUMP: Not importing global 7680325410415171624 calleeAddrs from lib.cc |
92 |
| -; IMPORTDUMP: Is importing alias declaration 16730173943625350469 large_indirect_callee_alias from lib.cc |
| 82 | +; Test import status from debugging logs. |
| 83 | +; TODO: Serialize declaration bit and test declaration bits are correctly set, |
| 84 | +; and extend this test case to test IR once postlink optimizer makes use of |
| 85 | +; the import type for declarations. |
| 86 | +; IMPORTDUMP-DAG: Not importing function 11825436545918268459 callee from lib.cc |
| 87 | +; IMPORTDUMP-DAG: Is importing function declaration 14343440786664691134 large_indirect_callee from lib.cc |
| 88 | +; IMPORTDUMP-DAG: Is importing function definition 13568239288960714650 small_indirect_callee from lib.cc |
| 89 | +; IMPORTDUMP-DAG: Is importing function definition 6976996067367342685 small_func from lib.cc |
| 90 | +; IMPORTDUMP-DAG: Is importing function declaration 2418497564662708935 large_func from lib.cc |
| 91 | +; IMPORTDUMP-DAG: Not importing global 7680325410415171624 calleeAddrs from lib.cc |
| 92 | +; IMPORTDUMP-DAG: Is importing alias declaration 16730173943625350469 large_indirect_callee_alias from lib.cc |
93 | 93 |
|
94 | 94 | ; RUN: llvm-dis in-process.1.3.import.bc -o - | FileCheck %s --check-prefix=IMPORT
|
95 | 95 |
|
|
0 commit comments