Find line information for an exact instruction address.

Synopsis

Declared in <llvm/DebugInfo/BTF/BTFParser.h>

BTF::BPFLineInfo const*
findLineInfo(object::SectionedAddress Address) const;

Description

Address match is exact (contrary to DWARFContext). If information is present, the returned pointer refers to an object owned by this class.

Return Value

A pointer to the line info, or nullptr if none was found.

Parameters

Name

Description

Address

Section and instruction offset to look up.

Created with MrDocs