class ArchInfo

Defined at line 27 of file ../../src/developer/debug/zxdb/client/arch_info.h

Public Methods

void ArchInfo ()

Defined at line 30 of file ../../src/developer/debug/zxdb/client/arch_info.cc

debug::Arch arch ()

Defined at line 34 of file ../../src/developer/debug/zxdb/client/arch_info.h

uint64_t page_size ()

Defined at line 35 of file ../../src/developer/debug/zxdb/client/arch_info.h

const std::shared_ptr<Abi> & abi ()

Defined at line 37 of file ../../src/developer/debug/zxdb/client/arch_info.h

bool is_fixed_instr ()

Returns true of the instruction length is fixed.

Defined at line 40 of file ../../src/developer/debug/zxdb/client/arch_info.h

void ~ArchInfo ()

Defined at line 43 of file ../../src/developer/debug/zxdb/client/arch_info.cc

size_t instr_align ()

Minimum instruction alignment. Prefer instead of llvm::AsmInfo::MinInstAlignment which isn't

correct for ARM (reports 1).

Defined at line 44 of file ../../src/developer/debug/zxdb/client/arch_info.h

Err Init (debug::Arch arch, uint64_t page_size)

Defined at line 45 of file ../../src/developer/debug/zxdb/client/arch_info.cc

size_t max_instr_len ()

Longest possible instruction in bytes. Prefer instead of llvm::AsmInfo::MaxInstLength which

isn't correct for x86 (reports 1).

Defined at line 48 of file ../../src/developer/debug/zxdb/client/arch_info.h

const std::string & triple_name ()

In LLVM a configuration name is called a "triple" even though it contains more than 3 fields.

The triple() will be null for unknown architectures.

Defined at line 52 of file ../../src/developer/debug/zxdb/client/arch_info.h

const llvm::Triple * triple ()

Defined at line 53 of file ../../src/developer/debug/zxdb/client/arch_info.h

const std::string & processor_name ()

Defined at line 55 of file ../../src/developer/debug/zxdb/client/arch_info.h

const llvm::Target * target ()

Thee returned pointers will be null for unknown architectures.

Defined at line 58 of file ../../src/developer/debug/zxdb/client/arch_info.h

const llvm::MCInstrInfo * instr_info ()

Defined at line 59 of file ../../src/developer/debug/zxdb/client/arch_info.h

const llvm::MCRegisterInfo * register_info ()

Defined at line 60 of file ../../src/developer/debug/zxdb/client/arch_info.h

const llvm::MCSubtargetInfo * subtarget_info ()

Defined at line 61 of file ../../src/developer/debug/zxdb/client/arch_info.h

const llvm::MCAsmInfo * asm_info ()

Defined at line 62 of file ../../src/developer/debug/zxdb/client/arch_info.h