RegisterMCDisassembler - Register a MCDisassembler implementation for the given target.
Declared in <llvm/MC/TargetRegistry.h>
static
void
RegisterMCDisassembler(
Target& T,
Target::MCDisassemblerCtorTy Fn);
Clients are responsible for ensuring that registration doesn't occur while another thread is attempting to access the registry. Typically this is done by initializing all targets at program startup.
| Name | Description |
|---|---|
| T | - The target being registered. |
| Fn | - A function to construct an MCDisassembler for the target. |