Skip to content
Commit 9fee2ac0 authored by zhoujiapeng's avatar zhoujiapeng Committed by hezuoqiang
Browse files

[BOLT][NFC] Split createRelocation in X86 and share the second part

This commit splits the createRelocation function for the X86 architecture
into two parts, retaining the first half and moving the second half to a
new function called extractFixupExpr. The purpose of this change is to make
extractFixupExpr a shared function between AArch64 and X86 architectures,
increasing code reusability and maintainability.

Child revision: https://reviews.llvm.org/D156018

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D157217
parent a4dbdf47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment