[#llvm-DWARFUnitVector-getUnitForIndexEntry] = xref:llvm.adoc[llvm]::xref:llvm/DWARFUnitVector.adoc[DWARFUnitVector]::getUnitForIndexEntry :relfileprefix: ../../ :mrdocs: Return the unit for package‐file index entry `E.` == Synopsis Declared in `<llvm/DebugInfo/DWARF/DWARFUnit.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:llvm/DWARFUnit.adoc[DWARFUnit]* getUnitForIndexEntry( xref:llvm/DWARFUnitIndex/Entry.adoc[DWARFUnitIndex::Entry] const& E, xref:llvm/DWARFSectionKind.adoc[DWARFSectionKind] Sec, xref:llvm/DWARFSection.adoc[DWARFSection] const* Section = nullptr); ---- == Return Value The unit for index entry `E.` == Parameters [cols="1,4"] |=== | Name| Description | *E* | Package‐file index entry identifying the unit. | *Sec* | Section kind for the unit (.debug_info or .debug_types). | *Section* | Optional section containing the unit data. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#