[BOLT][NFC] Refactor EFMM initialization
authorMaksim Panchenko <maks@fb.com>
Thu, 22 Sep 2022 20:08:05 +0000 (13:08 -0700)
committerMaksim Panchenko <maks@fb.com>
Wed, 19 Oct 2022 03:31:10 +0000 (20:31 -0700)
commit28d70d3f1e2ad2497c90ce024548f7f211feb72f
tree47062f8b79c2ea112c5983536bbe71f08badd414
parente3df4ba9d277457be944ffa8c711cb45a9b3e240
[BOLT][NFC] Refactor EFMM initialization

Move EFMM initialization code to emitAndLink(), where EFMM is used.

Reviewed By: yavtuk

Differential Revision: https://reviews.llvm.org/D136205
bolt/lib/Rewrite/RewriteInstance.cpp