aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/DeclarationFragments.cpp
diff options
context:
space:
mode:
authorzhoujiapeng <zjpzhoujiapeng@163.com>2023-08-23 00:21:05 +0800
committerhezuoqiang <hezuoqiang2@huawei.com>2023-08-23 00:29:25 +0800
commit9fee2ac044f9a235cec44c0d3ae1ad8d50e41047 (patch)
tree305be7bcf272b53f1efa9275ab007e73bd874593 /clang/lib/ExtractAPI/DeclarationFragments.cpp
parenta4dbdf4749938396dbf913478289fa426d8341ae (diff)
downloadllvm-9fee2ac044f9a235cec44c0d3ae1ad8d50e41047.zip
llvm-9fee2ac044f9a235cec44c0d3ae1ad8d50e41047.tar.gz
llvm-9fee2ac044f9a235cec44c0d3ae1ad8d50e41047.tar.bz2
[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
Diffstat (limited to 'clang/lib/ExtractAPI/DeclarationFragments.cpp')
0 files changed, 0 insertions, 0 deletions