HomePhabricator

[NFC] Refactor ThunkInserter to make it available for all targets.

Authored by kristof.beyls on Jun 11 2020, 12:31 AM.

Description

[NFC] Refactor ThunkInserter to make it available for all targets.

By moving target-independent code from
llvm/lib/Target/X86/X86IndirectThunks.cpp
to
llvm/include/llvm/CodeGen/IndirectThunks.h

Differential Revision: https://reviews.llvm.org/D81401