How could I add the metadata for inline function name and indirect call function name at the code emitting phase?

Hi All:
Now I need to record the function name for inline function and indirect call (iCall) functions. I would like to know that some instructions are the implementation of the inline/iCall. I think I need to modify it in the clang front-end, is it correct? If so, could anyone advise me about some tutorial or related data structures in clang? I appreciate any help here.