CodeobjDecoderComponent Class Reference#
Rocprofiler SDK Developer API 0.4.0
ROCm Profiling API and tools
|
#include "rocprofiler-sdk/amd_detail/rocprofiler-sdk-codeobj/code_printing.hpp"
Public Member Functions | |
CodeobjDecoderComponent (const char *codeobj_data, uint64_t codeobj_size) | |
~CodeobjDecoderComponent () | |
std::optional< uint64_t > | va2fo (uint64_t vaddr) |
std::unique_ptr< Instruction > | disassemble_instruction (uint64_t faddr, uint64_t vaddr) |
Data Fields | |
std::map< uint64_t, SymbolInfo > | m_symbol_map {} |
std::vector< std::shared_ptr< Instruction > > | instructions {} |
std::unique_ptr< DisassemblyInstance > | disassembly {} |
std::map< segment::address_range_t, std::string > | m_line_number_map {} |
Detailed Description
Definition at line 65 of file code_printing.hpp.
Constructor & Destructor Documentation
◆ CodeobjDecoderComponent()
|
inline |
Definition at line 85 of file code_printing.hpp.
References disassembly, m_line_number_map, and m_symbol_map.
◆ ~CodeobjDecoderComponent()
|
inline |
Definition at line 163 of file code_printing.hpp.
Member Function Documentation
◆ disassemble_instruction()
|
inline |
Definition at line 171 of file code_printing.hpp.
References disassembly, and m_line_number_map.
◆ va2fo()
|
inline |
Definition at line 165 of file code_printing.hpp.
References disassembly.
Field Documentation
◆ disassembly
std::unique_ptr<DisassemblyInstance> rocprofiler::codeobj::disassembly::CodeobjDecoderComponent::disassembly {} |
Definition at line 188 of file code_printing.hpp.
Referenced by CodeobjDecoderComponent(), disassemble_instruction(), and va2fo().
◆ instructions
std::vector<std::shared_ptr<Instruction> > rocprofiler::codeobj::disassembly::CodeobjDecoderComponent::instructions {} |
Definition at line 187 of file code_printing.hpp.
◆ m_line_number_map
std::map<segment::address_range_t, std::string> rocprofiler::codeobj::disassembly::CodeobjDecoderComponent::m_line_number_map {} |
Definition at line 190 of file code_printing.hpp.
Referenced by CodeobjDecoderComponent(), and disassemble_instruction().
◆ m_symbol_map
std::map<uint64_t, SymbolInfo> rocprofiler::codeobj::disassembly::CodeobjDecoderComponent::m_symbol_map {} |
The documentation for this class was generated from the following file:
- rocprofiler-sdk/amd_detail/rocprofiler-sdk-codeobj/code_printing.hpp
Generated by 1.9.8