mirror of
https://github.com/RPCS3/llvm.git
synced 2026-01-31 01:25:19 +01:00
Summary: In the compile phase of SamplePGO+ThinLTO, ICP is not invoked. Instead, indirect call targets will be included as function metadata for ThinIndex to buidl the call graph. This should not only include functions defined in other modules, but also functions defined in the same module, otherwise ThinIndex may find the callee dead and eliminate it, while ICP in backend will revive the symbol, which leads to undefined symbol. Reviewers: tejohnson Reviewed By: tejohnson Subscribers: sanjoy, llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D39480 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317118 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
169 B
Plaintext
12 lines
169 B
Plaintext
test:10000:0
|
|
3: foo:1000
|
|
3: bar:200
|
|
4: baz:10
|
|
4: foo1:1000
|
|
1: 1000
|
|
4: foo2:1000
|
|
1: 1000 foo3:1000
|
|
test_liveness:10000:0
|
|
1: foo:1000
|
|
1: foo_available:1000
|