|
1 |
| -// REQUIRES: lld-available |
| 1 | +// REQUIRES: lld, lld-available |
2 | 2 |
|
3 | 3 | // Building the instrumented binary will fail because lld doesn't support
|
4 | 4 | // big-endian ELF for PPC (aka ABI 1).
|
|
142 | 142 | // RUN: | FileCheck %s --check-prefixes=REMARK,IR --implicit-check-not="!VP"
|
143 | 143 |
|
144 | 144 | // For the indirect call site `ptr->func`
|
145 |
| -// REMARK: instrprof-vtable-value-prof.cpp:214:19: Promote indirect call to _ZN12_GLOBAL__N_18Derived24funcEii with count 150 out of 200, sink 1 instruction(s) and compare 1 vtable(s): {_ZTVN12_GLOBAL__N_18Derived2E} |
146 |
| -// REMARK: instrprof-vtable-value-prof.cpp:214:19: Promote indirect call to _ZN8Derived14funcEii with count 50 out of 50, sink 1 instruction(s) and compare 1 vtable(s): {_ZTV8Derived1} |
| 145 | +// REMARK: instrprof-vtable-value-prof.cpp:221:19: Promote indirect call to _ZN12_GLOBAL__N_18Derived24funcEii with count 150 out of 200, sink 1 instruction(s) and compare 1 vtable(s): {_ZTVN12_GLOBAL__N_18Derived2E} |
| 146 | +// REMARK: instrprof-vtable-value-prof.cpp:221:19: Promote indirect call to _ZN8Derived14funcEii with count 50 out of 50, sink 1 instruction(s) and compare 1 vtable(s): {_ZTV8Derived1} |
147 | 147 | //
|
148 | 148 | // For the indirect call site `delete ptr`
|
149 |
| -// REMARK: instrprof-vtable-value-prof.cpp:216:5: Promote indirect call to _ZN12_GLOBAL__N_18Derived2D0Ev with count 750 out of 1000, sink 2 instruction(s) and compare 1 vtable(s): {_ZTVN12_GLOBAL__N_18Derived2E} |
150 |
| -// REMARK: instrprof-vtable-value-prof.cpp:216:5: Promote indirect call to _ZN8Derived1D0Ev with count 250 out of 250, sink 2 instruction(s) and compare 1 vtable(s): {_ZTV8Derived1} |
| 149 | +// REMARK: instrprof-vtable-value-prof.cpp:223:5: Promote indirect call to _ZN12_GLOBAL__N_18Derived2D0Ev with count 750 out of 1000, sink 2 instruction(s) and compare 1 vtable(s): {_ZTVN12_GLOBAL__N_18Derived2E} |
| 150 | +// REMARK: instrprof-vtable-value-prof.cpp:223:5: Promote indirect call to _ZN8Derived1D0Ev with count 250 out of 250, sink 2 instruction(s) and compare 1 vtable(s): {_ZTV8Derived1} |
151 | 151 |
|
152 | 152 | // The IR matchers for indirect callsite `ptr->func`.
|
153 | 153 | // IR-LABEL: @main
|
|
0 commit comments