LLVM API Documentation
A completely disassembled object file or executable. It comprises a list of MCAtom's, each representing a contiguous range of either instructions or data. An MCModule is created using MCObjectDisassembler::buildModule. More...
#include <MCModule.h>
Public Member Functions | |
| ~MCModule () | |
Create a new MCAtom covering the specified offset range. | |
| MCTextAtom * | createTextAtom (uint64_t Begin, uint64_t End) |
| MCDataAtom * | createDataAtom (uint64_t Begin, uint64_t End) |
Create a new MCFunction. | |
| MCFunction * | createFunction (const StringRef &Name) |
Friends | |
| class | MCObjectDisassembler |
Atom tracking | |
| class | MCAtom |
Access to the owned atom list, ordered by begin address. | |
| typedef AtomListTy::const_iterator | const_atom_iterator |
| typedef AtomListTy::iterator | atom_iterator |
| const MCAtom * | findAtomContaining (uint64_t Addr) const |
| MCAtom * | findAtomContaining (uint64_t Addr) |
| const_atom_iterator | atom_begin () const |
| atom_iterator | atom_begin () |
| const_atom_iterator | atom_end () const |
| atom_iterator | atom_end () |
Access to the owned function list. | |
| typedef FunctionListTy::const_iterator | const_func_iterator |
| typedef FunctionListTy::iterator | func_iterator |
| const_func_iterator | func_begin () const |
| func_iterator | func_begin () |
| const_func_iterator | func_end () const |
| func_iterator | func_end () |
A completely disassembled object file or executable. It comprises a list of MCAtom's, each representing a contiguous range of either instructions or data. An MCModule is created using MCObjectDisassembler::buildModule.
Definition at line 35 of file MCModule.h.
| typedef AtomListTy:: iterator llvm::MCModule::atom_iterator |
Definition at line 84 of file MCModule.h.
| typedef AtomListTy::const_iterator llvm::MCModule::const_atom_iterator |
Definition at line 83 of file MCModule.h.
| typedef FunctionListTy::const_iterator llvm::MCModule::const_func_iterator |
Definition at line 96 of file MCModule.h.
| typedef FunctionListTy:: iterator llvm::MCModule::func_iterator |
Definition at line 97 of file MCModule.h.
| MCModule::~MCModule | ( | ) |
Definition at line 88 of file MCModule.cpp.
References atom_begin(), atom_end(), func_begin(), and func_end().
| const_atom_iterator llvm::MCModule::atom_begin | ( | ) | const [inline] |
Definition at line 85 of file MCModule.h.
Referenced by findAtomContaining(), and ~MCModule().
| atom_iterator llvm::MCModule::atom_begin | ( | ) | [inline] |
Definition at line 86 of file MCModule.h.
| const_atom_iterator llvm::MCModule::atom_end | ( | ) | const [inline] |
Definition at line 87 of file MCModule.h.
Referenced by findAtomContaining(), and ~MCModule().
| atom_iterator llvm::MCModule::atom_end | ( | ) | [inline] |
Definition at line 88 of file MCModule.h.
| MCDataAtom * MCModule::createDataAtom | ( | uint64_t | Begin, |
| uint64_t | End | ||
| ) |
Definition at line 42 of file MCModule.cpp.
Referenced by llvm::MCDataAtom::split().
| MCFunction * MCModule::createFunction | ( | const StringRef & | Name | ) |
Definition at line 83 of file MCModule.cpp.
| MCTextAtom * MCModule::createTextAtom | ( | uint64_t | Begin, |
| uint64_t | End | ||
| ) |
Definition at line 36 of file MCModule.cpp.
Referenced by llvm::MCTextAtom::split().
| const MCAtom * MCModule::findAtomContaining | ( | uint64_t | Addr | ) | const |
Definition at line 67 of file MCModule.cpp.
References atom_begin(), atom_end(), and AtomComp().
| MCAtom * MCModule::findAtomContaining | ( | uint64_t | Addr | ) |
Definition at line 75 of file MCModule.cpp.
References atom_begin(), atom_end(), and AtomComp().
| const_func_iterator llvm::MCModule::func_begin | ( | ) | const [inline] |
Definition at line 98 of file MCModule.h.
Referenced by ~MCModule().
| func_iterator llvm::MCModule::func_begin | ( | ) | [inline] |
Definition at line 99 of file MCModule.h.
| const_func_iterator llvm::MCModule::func_end | ( | ) | const [inline] |
Definition at line 100 of file MCModule.h.
Referenced by ~MCModule().
| func_iterator llvm::MCModule::func_end | ( | ) | [inline] |
Definition at line 101 of file MCModule.h.
friend class MCAtom [friend] |
Definition at line 45 of file MCModule.h.
friend class MCObjectDisassembler [friend] |
Definition at line 66 of file MCModule.h.