Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
lld/ELF/DWARF.h
Show All 26 Lines | |||||
public: | public: | ||||
explicit LLDDwarfObj(ObjFile<ELFT> *obj); | explicit LLDDwarfObj(ObjFile<ELFT> *obj); | ||||
void forEachInfoSections( | void forEachInfoSections( | ||||
llvm::function_ref<void(const llvm::DWARFSection &)> f) const override { | llvm::function_ref<void(const llvm::DWARFSection &)> f) const override { | ||||
f(infoSection); | f(infoSection); | ||||
} | } | ||||
InputSection *getInfoSection() const { | |||||
return cast<InputSection>(infoSection.sec); | |||||
} | |||||
const llvm::DWARFSection &getLoclistsSection() const override { | const llvm::DWARFSection &getLoclistsSection() const override { | ||||
return loclistsSection; | return loclistsSection; | ||||
} | } | ||||
const llvm::DWARFSection &getRangesSection() const override { | const llvm::DWARFSection &getRangesSection() const override { | ||||
return rangesSection; | return rangesSection; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |