llvm::objcarc::getAttachedARCFunction

This function returns operand bundle clang_arc_attachedcall's argument, which is the address of the ARC runtime function.

Synopsis

Declared in <llvm/Analysis/ObjCARCUtil.h>

std::optional<Function*>
getAttachedARCFunction(CallBase const* CB);

Return Value

Class template for optional values.

Parameters

NameDescription
CBBase class for all callable instructions (InvokeInst and CallInst) Holds everything related to calling a function.