[lld][ELF][NFC] Simplify method "Thunk *elf::addThunk()"
commitf1f6ca582e2295465e27a79662d6807342abd9dd
authorBen Shi <powerman1st@163.com>
Thu, 30 Mar 2023 03:34:19 +0000 (30 11:34 +0800)
committerBen Shi <powerman1st@163.com>
Thu, 30 Mar 2023 03:35:07 +0000 (30 11:35 +0800)
tree22534ac22ae102208af513f0de493357547d18f6
parent1f5e9a3502119f93cfc3a7cf67f43300f759997e
[lld][ELF][NFC] Simplify method "Thunk *elf::addThunk()"

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D147124
lld/ELF/Thunks.cpp