[llvm] [CodeGen][ARM64EC] Add support for hybrid_patchable attribute. (PR #92965)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 10 17:26:53 PDT 2024
================
@@ -57,15 +59,21 @@ class AArch64Arm64ECCallLowering : public ModulePass {
Function *buildEntryThunk(Function *F);
void lowerCall(CallBase *CB);
Function *buildGuestExitThunk(Function *F);
- bool processFunction(Function &F, SetVector<Function *> &DirectCalledFns);
+ Function *buildPatchableThunk(GlobalAlias *UnmangledAlias,
+ GlobalAlias *MangledAlias);
+ bool processFunction(Function &F, SetVector<GlobalValue *> &DirectCalledFns,
+ std::map<GlobalAlias *, GlobalAlias *> &FnsMap);
----------------
efriedma-quic wrote:
Can you use DenseMap here?
https://github.com/llvm/llvm-project/pull/92965
More information about the llvm-commits
mailing list