Summary: Checking CS.getCalledFunction() == nullptr does not necessary indicate indirect call. We also need to check if CS.getCalledValue() is not a constant. Reviewers: davidxl Reviewed By: davidxl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D29570 llvm-svn: 294260
12 lines
199 B
Plaintext
12 lines
199 B
Plaintext
test:63067:0
|
|
4: 3345 _Z3barv:1398 _Z3foov:2059
|
|
test_inline:3000:0
|
|
5: foo_inline:3000
|
|
1: 3000
|
|
test_noinline:3000:0
|
|
5: foo_noinline:3000
|
|
1: 3000
|
|
test_direct:3000:0
|
|
5: foo_direct:3000
|
|
1: 3000
|