[ThinLTO] Don't rely on debug output for thinlto_samplepgo_icp3 test
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 25 Mar 2020 17:53:26 +0000 (13:53 -0400)
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>
Wed, 25 Mar 2020 18:38:20 +0000 (14:38 -0400)
commit934d4feab1f58ede295a3232ac47f3c01c9fc506
tree3664f2d9ebf7ba6bb60f5187fbca24183baf375b
parent13d267e302e3ecfe2bedddafe26a11626c9bf408
[ThinLTO] Don't rely on debug output for thinlto_samplepgo_icp3 test

Because using -print-imports is not thread-safe, make the test rely on llvm-dis instead.
Also cover the ICALL-PROM part as intended originally.

Differential Revision: https://reviews.llvm.org/D76775
llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll