Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
Show First 20 Lines • Show All 2,360 Lines • ▼ Show 20 Lines | template <class ELFT> void ELFDumper<ELFT>::printStackMap() const { | ||||
if (!StackMapSection) | if (!StackMapSection) | ||||
return; | return; | ||||
StringRef StackMapContents; | StringRef StackMapContents; | ||||
ArrayRef<uint8_t> StackMapContentsArray = | ArrayRef<uint8_t> StackMapContentsArray = | ||||
unwrapOrError(Obj->getSectionContents(StackMapSection)); | unwrapOrError(Obj->getSectionContents(StackMapSection)); | ||||
prettyPrintStackMap(llvm::outs(), StackMapV1Parser<ELFT::TargetEndianness>( | prettyPrintStackMap(llvm::outs(), StackMapV2Parser<ELFT::TargetEndianness>( | ||||
StackMapContentsArray)); | StackMapContentsArray)); | ||||
} | } | ||||
template <class ELFT> void ELFDumper<ELFT>::printGroupSections() { | template <class ELFT> void ELFDumper<ELFT>::printGroupSections() { | ||||
ELFDumperStyle->printGroupSections(Obj); | ELFDumperStyle->printGroupSections(Obj); | ||||
} | } | ||||
static inline void printFields(formatted_raw_ostream &OS, StringRef Str1, | static inline void printFields(formatted_raw_ostream &OS, StringRef Str1, | ||||
▲ Show 20 Lines • Show All 1,295 Lines • Show Last 20 Lines |