[PATCH] D18490: [PGO] Comment how function pointers for indirect calls are mapped to function names
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 14 16:09:06 PDT 2021
MaskRay added subscribers: vsk, MaskRay.
MaskRay added a comment.
Herald added a subscriber: wenlei.
Herald added a project: LLVM.
Is
================
Comment at: llvm/trunk/include/llvm/ProfileData/InstrProfData.inc:78
+// function name hashes during the conversion from raw to merged profile data.
INSTR_PROF_DATA(const IntPtrT, llvm::Type::getInt8PtrTy(Ctx), FunctionPointer, \
FunctionAddr)
----------------
Is `FunctionPointer` still used by the runtime? @davidxl @vsk
I can only find one reference `__llvm_get_function_addr`, which is a public API.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D18490/new/
https://reviews.llvm.org/D18490
More information about the llvm-commits
mailing list