llvm::DWARFUnit::getInlinedChainForAddress

Fetch the inlined call chain for a given address.

Synopsis

Declared in <llvm/DebugInfo/DWARF/DWARFUnit.h>

void
getInlinedChainForAddress(
    uint64_t Address,
    SmallVectorImpl<DWARFDie>& InlinedChain);

Description

Returns an empty chain if there is no subprogram containing address. The chain is valid as long as parsed compile unit DIEs are not cleared.

Parameters

NameDescription
AddressProgram-counter address to look up.
InlinedChainReceives the inlined DIE chain for Address.